File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
main/java/org/zendesk/client/v2/model/hc
test/java/org/zendesk/client/v2/model Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public class Article implements SearchResultEntity {
42
42
43
43
/** The list of content tags attached to the article */
44
44
@ JsonProperty ("content_tag_ids" )
45
- private List <Long > contentTagIds ;
45
+ private List <String > contentTagIds ;
46
46
47
47
/** Whether the source (default) translation of the article is out of date */
48
48
private Boolean outdated ;
@@ -170,11 +170,11 @@ public void setCommentsDisabled(Boolean commentsDisabled) {
170
170
this .commentsDisabled = commentsDisabled ;
171
171
}
172
172
173
- public List <Long > getContentTagIds () {
173
+ public List <String > getContentTagIds () {
174
174
return contentTagIds ;
175
175
}
176
176
177
- public void setContentTagIds (List <Long > contentTagIds ) {
177
+ public void setContentTagIds (List <String > contentTagIds ) {
178
178
this .contentTagIds = contentTagIds ;
179
179
}
180
180
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public void testParseArticle() {
32
32
"\" html_url\" :\" https://example.zendesk.com/hc/en-us/articles/918273645013-Welcome-to-your-Help-Center-\" ," +
33
33
"\" author_id\" :2314596780," +
34
34
"\" comments_disabled\" :false," +
35
- "\" content_tag_ids\" : [335, 7104 ]," +
35
+ "\" content_tag_ids\" : [\" 01GMAGH6KPDHEY79MN3S4H8V7D \" , \" 01GFXGBX7YZ9ASWTCVMASTK8ZS \" ]," +
36
36
"\" draft\" :false," +
37
37
"\" promoted\" :false," +
38
38
"\" position\" :0," +
@@ -59,7 +59,7 @@ public void testParseArticle() {
59
59
assertEquals ("https://example.zendesk.com/hc/en-us/articles/918273645013-Welcome-to-your-Help-Center-" , article .getHtmlUrl ());
60
60
assertEquals ((Long ) 2314596780L , article .getAuthorId ());
61
61
assertEquals (false , article .getCommentsDisabled ());
62
- assertEquals (Arrays .asList (335L , 7104L ), article .getContentTagIds ());
62
+ assertEquals (Arrays .asList ("01GMAGH6KPDHEY79MN3S4H8V7D" , "01GFXGBX7YZ9ASWTCVMASTK8ZS" ), article .getContentTagIds ());
63
63
assertEquals (false , article .getDraft ());
64
64
assertEquals (false , article .getPromoted ());
65
65
assertEquals ((Long ) 0L , article .getPosition ());
You can’t perform that action at this time.
0 commit comments