using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace PocketSharp.Models { /// /// Item Response /// [DataContract] class Retrieve : ResponseBase { /// /// Gets or sets the complete. /// /// /// The complete. /// [DataMember(Name = "complete")] public int Complete { get; set; } /// /// Gets or sets the since. /// /// /// The since. /// [DataMember] public int Since { get; set; } /// /// Gets or sets the _ item dictionary. /// /// /// The _ item dictionary. /// [DataMember(Name = "list")] public Dictionary _ItemDictionary { get; set; } /// /// Gets the items. /// /// /// The items. /// [IgnoreDataMember] public List Items { get { return Utilities.DictionaryToList(_ItemDictionary); } } } }