diff --git a/src/OnePeek.Entities/AppImage.cs b/src/OnePeek.Entities/AppImage.cs index 30ecf7d..c09e75f 100644 --- a/src/OnePeek.Entities/AppImage.cs +++ b/src/OnePeek.Entities/AppImage.cs @@ -4,13 +4,26 @@ using System.Linq; namespace OnePeek.Entities { + /// + /// An image contains the ID which is necessary to get an appropriate URL for the image or the stream + /// see OnePeek.Api.Extensions + /// public partial class AppImage { + /// + /// ID. + /// public string Id { get { return !String.IsNullOrWhiteSpace(Urn) ? Urn.Split(':').LastOrDefault() : null; } } + /// + /// URN + /// [XmlElement("id")] public string Urn { get; set; } + /// + /// Rotation angle (is 0, 90, 180 or 270) + /// public short Rotation { get; set; } } }