docs for AppImage
This commit is contained in:
@@ -4,13 +4,26 @@ using System.Linq;
|
|||||||
|
|
||||||
namespace OnePeek.Entities
|
namespace OnePeek.Entities
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// An image contains the ID which is necessary to get an appropriate URL for the image or the stream
|
||||||
|
/// see OnePeek.Api.Extensions
|
||||||
|
/// </summary>
|
||||||
public partial class AppImage
|
public partial class AppImage
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// ID.
|
||||||
|
/// </summary>
|
||||||
public string Id { get { return !String.IsNullOrWhiteSpace(Urn) ? Urn.Split(':').LastOrDefault() : null; } }
|
public string Id { get { return !String.IsNullOrWhiteSpace(Urn) ? Urn.Split(':').LastOrDefault() : null; } }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// URN
|
||||||
|
/// </summary>
|
||||||
[XmlElement("id")]
|
[XmlElement("id")]
|
||||||
public string Urn { get; set; }
|
public string Urn { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Rotation angle (is 0, 90, 180 or 270)
|
||||||
|
/// </summary>
|
||||||
public short Rotation { get; set; }
|
public short Rotation { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user