update inline docs

This commit is contained in:
2013-11-29 23:05:11 +01:00
parent 7083982764
commit 2f48485d44
+28
View File
@@ -19,6 +19,7 @@ namespace PocketWP
/// </value>
[DataMember]
public string Uri { get; set; }
/// <summary>
/// Gets or sets the tags.
/// </summary>
@@ -27,6 +28,7 @@ namespace PocketWP
/// </value>
[DataMember]
public string Tags { get; set; }
/// <summary>
/// Gets or sets the title.
/// </summary>
@@ -35,6 +37,7 @@ namespace PocketWP
/// </value>
[DataMember]
public string Title { get; set; }
/// <summary>
/// Gets or sets the tweet identifier.
/// </summary>
@@ -43,6 +46,7 @@ namespace PocketWP
/// </value>
[DataMember]
public string TweetId { get; set; }
/// <summary>
/// Gets or sets the callback URI for your app if you want to be called back after adding.
/// </summary>
@@ -50,11 +54,31 @@ namespace PocketWP
/// The callback URI.
/// </value>
public string CallbackUri { get; set; }
/// <summary>
/// Gets the type.
/// </summary>
/// <value>
/// Single/Multiple items.
/// </value>
[DataMember]
public AddType Type { get; internal set; }
/// <summary>
/// Gets or sets the urls.
/// </summary>
/// <value>
/// The urls.
/// </value>
[DataMember]
public List<string> Urls { get; set; }
/// <summary>
/// Gets the tags array.
/// </summary>
/// <value>
/// The tags array.
/// </value>
[IgnoreDataMember]
public string[] TagsArray
{
@@ -64,6 +88,10 @@ namespace PocketWP
}
}
/// <summary>
/// Converts POCO to JSON.
/// </summary>
/// <returns></returns>
public string ToEscapedJson()
{
var serialiser = new DataContractJsonSerializer(typeof(ExternalPocketItem));