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