forked from campaignmonitor/createsend-dotnet
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Client methods and any associated models complete
- Loading branch information
Jason Hickey
committed
Nov 11, 2010
1 parent
d8648b8
commit f50a19c
Showing
8 changed files
with
118 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace createsend_dotnet | ||
{ | ||
public class PagedCollection<T> | ||
{ | ||
//deserializer does not allow deserialization from JSON list straight to IEnumerable<T> | ||
public List<T> Results { get; set; } | ||
public string ResultsOrderedBy { get; set; } | ||
public string OrderDirection { get; set; } | ||
public int PageNumber { get; set; } | ||
public int PageSize { get; set; } | ||
public int RecordsOnThisPage { get; set; } | ||
public int TotalNumberOfRecords { get; set; } | ||
public int NumberOfPages { get; set; } | ||
} | ||
} |
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,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace createsend_dotnet | ||
{ | ||
public class BasicSubscriber | ||
{ | ||
public string EmailAddress { get; set; } | ||
public DateTime Date { get; set; } | ||
public string State { get; set; } | ||
} | ||
} |
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,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace createsend_dotnet | ||
{ | ||
public class BasicTemplate | ||
{ | ||
public string TemplateID { get; set; } | ||
public string Name { get; set; } | ||
public string PreviewURL { get; set; } | ||
public string ScreenshotURL { get; set; } | ||
} | ||
} |
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