forked from Speedygeek/ZendeskApi_v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support incremental organization export (Speedygeek#356)
* Support incremental org exports * Add tests for incremental organization export
- Loading branch information
Showing
3 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
src/ZendeskApi_v2/Models/Organizations/GroupOrganizationExportResponse.cs
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,23 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
namespace ZendeskApi_v2.Models.Organizations | ||
{ | ||
public class GroupOrganizationExportResponse | ||
{ | ||
[JsonProperty("count")] | ||
public long Count { get; set; } | ||
|
||
[JsonProperty("end_time")] | ||
[JsonConverter(typeof(UnixDateTimeConverter))] | ||
public DateTimeOffset EndTime { get; set; } | ||
|
||
[JsonProperty("next_page")] | ||
public string NextPage { get; set; } | ||
|
||
[JsonProperty("organizations")] | ||
public IList<Organization> Organizations { 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
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