Skip to content

Commit 81e40c1

Browse files
Noel HahnPierreBtz
authored andcommitted
Removed TpeVoiceComment and updated JsonSubType TpeVoiceComment.class with VoiceComment.class
1 parent e263476 commit 81e40c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
@JsonTypeInfo(use = NAME, include = EXTERNAL_PROPERTY, property = "type", visible = true)
2020
@JsonSubTypes({
2121
@JsonSubTypes.Type(value = Comment.class, name = "Comment"),
22-
@JsonSubTypes.Type(value = VoiceComment.class, name = "VoiceComment")
22+
@JsonSubTypes.Type(value = VoiceComment.class, name = "VoiceComment"),
23+
@JsonSubTypes.Type(value = VoiceComment.class, name = "TpeVoiceComment")
2324
})
2425
public class Comment implements Serializable {
2526

0 commit comments

Comments
 (0)