io.logicdrop.openapi.models.InlineResponse200Language Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sparks-openapi-models Show documentation
Show all versions of sparks-openapi-models Show documentation
Logicdrop Sparks OpenAPI client
/*
* Sparks OpenAPI
* Generated documentation for the Logicdrop Sparks API and OpenAPI clients. Logicdrop Sparks lets users build rules, analyze data, and automate documents. Use it to make decisions faster, generate documents better, and learn from your data. ### Documentation - [User Documentation](https://docs.logicdrop.com) ### Modules - [Sparks Compute](https://docs.logicdrop.com/rules/introduction) - [Sparks Decision Tables](https://docs.logicdrop.com/rules/authoring-decision-tables) - [Sparks Documents](https://docs.logicdrop.com/documents/introduction) ### Clients - [OpenAPI Clients](https://docs.logicdrop.com/development/sample-clients) ### Security - [Authorizing API Requests](https://docs.logicdrop.com/development/authorization)
*
* The version of the OpenAPI document: v_VERSION_, build# _BUILD_
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package io.logicdrop.openapi.models;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
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;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* InlineResponse200Language
*/
@JsonPropertyOrder({
InlineResponse200Language.JSON_PROPERTY_LANGUAGE,
InlineResponse200Language.JSON_PROPERTY_DISPLAY_NAME,
InlineResponse200Language.JSON_PROPERTY_SCRIPT,
InlineResponse200Language.JSON_PROPERTY_COUNTRY,
InlineResponse200Language.JSON_PROPERTY_VARIANT,
InlineResponse200Language.JSON_PROPERTY_UNICODE_LOCALE_ATTRIBUTES,
InlineResponse200Language.JSON_PROPERTY_UNICODE_LOCALE_KEYS,
InlineResponse200Language.JSON_PROPERTY_DISPLAY_LANGUAGE,
InlineResponse200Language.JSON_PROPERTY_DISPLAY_SCRIPT,
InlineResponse200Language.JSON_PROPERTY_DISPLAY_COUNTRY,
InlineResponse200Language.JSON_PROPERTY_DISPLAY_VARIANT,
InlineResponse200Language.JSON_PROPERTY_EXTENSION_KEYS,
InlineResponse200Language.JSON_PROPERTY_ISO3_LANGUAGE,
InlineResponse200Language.JSON_PROPERTY_ISO3_COUNTRY
})
public class InlineResponse200Language {
public static final String JSON_PROPERTY_LANGUAGE = "language";
private String language;
public static final String JSON_PROPERTY_DISPLAY_NAME = "displayName";
private String displayName;
public static final String JSON_PROPERTY_SCRIPT = "script";
private String script;
public static final String JSON_PROPERTY_COUNTRY = "country";
private String country;
public static final String JSON_PROPERTY_VARIANT = "variant";
private String variant;
public static final String JSON_PROPERTY_UNICODE_LOCALE_ATTRIBUTES = "unicodeLocaleAttributes";
private List unicodeLocaleAttributes = null;
public static final String JSON_PROPERTY_UNICODE_LOCALE_KEYS = "unicodeLocaleKeys";
private List unicodeLocaleKeys = null;
public static final String JSON_PROPERTY_DISPLAY_LANGUAGE = "displayLanguage";
private String displayLanguage;
public static final String JSON_PROPERTY_DISPLAY_SCRIPT = "displayScript";
private String displayScript;
public static final String JSON_PROPERTY_DISPLAY_COUNTRY = "displayCountry";
private String displayCountry;
public static final String JSON_PROPERTY_DISPLAY_VARIANT = "displayVariant";
private String displayVariant;
public static final String JSON_PROPERTY_EXTENSION_KEYS = "extensionKeys";
private List extensionKeys = null;
public static final String JSON_PROPERTY_ISO3_LANGUAGE = "iso3Language";
private String iso3Language;
public static final String JSON_PROPERTY_ISO3_COUNTRY = "iso3Country";
private String iso3Country;
public InlineResponse200Language language(String language) {
this.language = language;
return this;
}
/**
* Get language
* @return language
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLanguage() {
return language;
}
public void setLanguage(String language) {
this.language = language;
}
public InlineResponse200Language displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* Get displayName
* @return displayName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DISPLAY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public InlineResponse200Language script(String script) {
this.script = script;
return this;
}
/**
* Get script
* @return script
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SCRIPT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getScript() {
return script;
}
public void setScript(String script) {
this.script = script;
}
public InlineResponse200Language country(String country) {
this.country = country;
return this;
}
/**
* Get country
* @return country
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public InlineResponse200Language variant(String variant) {
this.variant = variant;
return this;
}
/**
* Get variant
* @return variant
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_VARIANT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getVariant() {
return variant;
}
public void setVariant(String variant) {
this.variant = variant;
}
public InlineResponse200Language unicodeLocaleAttributes(List unicodeLocaleAttributes) {
this.unicodeLocaleAttributes = unicodeLocaleAttributes;
return this;
}
public InlineResponse200Language addUnicodeLocaleAttributesItem(String unicodeLocaleAttributesItem) {
if (this.unicodeLocaleAttributes == null) {
this.unicodeLocaleAttributes = new ArrayList<>();
}
this.unicodeLocaleAttributes.add(unicodeLocaleAttributesItem);
return this;
}
/**
* Get unicodeLocaleAttributes
* @return unicodeLocaleAttributes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_UNICODE_LOCALE_ATTRIBUTES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getUnicodeLocaleAttributes() {
return unicodeLocaleAttributes;
}
public void setUnicodeLocaleAttributes(List unicodeLocaleAttributes) {
this.unicodeLocaleAttributes = unicodeLocaleAttributes;
}
public InlineResponse200Language unicodeLocaleKeys(List unicodeLocaleKeys) {
this.unicodeLocaleKeys = unicodeLocaleKeys;
return this;
}
public InlineResponse200Language addUnicodeLocaleKeysItem(String unicodeLocaleKeysItem) {
if (this.unicodeLocaleKeys == null) {
this.unicodeLocaleKeys = new ArrayList<>();
}
this.unicodeLocaleKeys.add(unicodeLocaleKeysItem);
return this;
}
/**
* Get unicodeLocaleKeys
* @return unicodeLocaleKeys
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_UNICODE_LOCALE_KEYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getUnicodeLocaleKeys() {
return unicodeLocaleKeys;
}
public void setUnicodeLocaleKeys(List unicodeLocaleKeys) {
this.unicodeLocaleKeys = unicodeLocaleKeys;
}
public InlineResponse200Language displayLanguage(String displayLanguage) {
this.displayLanguage = displayLanguage;
return this;
}
/**
* Get displayLanguage
* @return displayLanguage
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DISPLAY_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayLanguage() {
return displayLanguage;
}
public void setDisplayLanguage(String displayLanguage) {
this.displayLanguage = displayLanguage;
}
public InlineResponse200Language displayScript(String displayScript) {
this.displayScript = displayScript;
return this;
}
/**
* Get displayScript
* @return displayScript
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DISPLAY_SCRIPT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayScript() {
return displayScript;
}
public void setDisplayScript(String displayScript) {
this.displayScript = displayScript;
}
public InlineResponse200Language displayCountry(String displayCountry) {
this.displayCountry = displayCountry;
return this;
}
/**
* Get displayCountry
* @return displayCountry
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DISPLAY_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayCountry() {
return displayCountry;
}
public void setDisplayCountry(String displayCountry) {
this.displayCountry = displayCountry;
}
public InlineResponse200Language displayVariant(String displayVariant) {
this.displayVariant = displayVariant;
return this;
}
/**
* Get displayVariant
* @return displayVariant
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DISPLAY_VARIANT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayVariant() {
return displayVariant;
}
public void setDisplayVariant(String displayVariant) {
this.displayVariant = displayVariant;
}
public InlineResponse200Language extensionKeys(List extensionKeys) {
this.extensionKeys = extensionKeys;
return this;
}
public InlineResponse200Language addExtensionKeysItem(String extensionKeysItem) {
if (this.extensionKeys == null) {
this.extensionKeys = new ArrayList<>();
}
this.extensionKeys.add(extensionKeysItem);
return this;
}
/**
* Get extensionKeys
* @return extensionKeys
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_EXTENSION_KEYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getExtensionKeys() {
return extensionKeys;
}
public void setExtensionKeys(List extensionKeys) {
this.extensionKeys = extensionKeys;
}
public InlineResponse200Language iso3Language(String iso3Language) {
this.iso3Language = iso3Language;
return this;
}
/**
* Get iso3Language
* @return iso3Language
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ISO3_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIso3Language() {
return iso3Language;
}
public void setIso3Language(String iso3Language) {
this.iso3Language = iso3Language;
}
public InlineResponse200Language iso3Country(String iso3Country) {
this.iso3Country = iso3Country;
return this;
}
/**
* Get iso3Country
* @return iso3Country
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ISO3_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIso3Country() {
return iso3Country;
}
public void setIso3Country(String iso3Country) {
this.iso3Country = iso3Country;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InlineResponse200Language inlineResponse200Language = (InlineResponse200Language) o;
return Objects.equals(this.language, inlineResponse200Language.language) &&
Objects.equals(this.displayName, inlineResponse200Language.displayName) &&
Objects.equals(this.script, inlineResponse200Language.script) &&
Objects.equals(this.country, inlineResponse200Language.country) &&
Objects.equals(this.variant, inlineResponse200Language.variant) &&
Objects.equals(this.unicodeLocaleAttributes, inlineResponse200Language.unicodeLocaleAttributes) &&
Objects.equals(this.unicodeLocaleKeys, inlineResponse200Language.unicodeLocaleKeys) &&
Objects.equals(this.displayLanguage, inlineResponse200Language.displayLanguage) &&
Objects.equals(this.displayScript, inlineResponse200Language.displayScript) &&
Objects.equals(this.displayCountry, inlineResponse200Language.displayCountry) &&
Objects.equals(this.displayVariant, inlineResponse200Language.displayVariant) &&
Objects.equals(this.extensionKeys, inlineResponse200Language.extensionKeys) &&
Objects.equals(this.iso3Language, inlineResponse200Language.iso3Language) &&
Objects.equals(this.iso3Country, inlineResponse200Language.iso3Country);
}
@Override
public int hashCode() {
return Objects.hash(language, displayName, script, country, variant, unicodeLocaleAttributes, unicodeLocaleKeys, displayLanguage, displayScript, displayCountry, displayVariant, extensionKeys, iso3Language, iso3Country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InlineResponse200Language {\n");
sb.append(" language: ").append(toIndentedString(language)).append("\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" script: ").append(toIndentedString(script)).append("\n");
sb.append(" country: ").append(toIndentedString(country)).append("\n");
sb.append(" variant: ").append(toIndentedString(variant)).append("\n");
sb.append(" unicodeLocaleAttributes: ").append(toIndentedString(unicodeLocaleAttributes)).append("\n");
sb.append(" unicodeLocaleKeys: ").append(toIndentedString(unicodeLocaleKeys)).append("\n");
sb.append(" displayLanguage: ").append(toIndentedString(displayLanguage)).append("\n");
sb.append(" displayScript: ").append(toIndentedString(displayScript)).append("\n");
sb.append(" displayCountry: ").append(toIndentedString(displayCountry)).append("\n");
sb.append(" displayVariant: ").append(toIndentedString(displayVariant)).append("\n");
sb.append(" extensionKeys: ").append(toIndentedString(extensionKeys)).append("\n");
sb.append(" iso3Language: ").append(toIndentedString(iso3Language)).append("\n");
sb.append(" iso3Country: ").append(toIndentedString(iso3Country)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}