Skip to content

Commit a15777d

Browse files
authored
Merge pull request cloudbees-oss#141 from rodrigopalhares/issues139_2
Add new fields reason and reason_id to satisfaction_rating
2 parents 2640f44 + cbb13c4 commit a15777d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/main/java/org/zendesk/client/v2/model/SatisfactionRating.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ public class SatisfactionRating implements Serializable {
2525
private Date createdAt;
2626
private Date updatedAt;
2727
private String comment;
28+
private String reason;
29+
private Long reasonId;
2830

2931
@JsonProperty("assignee_id")
3032
public Long getAssigneeId() {
@@ -104,6 +106,24 @@ public void setUpdatedAt(Date updatedAt) {
104106
this.updatedAt = updatedAt;
105107
}
106108

109+
@JsonProperty("reason")
110+
public String getReason() {
111+
return reason;
112+
}
113+
114+
public void setReason(String reason) {
115+
this.reason = reason;
116+
}
117+
118+
@JsonProperty("reason_id")
119+
public Long getReasonId() {
120+
return reasonId;
121+
}
122+
123+
public void setReasonId(Long reasonId) {
124+
this.reasonId = reasonId;
125+
}
126+
107127
public String getUrl() {
108128
return url;
109129
}

0 commit comments

Comments
 (0)