jp.co.yahoo.adssearchapi.v14.model.DictionaryServiceDisapprovalReason Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-search-api-lib Show documentation
Show all versions of ads-search-api-lib Show documentation
Yahoo! JAPAN Ads Search Ads API library for Java
/*
* Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
* Yahoo!広告 検索広告 APIのWebサービスについて説明します。 Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
*
* The version of the OpenAPI document: v14
*
*
* 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.v14.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 jp.co.yahoo.adssearchapi.v14.model.DictionaryServiceLang;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">DictionaryServiceDisapprovalReason オブジェクトは、 EditorialReason一覧を格納するコンテナです。</div> <div lang=\"en\">DictionaryServiceDisapprovalReason object is a container which stored the Description of disapproval reason and the Recommended solution.</div>
*/
@ApiModel(description = "DictionaryServiceDisapprovalReason オブジェクトは、 EditorialReason一覧を格納するコンテナです。 DictionaryServiceDisapprovalReason object is a container which stored the Description of disapproval reason and the Recommended solution. ")
@JsonPropertyOrder({
DictionaryServiceDisapprovalReason.JSON_PROPERTY_DESCRIPTION,
DictionaryServiceDisapprovalReason.JSON_PROPERTY_DISAPPROVAL_REASON_CODE,
DictionaryServiceDisapprovalReason.JSON_PROPERTY_LANG,
DictionaryServiceDisapprovalReason.JSON_PROPERTY_RECOMMENDATION,
DictionaryServiceDisapprovalReason.JSON_PROPERTY_TITLE
})
@JsonTypeName("DictionaryServiceDisapprovalReason")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class DictionaryServiceDisapprovalReason {
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;
public static final String JSON_PROPERTY_DISAPPROVAL_REASON_CODE = "disapprovalReasonCode";
private String disapprovalReasonCode;
public static final String JSON_PROPERTY_LANG = "lang";
private DictionaryServiceLang lang;
public static final String JSON_PROPERTY_RECOMMENDATION = "recommendation";
private String recommendation;
public static final String JSON_PROPERTY_TITLE = "title";
private String title;
public DictionaryServiceDisapprovalReason() {
}
public DictionaryServiceDisapprovalReason description(String description) {
this.description = description;
return this;
}
/**
* <div lang=\"ja\">審査否認理由の内容です。</div> <div lang=\"en\">Description of disapproval reason.</div>
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "審査否認理由の内容です。 Description of disapproval reason. ")
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDescription() {
return description;
}
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDescription(String description) {
this.description = description;
}
public DictionaryServiceDisapprovalReason disapprovalReasonCode(String disapprovalReasonCode) {
this.disapprovalReasonCode = disapprovalReasonCode;
return this;
}
/**
* <div lang=\"ja\">審査コードです。</div> <div lang=\"en\">Editorial code.</div>
* @return disapprovalReasonCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "審査コードです。 Editorial code. ")
@JsonProperty(JSON_PROPERTY_DISAPPROVAL_REASON_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisapprovalReasonCode() {
return disapprovalReasonCode;
}
@JsonProperty(JSON_PROPERTY_DISAPPROVAL_REASON_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisapprovalReasonCode(String disapprovalReasonCode) {
this.disapprovalReasonCode = disapprovalReasonCode;
}
public DictionaryServiceDisapprovalReason lang(DictionaryServiceLang lang) {
this.lang = lang;
return this;
}
/**
* Get lang
* @return lang
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_LANG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public DictionaryServiceLang getLang() {
return lang;
}
@JsonProperty(JSON_PROPERTY_LANG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLang(DictionaryServiceLang lang) {
this.lang = lang;
}
public DictionaryServiceDisapprovalReason recommendation(String recommendation) {
this.recommendation = recommendation;
return this;
}
/**
* <div lang=\"ja\">推奨する対応方法です。</div> <div lang=\"en\">Recommended solution.</div>
* @return recommendation
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "推奨する対応方法です。 Recommended solution. ")
@JsonProperty(JSON_PROPERTY_RECOMMENDATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRecommendation() {
return recommendation;
}
@JsonProperty(JSON_PROPERTY_RECOMMENDATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRecommendation(String recommendation) {
this.recommendation = recommendation;
}
public DictionaryServiceDisapprovalReason title(String title) {
this.title = title;
return this;
}
/**
* <div lang=\"ja\">審査否認理由のタイトルです。</div> <div lang=\"en\">Title of disapproval reason.</div>
* @return title
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "審査否認理由のタイトルです。 Title of disapproval reason. ")
@JsonProperty(JSON_PROPERTY_TITLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTitle() {
return title;
}
@JsonProperty(JSON_PROPERTY_TITLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTitle(String title) {
this.title = title;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DictionaryServiceDisapprovalReason dictionaryServiceDisapprovalReason = (DictionaryServiceDisapprovalReason) o;
return Objects.equals(this.description, dictionaryServiceDisapprovalReason.description) &&
Objects.equals(this.disapprovalReasonCode, dictionaryServiceDisapprovalReason.disapprovalReasonCode) &&
Objects.equals(this.lang, dictionaryServiceDisapprovalReason.lang) &&
Objects.equals(this.recommendation, dictionaryServiceDisapprovalReason.recommendation) &&
Objects.equals(this.title, dictionaryServiceDisapprovalReason.title);
}
@Override
public int hashCode() {
return Objects.hash(description, disapprovalReasonCode, lang, recommendation, title);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DictionaryServiceDisapprovalReason {\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" disapprovalReasonCode: ").append(toIndentedString(disapprovalReasonCode)).append("\n");
sb.append(" lang: ").append(toIndentedString(lang)).append("\n");
sb.append(" recommendation: ").append(toIndentedString(recommendation)).append("\n");
sb.append(" title: ").append(toIndentedString(title)).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 ");
}
}