We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11889b8 commit e8243dbCopy full SHA for e8243db
src/main/java/org/zendesk/client/v2/model/CommentType.java
@@ -1,13 +1,21 @@
1
package org.zendesk.client.v2.model;
2
3
-import com.fasterxml.jackson.annotation.JsonProperty;
4
-
5
/**
6
* https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/
7
*/
8
public enum CommentType {
9
10
- @JsonProperty("Comment") COMMENT,
11
- @JsonProperty("VoiceComment") VOICE_COMMENT;
+ COMMENT("Comment"),
+ VOICE_COMMENT("VoiceComment");
+
+ private final String name;
12
13
+ CommentType(String name) {
14
+ this.name = name;
15
+ }
16
17
+ @Override
18
+ public String toString() {
19
+ return name;
20
21
}
0 commit comments