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

jp.co.yahoo.adssearchapi.v12.model.DictionaryServiceGeographicLocation Maven / Gradle / Ivy

There is a newer version: 8.1.1-spring5
Show newest version
/*
 * Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
 * 
Yahoo!広告 検索広告 APIのWebサービスについて説明します。
Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
OpenAPI Specification
Best Practice
Best Practice
* * The version of the OpenAPI document: v12 * * * 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.adssearchapi.v12.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 jp.co.yahoo.adssearchapi.v12.model.DictionaryServiceGeographicLocationStatus; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">DictionaryServiceGeographicLocationオブジェクトは、地域情報を格納します。</div> <div lang=\"en\">DictionaryServiceGeographicLocation contains geographic location information.</div> */ @ApiModel(description = "
DictionaryServiceGeographicLocationオブジェクトは、地域情報を格納します。
DictionaryServiceGeographicLocation contains geographic location information.
") @JsonPropertyOrder({ DictionaryServiceGeographicLocation.JSON_PROPERTY_CHILD, DictionaryServiceGeographicLocation.JSON_PROPERTY_CODE, DictionaryServiceGeographicLocation.JSON_PROPERTY_FULL_NAME, DictionaryServiceGeographicLocation.JSON_PROPERTY_GEOGRAPHIC_LOCATION_STATUS, 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_GEOGRAPHIC_LOCATION_STATUS = "geographicLocationStatus"; private DictionaryServiceGeographicLocationStatus geographicLocationStatus; 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; } /** * Get child * @return child **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @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\">地域コードです。</div> <div lang=\"en\">Geographic code.</div> * @return code **/ @javax.annotation.Nullable @ApiModelProperty(value = "
地域コードです。
Geographic code.
") @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 (Prefecture and all).</div> * @return fullName **/ @javax.annotation.Nullable @ApiModelProperty(value = "
地域名(都道府県名からすべて)です。
Name of places (Prefecture and all).
") @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 geographicLocationStatus(DictionaryServiceGeographicLocationStatus geographicLocationStatus) { this.geographicLocationStatus = geographicLocationStatus; return this; } /** * Get geographicLocationStatus * @return geographicLocationStatus **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_LOCATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public DictionaryServiceGeographicLocationStatus getGeographicLocationStatus() { return geographicLocationStatus; } @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_LOCATION_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setGeographicLocationStatus(DictionaryServiceGeographicLocationStatus geographicLocationStatus) { this.geographicLocationStatus = geographicLocationStatus; } public DictionaryServiceGeographicLocation name(String name) { this.name = name; return this; } /** * <div lang=\"ja\">地域名(市区町村のみ)です。</div> <div lang=\"en\">Name of places (city only).</div> * @return name **/ @javax.annotation.Nullable @ApiModelProperty(value = "
地域名(市区町村のみ)です。
Name of places (city only).
") @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\">並び順です。<br>下記の順序に基づいた連番となります。<br> 都道府県は北海道、青森、・・・・沖縄の順<br>都道府県配下の市区町村は五十音順</div> <div lang=\"en\">Order of list<br><br>Sequential number based on the order below.<br><br> - Prefecture is in order of Hokkaido, Aomori to Okinawa. (North to South)<br><br> - Cities under prefecture are listed in the order of the 50-character Japanese kana syllabary.</div> * @return order **/ @javax.annotation.Nullable @ApiModelProperty(value = "
並び順です。
下記の順序に基づいた連番となります。
都道府県は北海道、青森、・・・・沖縄の順
都道府県配下の市区町村は五十音順
Order of list

Sequential number based on the order below.

- Prefecture is in order of Hokkaido, Aomori to Okinawa. (North to South)

- Cities under prefecture are listed in the order of the 50-character Japanese kana syllabary.
") @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.geographicLocationStatus, dictionaryServiceGeographicLocation.geographicLocationStatus) && 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, geographicLocationStatus, 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(" geographicLocationStatus: ").append(toIndentedString(geographicLocationStatus)).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 - 2024 Weber Informatics LLC | Privacy Policy