Skip to content

Commit c98eaf2

Browse files
committed
Add undocumented attributes to Locale
1 parent 3f358cf commit c98eaf2

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ public class Locale implements Serializable {
1616
private static final long serialVersionUID = 1L;
1717

1818
private Date createdAt;
19+
private Boolean isDefault;
1920
private Long id;
2021
private String locale;
2122
private String name;
23+
private String nativeName;
24+
private String presentationName;
25+
private Boolean rtl;
2226
private Date updatedAt;
2327
private String url;
2428

@@ -31,6 +35,14 @@ public void setCreatedAt(Date createdAt) {
3135
this.createdAt = createdAt;
3236
}
3337

38+
public Boolean isDefault() {
39+
return isDefault;
40+
}
41+
42+
public void setDefault(Boolean isDefault) {
43+
this.isDefault = isDefault;
44+
}
45+
3446
public Long getId() {
3547
return id;
3648
}
@@ -55,6 +67,32 @@ public void setName(String name) {
5567
this.name = name;
5668
}
5769

70+
@JsonProperty("native_name")
71+
public String getNativeName() {
72+
return nativeName;
73+
}
74+
75+
public void setNativeName(String nativeName) {
76+
this.nativeName = nativeName;
77+
}
78+
79+
@JsonProperty("presentation_name")
80+
public String getPresentationName() {
81+
return presentationName;
82+
}
83+
84+
public void setPresentationName(String presentationName) {
85+
this.presentationName = presentationName;
86+
}
87+
88+
public Boolean getRtl() {
89+
return rtl;
90+
}
91+
92+
public void setRtl(Boolean rtl) {
93+
this.rtl = rtl;
94+
}
95+
5896
@JsonProperty("updated_at")
5997
public Date getUpdatedAt() {
6098
return updatedAt;
@@ -77,6 +115,8 @@ public String toString() {
77115
return "Locale{"
78116
+ "createdAt="
79117
+ createdAt
118+
+ ", isDefault="
119+
+ isDefault
80120
+ ", id="
81121
+ id
82122
+ ", locale='"
@@ -85,6 +125,14 @@ public String toString() {
85125
+ ", name='"
86126
+ name
87127
+ '\''
128+
+ ", nativeName='"
129+
+ nativeName
130+
+ '\''
131+
+ ", presentationName='"
132+
+ presentationName
133+
+ '\''
134+
+ ", rtl="
135+
+ rtl
88136
+ ", updatedAt="
89137
+ updatedAt
90138
+ ", url='"

0 commit comments

Comments
 (0)