All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.co.yahoo.adsdisplayapi.v13.model.DictionaryServiceGeographicLocation Maven / Gradle / Ivy

The newest version!
/*
 * Yahoo!広告 ディスプレイ広告 API リファレンス / Yahoo! JAPAN Ads Display Ads API Reference
 * 
Yahoo!広告 ディスプレイ広告 APIのWebサービスについて説明します。
Display Ads API Web Services supported in Yahoo! JAPAN Ads API.
* * The version of the OpenAPI document: v13 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package jp.co.yahoo.adsdisplayapi.v13.model; 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.JsonTypeName; 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; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">DictionaryServiceGeographicLocationオブジェクトは、地域情報を表します。</div> <div lang=\"en\">DictionaryServiceGeographicLocation object displays the geographic location.</div> */ @ApiModel(description = "
DictionaryServiceGeographicLocationオブジェクトは、地域情報を表します。
DictionaryServiceGeographicLocation object displays the geographic location.
") @JsonPropertyOrder({ DictionaryServiceGeographicLocation.JSON_PROPERTY_CHILD, DictionaryServiceGeographicLocation.JSON_PROPERTY_CODE, DictionaryServiceGeographicLocation.JSON_PROPERTY_FULL_NAME, DictionaryServiceGeographicLocation.JSON_PROPERTY_NAME, DictionaryServiceGeographicLocation.JSON_PROPERTY_ORDER, DictionaryServiceGeographicLocation.JSON_PROPERTY_PARENT }) @JsonTypeName("DictionaryServiceGeographicLocation") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class DictionaryServiceGeographicLocation { public static final String JSON_PROPERTY_CHILD = "child"; private List child = null; public static final String JSON_PROPERTY_CODE = "code"; private String code; public static final String JSON_PROPERTY_FULL_NAME = "fullName"; private String fullName; public static final String JSON_PROPERTY_NAME = "name"; private String name; public static final String JSON_PROPERTY_ORDER = "order"; private String order; public static final String JSON_PROPERTY_PARENT = "parent"; private String parent; public DictionaryServiceGeographicLocation() { } public DictionaryServiceGeographicLocation child(List child) { this.child = child; return this; } public DictionaryServiceGeographicLocation addChildItem(DictionaryServiceGeographicLocation childItem) { if (this.child == null) { this.child = new ArrayList<>(); } this.child.add(childItem); return this; } /** * <div lang=\"ja\">子要素としてDictionaryServiceGeographicLocationオブジェクトを使用します。</div> <div lang=\"en\">DictionaryServiceGeographicLocation object is used.</div> * @return child **/ @javax.annotation.Nullable @ApiModelProperty(value = "
子要素としてDictionaryServiceGeographicLocationオブジェクトを使用します。
DictionaryServiceGeographicLocation object is used.
") @JsonProperty(JSON_PROPERTY_CHILD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getChild() { return child; } @JsonProperty(JSON_PROPERTY_CHILD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setChild(List child) { this.child = child; } public DictionaryServiceGeographicLocation code(String code) { this.code = code; return this; } /** * <div lang=\"ja\"> 地域コードです。<br> 「その他」の地域コード(TC-CI-00000073)は、地域ターゲティングでは利用できません。 </div> <div lang=\"en\"> Geographic code.<br> The \"Other\" geo code (TC-CI-00000073) is not available for geo targeting. </div> * @return code **/ @javax.annotation.Nullable @ApiModelProperty(value = "
地域コードです。
「その他」の地域コード(TC-CI-00000073)は、地域ターゲティングでは利用できません。
Geographic code.
The \"Other\" geo code (TC-CI-00000073) is not available for geo targeting.
") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCode() { return code; } @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCode(String code) { this.code = code; } public DictionaryServiceGeographicLocation fullName(String fullName) { this.fullName = fullName; return this; } /** * <div lang=\"ja\">都道府県名を含む地域名です。</div> <div lang=\"en\">Name of places including prefecture name.</div> * @return fullName **/ @javax.annotation.Nullable @ApiModelProperty(value = "
都道府県名を含む地域名です。
Name of places including prefecture name.
") @JsonProperty(JSON_PROPERTY_FULL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFullName() { return fullName; } @JsonProperty(JSON_PROPERTY_FULL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFullName(String fullName) { this.fullName = fullName; } public DictionaryServiceGeographicLocation name(String name) { this.name = name; return this; } /** * <div lang=\"ja\">市区町村名です。</div> <div lang=\"en\">Name of places.</div> * @return name **/ @javax.annotation.Nullable @ApiModelProperty(value = "
市区町村名です。
Name of places.
") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; } @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } public DictionaryServiceGeographicLocation order(String order) { this.order = order; return this; } /** * <div lang=\"ja\">並び順を示す番号です。</div> <div lang=\"en\">Number indicating the order of arrangement.</div> * @return order **/ @javax.annotation.Nullable @ApiModelProperty(value = "
並び順を示す番号です。
Number indicating the order of arrangement.
") @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOrder() { return order; } @JsonProperty(JSON_PROPERTY_ORDER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOrder(String order) { this.order = order; } public DictionaryServiceGeographicLocation parent(String parent) { this.parent = parent; return this; } /** * <div lang=\"ja\">上位階層の地域コードです。</div> <div lang=\"en\">Parent geographic code.</div> * @return parent **/ @javax.annotation.Nullable @ApiModelProperty(value = "
上位階層の地域コードです。
Parent geographic code.
") @JsonProperty(JSON_PROPERTY_PARENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getParent() { return parent; } @JsonProperty(JSON_PROPERTY_PARENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setParent(String parent) { this.parent = parent; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } DictionaryServiceGeographicLocation dictionaryServiceGeographicLocation = (DictionaryServiceGeographicLocation) o; return Objects.equals(this.child, dictionaryServiceGeographicLocation.child) && Objects.equals(this.code, dictionaryServiceGeographicLocation.code) && Objects.equals(this.fullName, dictionaryServiceGeographicLocation.fullName) && Objects.equals(this.name, dictionaryServiceGeographicLocation.name) && Objects.equals(this.order, dictionaryServiceGeographicLocation.order) && Objects.equals(this.parent, dictionaryServiceGeographicLocation.parent); } @Override public int hashCode() { return Objects.hash(child, code, fullName, name, order, parent); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DictionaryServiceGeographicLocation {\n"); sb.append(" child: ").append(toIndentedString(child)).append("\n"); sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" order: ").append(toIndentedString(order)).append("\n"); sb.append(" parent: ").append(toIndentedString(parent)).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(Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy