|
| 1 | +package org.zendesk.client.v2.model; |
| 2 | + |
| 3 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
| 4 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 5 | +import java.io.Serializable; |
| 6 | +import java.util.Date; |
| 7 | + |
| 8 | +/** https://developer.zendesk.com/api-reference/ticketing/tickets/custom_ticket_statuses/ */ |
| 9 | +@JsonIgnoreProperties(ignoreUnknown = true) |
| 10 | +public class CustomTicketStatus implements Serializable { |
| 11 | + |
| 12 | + private static final long serialVersionUID = 1L; |
| 13 | + |
| 14 | + private Long id; |
| 15 | + private boolean active; |
| 16 | + private String description; |
| 17 | + |
| 18 | + @JsonProperty("agent_label") |
| 19 | + private String agentLabel; |
| 20 | + |
| 21 | + @JsonProperty("created_at") |
| 22 | + private Date createdAt; |
| 23 | + |
| 24 | + @JsonProperty("end_user_description") |
| 25 | + private String endUserDescription; |
| 26 | + |
| 27 | + @JsonProperty("end_user_label") |
| 28 | + private String endUserLabel; |
| 29 | + |
| 30 | + @JsonProperty("raw_agent_label") |
| 31 | + private String rawAgentLabel; |
| 32 | + |
| 33 | + @JsonProperty("raw_description") |
| 34 | + private String rawDescription; |
| 35 | + |
| 36 | + @JsonProperty("raw_end_user_description") |
| 37 | + private String rawEndUserDescription; |
| 38 | + |
| 39 | + @JsonProperty("raw_end_user_label") |
| 40 | + private String rawEndUserLabel; |
| 41 | + |
| 42 | + @JsonProperty("status_category") |
| 43 | + private String statusCategory; |
| 44 | + |
| 45 | + @JsonProperty("updated_at") |
| 46 | + private Date updatedAt; |
| 47 | + |
| 48 | + public Long getId() { |
| 49 | + return id; |
| 50 | + } |
| 51 | + |
| 52 | + public void setId(Long id) { |
| 53 | + this.id = id; |
| 54 | + } |
| 55 | + |
| 56 | + public boolean isActive() { |
| 57 | + return active; |
| 58 | + } |
| 59 | + |
| 60 | + public void setActive(boolean active) { |
| 61 | + this.active = active; |
| 62 | + } |
| 63 | + |
| 64 | + public String getDescription() { |
| 65 | + return description; |
| 66 | + } |
| 67 | + |
| 68 | + public void setDescription(String description) { |
| 69 | + this.description = description; |
| 70 | + } |
| 71 | + |
| 72 | + public String getAgentLabel() { |
| 73 | + return agentLabel; |
| 74 | + } |
| 75 | + |
| 76 | + public void setAgentLabel(String agentLabel) { |
| 77 | + this.agentLabel = agentLabel; |
| 78 | + } |
| 79 | + |
| 80 | + public Date getCreatedAt() { |
| 81 | + return createdAt; |
| 82 | + } |
| 83 | + |
| 84 | + public void setCreatedAt(Date createdAt) { |
| 85 | + this.createdAt = createdAt; |
| 86 | + } |
| 87 | + |
| 88 | + public String getEndUserDescription() { |
| 89 | + return endUserDescription; |
| 90 | + } |
| 91 | + |
| 92 | + public void setEndUserDescription(String endUserDescription) { |
| 93 | + this.endUserDescription = endUserDescription; |
| 94 | + } |
| 95 | + |
| 96 | + public String getEndUserLabel() { |
| 97 | + return endUserLabel; |
| 98 | + } |
| 99 | + |
| 100 | + public void setEndUserLabel(String endUserLabel) { |
| 101 | + this.endUserLabel = endUserLabel; |
| 102 | + } |
| 103 | + |
| 104 | + public String getRawAgentLabel() { |
| 105 | + return rawAgentLabel; |
| 106 | + } |
| 107 | + |
| 108 | + public void setRawAgentLabel(String rawAgentLabel) { |
| 109 | + this.rawAgentLabel = rawAgentLabel; |
| 110 | + } |
| 111 | + |
| 112 | + public String getRawDescription() { |
| 113 | + return rawDescription; |
| 114 | + } |
| 115 | + |
| 116 | + public void setRawDescription(String rawDescription) { |
| 117 | + this.rawDescription = rawDescription; |
| 118 | + } |
| 119 | + |
| 120 | + public String getRawEndUserDescription() { |
| 121 | + return rawEndUserDescription; |
| 122 | + } |
| 123 | + |
| 124 | + public void setRawEndUserDescription(String rawEndUserDescription) { |
| 125 | + this.rawEndUserDescription = rawEndUserDescription; |
| 126 | + } |
| 127 | + |
| 128 | + public String getRawEndUserLabel() { |
| 129 | + return rawEndUserLabel; |
| 130 | + } |
| 131 | + |
| 132 | + public void setRawEndUserLabel(String rawEndUserLabel) { |
| 133 | + this.rawEndUserLabel = rawEndUserLabel; |
| 134 | + } |
| 135 | + |
| 136 | + public String getStatusCategory() { |
| 137 | + return statusCategory; |
| 138 | + } |
| 139 | + |
| 140 | + public void setStatusCategory(String statusCategory) { |
| 141 | + this.statusCategory = statusCategory; |
| 142 | + } |
| 143 | + |
| 144 | + public Date getUpdatedAt() { |
| 145 | + return updatedAt; |
| 146 | + } |
| 147 | + |
| 148 | + public void setUpdatedAt(Date updatedAt) { |
| 149 | + this.updatedAt = updatedAt; |
| 150 | + } |
| 151 | + |
| 152 | + @Override |
| 153 | + public String toString() { |
| 154 | + return "CustomTicketStatus{" |
| 155 | + + "id=" |
| 156 | + + id |
| 157 | + + ", active=" |
| 158 | + + active |
| 159 | + + ", description='" |
| 160 | + + description |
| 161 | + + '\'' |
| 162 | + + ", agentLabel='" |
| 163 | + + agentLabel |
| 164 | + + '\'' |
| 165 | + + ", createdAt=" |
| 166 | + + createdAt |
| 167 | + + ", endUserDescription='" |
| 168 | + + endUserDescription |
| 169 | + + '\'' |
| 170 | + + ", endUserLabel='" |
| 171 | + + endUserLabel |
| 172 | + + '\'' |
| 173 | + + ", rawAgentLabel='" |
| 174 | + + rawAgentLabel |
| 175 | + + '\'' |
| 176 | + + ", rawDescription='" |
| 177 | + + rawDescription |
| 178 | + + '\'' |
| 179 | + + ", rawEndUserDescription='" |
| 180 | + + rawEndUserDescription |
| 181 | + + '\'' |
| 182 | + + ", rawEndUserLabel='" |
| 183 | + + rawEndUserLabel |
| 184 | + + '\'' |
| 185 | + + ", statusCategory='" |
| 186 | + + statusCategory |
| 187 | + + '\'' |
| 188 | + + ", updatedAt=" |
| 189 | + + updatedAt |
| 190 | + + '}'; |
| 191 | + } |
| 192 | +} |
0 commit comments