jp.co.yahoo.adssearchapi.v12.model.AdGroupServiceUrlReviewData 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: 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.AdGroupServiceReviewUrl;
import jp.co.yahoo.adssearchapi.v12.model.AdGroupServiceUrlApprovalStatus;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">AdGroupServiceUrlReviewDataオブジェクトは、URLの審査状況を表します。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">AdGroupServiceUrlReviewData object displays review status of URL.<br> Although this field will be returned in the response, it will be ignored on input.</div>
*/
@ApiModel(description = "AdGroupServiceUrlReviewDataオブジェクトは、URLの審査状況を表します。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 AdGroupServiceUrlReviewData object displays review status of URL.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonPropertyOrder({
AdGroupServiceUrlReviewData.JSON_PROPERTY_DISAPPROVAL_REASON_CODES,
AdGroupServiceUrlReviewData.JSON_PROPERTY_DISAPPROVAL_REVIEW_URL,
AdGroupServiceUrlReviewData.JSON_PROPERTY_IN_REVIEW_URL,
AdGroupServiceUrlReviewData.JSON_PROPERTY_URL_APPROVAL_STATUS
})
@JsonTypeName("AdGroupServiceUrlReviewData")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupServiceUrlReviewData {
public static final String JSON_PROPERTY_DISAPPROVAL_REASON_CODES = "disapprovalReasonCodes";
private List disapprovalReasonCodes = null;
public static final String JSON_PROPERTY_DISAPPROVAL_REVIEW_URL = "disapprovalReviewUrl";
private AdGroupServiceReviewUrl disapprovalReviewUrl;
public static final String JSON_PROPERTY_IN_REVIEW_URL = "inReviewUrl";
private AdGroupServiceReviewUrl inReviewUrl;
public static final String JSON_PROPERTY_URL_APPROVAL_STATUS = "urlApprovalStatus";
private AdGroupServiceUrlApprovalStatus urlApprovalStatus;
public AdGroupServiceUrlReviewData() {
}
public AdGroupServiceUrlReviewData disapprovalReasonCodes(List disapprovalReasonCodes) {
this.disapprovalReasonCodes = disapprovalReasonCodes;
return this;
}
public AdGroupServiceUrlReviewData addDisapprovalReasonCodesItem(String disapprovalReasonCodesItem) {
if (this.disapprovalReasonCodes == null) {
this.disapprovalReasonCodes = new ArrayList<>();
}
this.disapprovalReasonCodes.add(disapprovalReasonCodesItem);
return this;
}
/**
* <div lang=\"ja\">審査否認理由コードです。</div> <div lang=\"en\">Code of Disapproval reason.<br></div>
* @return disapprovalReasonCodes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "審査否認理由コードです。 Code of Disapproval reason.
")
@JsonProperty(JSON_PROPERTY_DISAPPROVAL_REASON_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getDisapprovalReasonCodes() {
return disapprovalReasonCodes;
}
@JsonProperty(JSON_PROPERTY_DISAPPROVAL_REASON_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisapprovalReasonCodes(List disapprovalReasonCodes) {
this.disapprovalReasonCodes = disapprovalReasonCodes;
}
public AdGroupServiceUrlReviewData disapprovalReviewUrl(AdGroupServiceReviewUrl disapprovalReviewUrl) {
this.disapprovalReviewUrl = disapprovalReviewUrl;
return this;
}
/**
* Get disapprovalReviewUrl
* @return disapprovalReviewUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DISAPPROVAL_REVIEW_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupServiceReviewUrl getDisapprovalReviewUrl() {
return disapprovalReviewUrl;
}
@JsonProperty(JSON_PROPERTY_DISAPPROVAL_REVIEW_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisapprovalReviewUrl(AdGroupServiceReviewUrl disapprovalReviewUrl) {
this.disapprovalReviewUrl = disapprovalReviewUrl;
}
public AdGroupServiceUrlReviewData inReviewUrl(AdGroupServiceReviewUrl inReviewUrl) {
this.inReviewUrl = inReviewUrl;
return this;
}
/**
* Get inReviewUrl
* @return inReviewUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_IN_REVIEW_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupServiceReviewUrl getInReviewUrl() {
return inReviewUrl;
}
@JsonProperty(JSON_PROPERTY_IN_REVIEW_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setInReviewUrl(AdGroupServiceReviewUrl inReviewUrl) {
this.inReviewUrl = inReviewUrl;
}
public AdGroupServiceUrlReviewData urlApprovalStatus(AdGroupServiceUrlApprovalStatus urlApprovalStatus) {
this.urlApprovalStatus = urlApprovalStatus;
return this;
}
/**
* Get urlApprovalStatus
* @return urlApprovalStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_URL_APPROVAL_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupServiceUrlApprovalStatus getUrlApprovalStatus() {
return urlApprovalStatus;
}
@JsonProperty(JSON_PROPERTY_URL_APPROVAL_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUrlApprovalStatus(AdGroupServiceUrlApprovalStatus urlApprovalStatus) {
this.urlApprovalStatus = urlApprovalStatus;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdGroupServiceUrlReviewData adGroupServiceUrlReviewData = (AdGroupServiceUrlReviewData) o;
return Objects.equals(this.disapprovalReasonCodes, adGroupServiceUrlReviewData.disapprovalReasonCodes) &&
Objects.equals(this.disapprovalReviewUrl, adGroupServiceUrlReviewData.disapprovalReviewUrl) &&
Objects.equals(this.inReviewUrl, adGroupServiceUrlReviewData.inReviewUrl) &&
Objects.equals(this.urlApprovalStatus, adGroupServiceUrlReviewData.urlApprovalStatus);
}
@Override
public int hashCode() {
return Objects.hash(disapprovalReasonCodes, disapprovalReviewUrl, inReviewUrl, urlApprovalStatus);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupServiceUrlReviewData {\n");
sb.append(" disapprovalReasonCodes: ").append(toIndentedString(disapprovalReasonCodes)).append("\n");
sb.append(" disapprovalReviewUrl: ").append(toIndentedString(disapprovalReviewUrl)).append("\n");
sb.append(" inReviewUrl: ").append(toIndentedString(inReviewUrl)).append("\n");
sb.append(" urlApprovalStatus: ").append(toIndentedString(urlApprovalStatus)).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 ");
}
}