Skip to content

Commit 1d04845

Browse files
authored
add new properties to the request. (#443)
* add new properties to the request. fix #442
1 parent ea9fb21 commit 1d04845

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

src/ZendeskApi_v2/Models/Requests/Request.cs

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ public class Request
3737
[JsonProperty("status")]
3838
public string Status { get; set; }
3939

40+
[JsonProperty("priority")]
41+
public string Priority { get; set; }
42+
4043
[JsonProperty("subject")]
4144
public string Subject { get; set; }
4245

@@ -46,9 +49,25 @@ public class Request
4649
[JsonProperty("organization_id")]
4750
public long? OrganizationId { get; set; }
4851

52+
[JsonProperty("requester_id")]
53+
public long? RequesterId { get; set; }
54+
55+
[JsonProperty("assignee_id")]
56+
public long AssigneeId { get; set; }
57+
58+
[JsonProperty("group_id")]
59+
public long GroupId { get; set; }
60+
4961
[JsonProperty("via")]
5062
public Via Via { get; set; }
5163

64+
[JsonProperty("is_public")]
65+
public bool IsPublic { get; set; }
66+
67+
[JsonProperty("due_at")]
68+
[JsonConverter(typeof(IsoDateTimeConverter))]
69+
public DateTimeOffset? DueAt { get; set; }
70+
5271
[JsonProperty("custom_fields")]
5372
public IList<CustomField> CustomFields { get; set; }
5473

@@ -60,9 +79,6 @@ public class Request
6079
[JsonConverter(typeof(IsoDateTimeConverter))]
6180
public DateTimeOffset? UpdatedAt { get; set; }
6281

63-
[JsonProperty("requester_id")]
64-
public long? RequesterId { get; set; }
65-
6682
/// <summary>
6783
/// If true, end user can mark request as solved.
6884
/// This will be ignored when updating a request.
@@ -78,6 +94,15 @@ public class Request
7894
[JsonProperty("solved")]
7995
public bool? Solved { get; set; }
8096

97+
[JsonProperty("ticket_form_id")]
98+
public long TicketFormId { get; set; }
99+
100+
[JsonProperty("recipient")]
101+
public string recipient { get; set; }
102+
103+
[JsonProperty("followup_source_id")]
104+
public string FollowupSourceId { get; set; }
105+
81106
/// <summary>
82107
/// This is used for updates only
83108
/// </summary>

0 commit comments

Comments
 (0)