jp.co.yahoo.adssearchapi.v13.model.AdGroupAd 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: 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.adssearchapi.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 jp.co.yahoo.adssearchapi.v13.model.AdGroupAdServiceAd;
import jp.co.yahoo.adssearchapi.v13.model.AdGroupAdServiceApprovalStatus;
import jp.co.yahoo.adssearchapi.v13.model.AdGroupAdServiceLabel;
import jp.co.yahoo.adssearchapi.v13.model.AdGroupAdServiceTrademarkStatus;
import jp.co.yahoo.adssearchapi.v13.model.AdGroupAdServiceUserStatus;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">AdGroupAdオブジェクトは、広告に関する操作を行うための情報を表します。</div> <div lang=\"en\">AdGroupAd object describes information for operations on ads.</div>
*/
@ApiModel(description = "AdGroupAdオブジェクトは、広告に関する操作を行うための情報を表します。 AdGroupAd object describes information for operations on ads. ")
@JsonPropertyOrder({
AdGroupAd.JSON_PROPERTY_ACCOUNT_ID,
AdGroupAd.JSON_PROPERTY_AD,
AdGroupAd.JSON_PROPERTY_AD_GROUP_ID,
AdGroupAd.JSON_PROPERTY_AD_GROUP_NAME,
AdGroupAd.JSON_PROPERTY_AD_GROUP_TRACK_ID,
AdGroupAd.JSON_PROPERTY_AD_ID,
AdGroupAd.JSON_PROPERTY_AD_NAME,
AdGroupAd.JSON_PROPERTY_AD_TRACK_ID,
AdGroupAd.JSON_PROPERTY_APPROVAL_STATUS,
AdGroupAd.JSON_PROPERTY_CAMPAIGN_ID,
AdGroupAd.JSON_PROPERTY_CAMPAIGN_NAME,
AdGroupAd.JSON_PROPERTY_CAMPAIGN_TRACK_ID,
AdGroupAd.JSON_PROPERTY_DISAPPROVAL_REASON_CODES,
AdGroupAd.JSON_PROPERTY_FEED_ID,
AdGroupAd.JSON_PROPERTY_INVALIDED_TRADEMARKS,
AdGroupAd.JSON_PROPERTY_LABELS,
AdGroupAd.JSON_PROPERTY_TRADEMARK_STATUS,
AdGroupAd.JSON_PROPERTY_USER_STATUS,
AdGroupAd.JSON_PROPERTY_CREATED_DATE
})
@JsonTypeName("AdGroupAd")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupAd {
public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId";
private Long accountId;
public static final String JSON_PROPERTY_AD = "ad";
private AdGroupAdServiceAd ad;
public static final String JSON_PROPERTY_AD_GROUP_ID = "adGroupId";
private Long adGroupId;
public static final String JSON_PROPERTY_AD_GROUP_NAME = "adGroupName";
private String adGroupName;
public static final String JSON_PROPERTY_AD_GROUP_TRACK_ID = "adGroupTrackId";
private Long adGroupTrackId;
public static final String JSON_PROPERTY_AD_ID = "adId";
private Long adId;
public static final String JSON_PROPERTY_AD_NAME = "adName";
private String adName;
public static final String JSON_PROPERTY_AD_TRACK_ID = "adTrackId";
private Long adTrackId;
public static final String JSON_PROPERTY_APPROVAL_STATUS = "approvalStatus";
private AdGroupAdServiceApprovalStatus approvalStatus;
public static final String JSON_PROPERTY_CAMPAIGN_ID = "campaignId";
private Long campaignId;
public static final String JSON_PROPERTY_CAMPAIGN_NAME = "campaignName";
private String campaignName;
public static final String JSON_PROPERTY_CAMPAIGN_TRACK_ID = "campaignTrackId";
private Long campaignTrackId;
public static final String JSON_PROPERTY_DISAPPROVAL_REASON_CODES = "disapprovalReasonCodes";
private List disapprovalReasonCodes = null;
public static final String JSON_PROPERTY_FEED_ID = "feedId";
private Long feedId;
public static final String JSON_PROPERTY_INVALIDED_TRADEMARKS = "invalidedTrademarks";
private List invalidedTrademarks = null;
public static final String JSON_PROPERTY_LABELS = "labels";
private List labels = null;
public static final String JSON_PROPERTY_TRADEMARK_STATUS = "trademarkStatus";
private AdGroupAdServiceTrademarkStatus trademarkStatus;
public static final String JSON_PROPERTY_USER_STATUS = "userStatus";
private AdGroupAdServiceUserStatus userStatus;
public static final String JSON_PROPERTY_CREATED_DATE = "createdDate";
private String createdDate;
public AdGroupAd() {
}
public AdGroupAd accountId(Long accountId) {
this.accountId = accountId;
return this;
}
/**
* <div lang=\"ja\">アカウントIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Account ID.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "アカウントIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Account ID.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getAccountId() {
return accountId;
}
@JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAccountId(Long accountId) {
this.accountId = accountId;
}
public AdGroupAd ad(AdGroupAdServiceAd ad) {
this.ad = ad;
return this;
}
/**
* Get ad
* @return ad
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_AD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupAdServiceAd getAd() {
return ad;
}
@JsonProperty(JSON_PROPERTY_AD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAd(AdGroupAdServiceAd ad) {
this.ad = ad;
}
public AdGroupAd adGroupId(Long adGroupId) {
this.adGroupId = adGroupId;
return this;
}
/**
* <div lang=\"ja\">広告グループIDです。<br> このフィールドは、いずれの場合でも必須となります。</div> <div lang=\"en\">Ad group ID.<br> This field is required in any cases.</div>
* @return adGroupId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "広告グループIDです。
このフィールドは、いずれの場合でも必須となります。 Ad group ID.
This field is required in any cases. ")
@JsonProperty(JSON_PROPERTY_AD_GROUP_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getAdGroupId() {
return adGroupId;
}
@JsonProperty(JSON_PROPERTY_AD_GROUP_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAdGroupId(Long adGroupId) {
this.adGroupId = adGroupId;
}
public AdGroupAd adGroupName(String adGroupName) {
this.adGroupName = adGroupName;
return this;
}
/**
* <div lang=\"ja\">広告グループ名です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Ad group name.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return adGroupName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "広告グループ名です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Ad group name.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_AD_GROUP_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAdGroupName() {
return adGroupName;
}
@JsonProperty(JSON_PROPERTY_AD_GROUP_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAdGroupName(String adGroupName) {
this.adGroupName = adGroupName;
}
public AdGroupAd adGroupTrackId(Long adGroupTrackId) {
this.adGroupTrackId = adGroupTrackId;
return this;
}
/**
* <div lang=\"ja\">トラッキング用広告グループIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Ad group ID for tracking.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return adGroupTrackId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "トラッキング用広告グループIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Ad group ID for tracking.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_AD_GROUP_TRACK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getAdGroupTrackId() {
return adGroupTrackId;
}
@JsonProperty(JSON_PROPERTY_AD_GROUP_TRACK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAdGroupTrackId(Long adGroupTrackId) {
this.adGroupTrackId = adGroupTrackId;
}
public AdGroupAd adId(Long adId) {
this.adId = adId;
return this;
}
/**
* <div lang=\"ja\">広告IDです。<br> SETおよびREMOVE時、このフィールドは必須となります。</div> <div lang=\"en\">Ad ID.<br> This field is required in SET and REMOVE operation.</div>
* @return adId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "広告IDです。
SETおよびREMOVE時、このフィールドは必須となります。 Ad ID.
This field is required in SET and REMOVE operation. ")
@JsonProperty(JSON_PROPERTY_AD_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getAdId() {
return adId;
}
@JsonProperty(JSON_PROPERTY_AD_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAdId(Long adId) {
this.adId = adId;
}
public AdGroupAd adName(String adName) {
this.adName = adName;
return this;
}
/**
* <div lang=\"ja\">広告名です。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。</div> <div lang=\"en\">Ad name.<br> This field is required in ADD operation, and will be optional in SET operation.</div>
* @return adName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "広告名です。
このフィールドは、ADD時は必須となり、SET時は省略可能となります。 Ad name.
This field is required in ADD operation, and will be optional in SET operation. ")
@JsonProperty(JSON_PROPERTY_AD_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAdName() {
return adName;
}
@JsonProperty(JSON_PROPERTY_AD_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAdName(String adName) {
this.adName = adName;
}
public AdGroupAd adTrackId(Long adTrackId) {
this.adTrackId = adTrackId;
return this;
}
/**
* <div lang=\"ja\">トラッキング用広告IDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Ad ID for tracking.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return adTrackId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "トラッキング用広告IDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Ad ID for tracking.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_AD_TRACK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getAdTrackId() {
return adTrackId;
}
@JsonProperty(JSON_PROPERTY_AD_TRACK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAdTrackId(Long adTrackId) {
this.adTrackId = adTrackId;
}
public AdGroupAd approvalStatus(AdGroupAdServiceApprovalStatus approvalStatus) {
this.approvalStatus = approvalStatus;
return this;
}
/**
* Get approvalStatus
* @return approvalStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_APPROVAL_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupAdServiceApprovalStatus getApprovalStatus() {
return approvalStatus;
}
@JsonProperty(JSON_PROPERTY_APPROVAL_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setApprovalStatus(AdGroupAdServiceApprovalStatus approvalStatus) {
this.approvalStatus = approvalStatus;
}
public AdGroupAd campaignId(Long campaignId) {
this.campaignId = campaignId;
return this;
}
/**
* <div lang=\"ja\">キャンペーンIDです。<br> このフィールドは、いずれの場合でも必須となります。</div> <div lang=\"en\">Campaign ID.<br> This field is required in any cases.</div>
* @return campaignId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "キャンペーンIDです。
このフィールドは、いずれの場合でも必須となります。 Campaign ID.
This field is required in any cases. ")
@JsonProperty(JSON_PROPERTY_CAMPAIGN_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getCampaignId() {
return campaignId;
}
@JsonProperty(JSON_PROPERTY_CAMPAIGN_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCampaignId(Long campaignId) {
this.campaignId = campaignId;
}
public AdGroupAd campaignName(String campaignName) {
this.campaignName = campaignName;
return this;
}
/**
* <div lang=\"ja\">キャンペーン名です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Campaign name.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return campaignName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "キャンペーン名です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Campaign name.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_CAMPAIGN_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCampaignName() {
return campaignName;
}
@JsonProperty(JSON_PROPERTY_CAMPAIGN_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCampaignName(String campaignName) {
this.campaignName = campaignName;
}
public AdGroupAd campaignTrackId(Long campaignTrackId) {
this.campaignTrackId = campaignTrackId;
return this;
}
/**
* <div lang=\"ja\">トラッキング用キャンペーンIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Campaign ID for tracking.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return campaignTrackId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "トラッキング用キャンペーンIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Campaign ID for tracking.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_CAMPAIGN_TRACK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getCampaignTrackId() {
return campaignTrackId;
}
@JsonProperty(JSON_PROPERTY_CAMPAIGN_TRACK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCampaignTrackId(Long campaignTrackId) {
this.campaignTrackId = campaignTrackId;
}
public AdGroupAd disapprovalReasonCodes(List disapprovalReasonCodes) {
this.disapprovalReasonCodes = disapprovalReasonCodes;
return this;
}
public AdGroupAd addDisapprovalReasonCodesItem(String disapprovalReasonCodesItem) {
if (this.disapprovalReasonCodes == null) {
this.disapprovalReasonCodes = new ArrayList<>();
}
this.disapprovalReasonCodes.add(disapprovalReasonCodesItem);
return this;
}
/**
* <div lang=\"ja\">審査否認の理由コードです。<br> (コード詳細は、DictionaryServiceのgetDisapprovalReasonのレスポンスを参照)<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Code of Disapproval reason.<br> (Refer to DictionaryService getDisapprovalReason response for details) <br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return disapprovalReasonCodes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "審査否認の理由コードです。
(コード詳細は、DictionaryServiceのgetDisapprovalReasonのレスポンスを参照)
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Code of Disapproval reason.
(Refer to DictionaryService getDisapprovalReason response for details)
Although this field will be returned in the response, it will be ignored on input. ")
@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 AdGroupAd feedId(Long feedId) {
this.feedId = feedId;
return this;
}
/**
* <div lang=\"ja\">フィードIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Feed ID.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return feedId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "フィードIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Feed ID.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_FEED_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getFeedId() {
return feedId;
}
@JsonProperty(JSON_PROPERTY_FEED_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFeedId(Long feedId) {
this.feedId = feedId;
}
public AdGroupAd invalidedTrademarks(List invalidedTrademarks) {
this.invalidedTrademarks = invalidedTrademarks;
return this;
}
public AdGroupAd addInvalidedTrademarksItem(String invalidedTrademarksItem) {
if (this.invalidedTrademarks == null) {
this.invalidedTrademarks = new ArrayList<>();
}
this.invalidedTrademarks.add(invalidedTrademarksItem);
return this;
}
/**
* <div lang=\"ja\">制限された商標です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Invalided trademarks.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return invalidedTrademarks
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "制限された商標です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Invalided trademarks.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_INVALIDED_TRADEMARKS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getInvalidedTrademarks() {
return invalidedTrademarks;
}
@JsonProperty(JSON_PROPERTY_INVALIDED_TRADEMARKS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setInvalidedTrademarks(List invalidedTrademarks) {
this.invalidedTrademarks = invalidedTrademarks;
}
public AdGroupAd labels(List labels) {
this.labels = labels;
return this;
}
public AdGroupAd addLabelsItem(AdGroupAdServiceLabel labelsItem) {
if (this.labels == null) {
this.labels = new ArrayList<>();
}
this.labels.add(labelsItem);
return this;
}
/**
* Get labels
* @return labels
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_LABELS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getLabels() {
return labels;
}
@JsonProperty(JSON_PROPERTY_LABELS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLabels(List labels) {
this.labels = labels;
}
public AdGroupAd trademarkStatus(AdGroupAdServiceTrademarkStatus trademarkStatus) {
this.trademarkStatus = trademarkStatus;
return this;
}
/**
* Get trademarkStatus
* @return trademarkStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_TRADEMARK_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupAdServiceTrademarkStatus getTrademarkStatus() {
return trademarkStatus;
}
@JsonProperty(JSON_PROPERTY_TRADEMARK_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTrademarkStatus(AdGroupAdServiceTrademarkStatus trademarkStatus) {
this.trademarkStatus = trademarkStatus;
}
public AdGroupAd userStatus(AdGroupAdServiceUserStatus userStatus) {
this.userStatus = userStatus;
return this;
}
/**
* Get userStatus
* @return userStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_USER_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupAdServiceUserStatus getUserStatus() {
return userStatus;
}
@JsonProperty(JSON_PROPERTY_USER_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUserStatus(AdGroupAdServiceUserStatus userStatus) {
this.userStatus = userStatus;
}
public AdGroupAd createdDate(String createdDate) {
this.createdDate = createdDate;
return this;
}
/**
* <div lang=\"ja\">広告が作成された日です。<br>※フォーマット:yyyyMMdd</div> <div lang=\"en\">Date of Ad made.<br>* Format: yyyyMMdd</div>
* @return createdDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "広告が作成された日です。
※フォーマット:yyyyMMdd Date of Ad made.
* Format: yyyyMMdd ")
@JsonProperty(JSON_PROPERTY_CREATED_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCreatedDate() {
return createdDate;
}
@JsonProperty(JSON_PROPERTY_CREATED_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCreatedDate(String createdDate) {
this.createdDate = createdDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdGroupAd adGroupAd = (AdGroupAd) o;
return Objects.equals(this.accountId, adGroupAd.accountId) &&
Objects.equals(this.ad, adGroupAd.ad) &&
Objects.equals(this.adGroupId, adGroupAd.adGroupId) &&
Objects.equals(this.adGroupName, adGroupAd.adGroupName) &&
Objects.equals(this.adGroupTrackId, adGroupAd.adGroupTrackId) &&
Objects.equals(this.adId, adGroupAd.adId) &&
Objects.equals(this.adName, adGroupAd.adName) &&
Objects.equals(this.adTrackId, adGroupAd.adTrackId) &&
Objects.equals(this.approvalStatus, adGroupAd.approvalStatus) &&
Objects.equals(this.campaignId, adGroupAd.campaignId) &&
Objects.equals(this.campaignName, adGroupAd.campaignName) &&
Objects.equals(this.campaignTrackId, adGroupAd.campaignTrackId) &&
Objects.equals(this.disapprovalReasonCodes, adGroupAd.disapprovalReasonCodes) &&
Objects.equals(this.feedId, adGroupAd.feedId) &&
Objects.equals(this.invalidedTrademarks, adGroupAd.invalidedTrademarks) &&
Objects.equals(this.labels, adGroupAd.labels) &&
Objects.equals(this.trademarkStatus, adGroupAd.trademarkStatus) &&
Objects.equals(this.userStatus, adGroupAd.userStatus) &&
Objects.equals(this.createdDate, adGroupAd.createdDate);
}
@Override
public int hashCode() {
return Objects.hash(accountId, ad, adGroupId, adGroupName, adGroupTrackId, adId, adName, adTrackId, approvalStatus, campaignId, campaignName, campaignTrackId, disapprovalReasonCodes, feedId, invalidedTrademarks, labels, trademarkStatus, userStatus, createdDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupAd {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" ad: ").append(toIndentedString(ad)).append("\n");
sb.append(" adGroupId: ").append(toIndentedString(adGroupId)).append("\n");
sb.append(" adGroupName: ").append(toIndentedString(adGroupName)).append("\n");
sb.append(" adGroupTrackId: ").append(toIndentedString(adGroupTrackId)).append("\n");
sb.append(" adId: ").append(toIndentedString(adId)).append("\n");
sb.append(" adName: ").append(toIndentedString(adName)).append("\n");
sb.append(" adTrackId: ").append(toIndentedString(adTrackId)).append("\n");
sb.append(" approvalStatus: ").append(toIndentedString(approvalStatus)).append("\n");
sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n");
sb.append(" campaignName: ").append(toIndentedString(campaignName)).append("\n");
sb.append(" campaignTrackId: ").append(toIndentedString(campaignTrackId)).append("\n");
sb.append(" disapprovalReasonCodes: ").append(toIndentedString(disapprovalReasonCodes)).append("\n");
sb.append(" feedId: ").append(toIndentedString(feedId)).append("\n");
sb.append(" invalidedTrademarks: ").append(toIndentedString(invalidedTrademarks)).append("\n");
sb.append(" labels: ").append(toIndentedString(labels)).append("\n");
sb.append(" trademarkStatus: ").append(toIndentedString(trademarkStatus)).append("\n");
sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n");
sb.append(" createdDate: ").append(toIndentedString(createdDate)).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 ");
}
}