com.tinypass.client.publisher.model.LanguageModel 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 com.tinypass.client.publisher.model.LocaleModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class LanguageModel {
/* Language name */
private String languageName = null;
/* Label */
private String label = null;
/* Localized label */
private String localizedLabel = null;
private List locales = new ArrayList();
public String getLanguageName() {
return languageName;
}
public void setLanguageName(String languageName) {
this.languageName = languageName;
}
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 List getLocales() {
return locales;
}
public void setLocales(List locales) {
this.locales = locales;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LanguageModel {\n");
sb.append(" languageName: ").append(languageName).append("\n");
sb.append(" label: ").append(label).append("\n");
sb.append(" localizedLabel: ").append(localizedLabel).append("\n");
sb.append(" locales: ").append(locales).append("\n");
sb.append("}\n");
return sb.toString();
}
}