Skip to content

Commit

Permalink
Add undocumented attributes to Locale
Browse files Browse the repository at this point in the history
  • Loading branch information
topero committed Sep 22, 2023
1 parent 3f358cf commit c98eaf2
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions src/main/java/org/zendesk/client/v2/model/Locale.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ public class Locale implements Serializable {
private static final long serialVersionUID = 1L;

private Date createdAt;
private Boolean isDefault;
private Long id;
private String locale;
private String name;
private String nativeName;
private String presentationName;
private Boolean rtl;
private Date updatedAt;
private String url;

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

public Boolean isDefault() {
return isDefault;
}

public void setDefault(Boolean isDefault) {
this.isDefault = isDefault;
}

public Long getId() {
return id;
}
Expand All @@ -55,6 +67,32 @@ public void setName(String name) {
this.name = name;
}

@JsonProperty("native_name")
public String getNativeName() {
return nativeName;
}

public void setNativeName(String nativeName) {
this.nativeName = nativeName;
}

@JsonProperty("presentation_name")
public String getPresentationName() {
return presentationName;
}

public void setPresentationName(String presentationName) {
this.presentationName = presentationName;
}

public Boolean getRtl() {
return rtl;
}

public void setRtl(Boolean rtl) {
this.rtl = rtl;
}

@JsonProperty("updated_at")
public Date getUpdatedAt() {
return updatedAt;
Expand All @@ -77,6 +115,8 @@ public String toString() {
return "Locale{"
+ "createdAt="
+ createdAt
+ ", isDefault="
+ isDefault
+ ", id="
+ id
+ ", locale='"
Expand All @@ -85,6 +125,14 @@ public String toString() {
+ ", name='"
+ name
+ '\''
+ ", nativeName='"
+ nativeName
+ '\''
+ ", presentationName='"
+ presentationName
+ '\''
+ ", rtl="
+ rtl
+ ", updatedAt="
+ updatedAt
+ ", url='"
Expand Down

0 comments on commit c98eaf2

Please sign in to comment.