-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #261 from plivo/SMS-6099
SMS-6099: Added meta data for List Profile, Brand and Campaign
- Loading branch information
Showing
12 changed files
with
206 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
using System.Threading; | ||
using Newtonsoft.Json; | ||
|
||
namespace Plivo.Resource | ||
{ | ||
/// <summary> | ||
/// Brand Meta. | ||
/// </summary> | ||
public class BrandMeta | ||
{ | ||
/// <summary> | ||
/// Gets or sets the limit. | ||
/// </summary> | ||
/// <value>The limit.</value> | ||
public uint Limit { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the next. | ||
/// </summary> | ||
/// <value>The next.</value> | ||
[JsonProperty("next")] | ||
public string Next { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the offset. | ||
/// </summary> | ||
/// <value>The offset.</value> | ||
[JsonProperty("offset")] | ||
public uint Offset { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the previous. | ||
/// </summary> | ||
/// <value>The previous.</value> | ||
[JsonProperty("previous")] | ||
public string Previous { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the total_count. | ||
/// </summary> | ||
/// <value>The total_count.</value> | ||
[JsonProperty("total_count")] | ||
public uint TotalCount { get; set; } | ||
|
||
/// <summary> | ||
/// Returns a <see cref="T:System.String"/> that represents the current <see cref="T:plivo.Resource.Meta"/>. | ||
/// </summary> | ||
/// <returns>A <see cref="T:System.String"/> that represents the current <see cref="T:plivo.Resource.Meta"/>.</returns> | ||
public override string ToString() | ||
{ | ||
return | ||
"Limit: " + Limit + "\n" + | ||
"Next: " + Next + "\n" + | ||
"Offset: " + Offset + "\n" + | ||
"Previous: " + Previous + "\n" + | ||
"TotalCount: " + TotalCount + "\n"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
using System.Threading; | ||
using Newtonsoft.Json; | ||
|
||
namespace Plivo.Resource | ||
{ | ||
/// <summary> | ||
/// Campaign Meta. | ||
/// </summary> | ||
public class CampaignMeta | ||
{ | ||
/// <summary> | ||
/// Gets or sets the limit. | ||
/// </summary> | ||
/// <value>The limit.</value> | ||
public uint Limit { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the next. | ||
/// </summary> | ||
/// <value>The next.</value> | ||
[JsonProperty("next")] | ||
public string Next { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the offset. | ||
/// </summary> | ||
/// <value>The offset.</value> | ||
[JsonProperty("offset")] | ||
public uint Offset { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the previous. | ||
/// </summary> | ||
/// <value>The previous.</value> | ||
[JsonProperty("previous")] | ||
public string Previous { get; set; } | ||
|
||
|
||
/// <summary> | ||
/// Gets or sets the total_count. | ||
/// </summary> | ||
/// <value>The total_count.</value> | ||
[JsonProperty("total_count")] | ||
public uint TotalCount { get; set; } | ||
|
||
/// <summary> | ||
/// Returns a <see cref="T:System.String"/> that represents the current <see cref="T:plivo.Resource.Meta"/>. | ||
/// </summary> | ||
/// <returns>A <see cref="T:System.String"/> that represents the current <see cref="T:plivo.Resource.Meta"/>.</returns> | ||
public override string ToString() | ||
{ | ||
return | ||
"Limit: " + Limit + "\n" + | ||
"Next: " + Next + "\n" + | ||
"Offset: " + Offset + "\n" + | ||
"Previous: " + Previous + "\n" + | ||
"TotalCount: " + TotalCount + "\n"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
using System.Threading; | ||
using Newtonsoft.Json; | ||
|
||
namespace Plivo.Resource | ||
{ | ||
/// <summary> | ||
/// Profile Meta. | ||
/// </summary> | ||
public class ProfileMeta | ||
{ | ||
/// <summary> | ||
/// Gets or sets the limit. | ||
/// </summary> | ||
/// <value>The limit.</value> | ||
public uint Limit { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the next. | ||
/// </summary> | ||
/// <value>The next.</value> | ||
[JsonProperty("next")] | ||
public string Next { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the offset. | ||
/// </summary> | ||
/// <value>The offset.</value> | ||
[JsonProperty("offset")] | ||
public uint Offset { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the previous. | ||
/// </summary> | ||
/// <value>The previous.</value> | ||
[JsonProperty("previous")] | ||
public string Previous { get; set; } | ||
|
||
/// <summary> | ||
/// Returns a <see cref="T:System.String"/> that represents the current <see cref="T:plivo.Resource.Meta"/>. | ||
/// </summary> | ||
/// <returns>A <see cref="T:System.String"/> that represents the current <see cref="T:plivo.Resource.Meta"/>.</returns> | ||
public override string ToString() | ||
{ | ||
return | ||
"Limit: " + Limit + "\n" + | ||
"Next: " + Next + "\n" + | ||
"Offset: " + Offset + "\n" + | ||
"Previous: " + Previous + "\n"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters