com.tinypass.client.publisher.model.LocaleModel Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class LocaleModel {
/* Locale */
private String locale = null;
/* Label */
private String label = null;
/* Localized label */
private String localizedLabel = null;
/* Is default locale */
private Boolean isDefault = null;
/* Is enabled */
private Boolean isEnabled = null;
/* Is RTL */
private Boolean isRtl = null;
public String getLocale() {
return locale;
}
public void setLocale(String locale) {
this.locale = locale;
}
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public String getLocalizedLabel() {
return localizedLabel;
}
public void setLocalizedLabel(String localizedLabel) {
this.localizedLabel = localizedLabel;
}
public Boolean getIsDefault() {
return isDefault;
}
public void setIsDefault(Boolean isDefault) {
this.isDefault = isDefault;
}
public Boolean getIsEnabled() {
return isEnabled;
}
public void setIsEnabled(Boolean isEnabled) {
this.isEnabled = isEnabled;
}
public Boolean getIsRtl() {
return isRtl;
}
public void setIsRtl(Boolean isRtl) {
this.isRtl = isRtl;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LocaleModel {\n");
sb.append(" locale: ").append(locale).append("\n");
sb.append(" label: ").append(label).append("\n");
sb.append(" localizedLabel: ").append(localizedLabel).append("\n");
sb.append(" isDefault: ").append(isDefault).append("\n");
sb.append(" isEnabled: ").append(isEnabled).append("\n");
sb.append(" isRtl: ").append(isRtl).append("\n");
sb.append("}\n");
return sb.toString();
}
}