4
4
5
5
import java .io .Serializable ;
6
6
import java .util .Date ;
7
+ import java .util .List ;
8
+
9
+ import org .zendesk .client .v2 .model .Ticket .Requester ;
7
10
8
11
/**
9
12
* @author stephenc
@@ -26,6 +29,10 @@ public class Request implements Serializable {
26
29
protected Date createdAt ;
27
30
protected Date updatedAt ;
28
31
protected Comment comment ;
32
+ protected Boolean solved ;
33
+ protected Priority priority ;
34
+ protected List <CustomFieldValue > customFields ;
35
+ protected Type type ;
29
36
30
37
@ JsonProperty ("created_at" )
31
38
public Date getCreatedAt () {
@@ -131,4 +138,51 @@ public Comment getComment() {
131
138
public void setComment (Comment comment ) {
132
139
this .comment = comment ;
133
140
}
141
+
142
+ @ JsonProperty ("solved" )
143
+ public Boolean getSolved () {
144
+ return solved ;
145
+ }
146
+
147
+ public void setSolved (Boolean solved ) {
148
+ this .solved = solved ;
149
+ }
150
+
151
+ @ JsonProperty ("priority" )
152
+ public Priority getPriority () {
153
+ return priority ;
154
+ }
155
+
156
+ public void setPriority (Priority priority ) {
157
+ this .priority = priority ;
158
+ }
159
+
160
+ @ JsonProperty ("custom_fields" )
161
+ public List <CustomFieldValue > getCustomFields () {
162
+ return customFields ;
163
+ }
164
+
165
+ public void setCustomFields (List <CustomFieldValue > customFields ) {
166
+ this .customFields = customFields ;
167
+ }
168
+
169
+ public Requester getRequester () {
170
+ return requester ;
171
+ }
172
+
173
+ public void setRequester (Requester requester ) {
174
+ this .requester = requester ;
175
+ if (requester != null ) {
176
+ this .requesterId = null ;
177
+ }
178
+ }
179
+
180
+ @ JsonProperty ("type" )
181
+ public Type getType () {
182
+ return type ;
183
+ }
184
+
185
+ public void setType (Type type ) {
186
+ this .type = type ;
187
+ }
134
188
}
0 commit comments