complete PocketItem properties; add PocketImage, PocketVideo, PocketAuthor;

This commit is contained in:
2013-06-26 12:17:01 +02:00
parent f84c0a9c20
commit 899a2e1c4c
12 changed files with 189 additions and 24 deletions
+25
View File
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace PocketSharp.Models
{
[DataContract]
class Retrieve : ResponseBase
{
[DataMember(Name = "complete")]
public int Complete { get; set; }
[DataMember]
public int Since { get; set; }
[DataMember(Name = "list")]
public Dictionary<string, PocketItem> _ItemDictionary { get; set; }
[IgnoreDataMember]
public List<PocketItem> Items
{
get { return PocketClient.DictionaryToList<PocketItem>(_ItemDictionary); }
}
}
}