Skip to content

Commit aea15d1

Browse files
authored
Merge pull request cloudbees-oss#138 from rodrigopalhares/issues57
Add locale in user
2 parents 8f24bf0 + e646caa commit aea15d1

File tree

1 file changed

+10
-0
lines changed
  • src/main/java/org/zendesk/client/v2/model

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public class User extends Collaborator implements SearchResultEntity, Serializab
2727
private Boolean verified;
2828
private Boolean shared;
2929
private Long localeId;
30+
private String locale;
3031
private String timeZone;
3132
private Date lastLoginAt;
3233
private String phone;
@@ -165,6 +166,15 @@ public void setLocaleId(Long localeId) {
165166
this.localeId = localeId;
166167
}
167168

169+
@JsonProperty("locale")
170+
public String getLocale() {
171+
return locale;
172+
}
173+
174+
public void setLocale(String locale) {
175+
this.locale = locale;
176+
}
177+
168178
public Boolean getModerator() {
169179
return moderator;
170180
}

0 commit comments

Comments
 (0)