From f52dbd3eb60af09567ab132208123a1d8473560a Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Wed, 8 Apr 2015 23:50:49 +0200 Subject: [PATCH] docs for AppMetadata --- src/OnePeek.Entities/AppMetadata.cs | 65 ++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/src/OnePeek.Entities/AppMetadata.cs b/src/OnePeek.Entities/AppMetadata.cs index e7612e7..e64d98f 100644 --- a/src/OnePeek.Entities/AppMetadata.cs +++ b/src/OnePeek.Entities/AppMetadata.cs @@ -1,5 +1,4 @@ using System; -using System.Collections; using System.Collections.Generic; using System.Xml.Serialization; @@ -8,63 +7,127 @@ namespace OnePeek.Entities [XmlRoot("feed")] public partial class AppMetadata { + /// + /// The ID of the app. + /// public string Id { get; set; } + /// + /// The type of the store (WP or Windows 8/10) + /// public StoreType StoreType { get; set; } + /// + /// The culture is relevant for the metadata results, + /// as they are unique per country + /// public StoreCultureType StoreCultureType { get; set; } + /// + /// Last modified date of the resource (by Microsoft). + /// [XmlElement("updated")] public DateTime? StoreDataModifiedDate { get; set; } + /// + /// Public name of the app. + /// [XmlElement("title")] public string Name { get; set; } + /// + /// URN of the app. + /// [XmlElement("id")] public string Urn { get; set; } + /// + /// When the app was first released to public. + /// [XmlElement("releaseDate")] public DateTime ReleaseDate { get; set; } + /// + /// Description summary (seems like it can contain HTML). + /// [XmlElement("content")] public string Text { get; set; } + /// + /// Text describing the last update. + /// [XmlElement("whatsNew")] public string UpdateText { get; set; } + /// + /// Count of all In-App purchases. + /// [XmlElement("iapCount")] public int IAPCount { get; set; } + /// + /// Defines if the app is visible in the store. + /// [XmlElement("visibilityStatus")] public AppVisibilityStatus VisibilityStatus { get; set; } + /// + /// URL of the pricacy policy, can be null. + /// [XmlElement("privacyPolicyUrl")] public string PrivacyPolicyUri { get; set; } + /// + /// Whether the app is a Universal app (both for WP + Windows). + /// [XmlElement("isUniversal")] public bool IsUniversal { get; set; } + /// + /// Contains all images (background, logo, screenshots). + /// public AppMetadataImages Images { get; set; } + /// + /// Information about the publisher + /// public AppPublisher Publisher { get; set; } + /// + /// Rating information of the app in the current culture. + /// public AppRating Rating { get; set; } } [XmlRoot("feed")] public partial class AppMetadataImages { + /// + /// Primary Logo. + /// [XmlElement("image")] public AppImage Logo { get; set; } + /// + /// All screenshots of the app (culture variant). + /// public IEnumerable Screenshots { get; set; } + /// + /// The logo in square format. + /// [XmlElement("squareImage")] public AppImage LogoSquare { get; set; } + /// + /// The logo in wide format (as used in the wide tile). + /// [XmlElement("doubleWideImage")] public AppImage LogoWide { get; set; } + /// + /// Background image (can be null) is used in the store details page. + /// [XmlElement("backgroundImage")] public AppImage Background { get; set; }