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

jp.co.yahoo.adssearchapi.v12.model.AdGroupCustomizer 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.AdGroupCustomizerServiceApprovalStatus; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AdGroupCustomizerオブジェクトは、広告グループとカスタマイザー属性間の設定情報を格納します。</div> <div lang=\"en\">AdGroupCustomizer object contains the configuration information between the adgroup and the customizer attribute.</div> */ @ApiModel(description = "
AdGroupCustomizerオブジェクトは、広告グループとカスタマイザー属性間の設定情報を格納します。
AdGroupCustomizer object contains the configuration information between the adgroup and the customizer attribute.
") @JsonPropertyOrder({ AdGroupCustomizer.JSON_PROPERTY_ACCOUNT_ID, AdGroupCustomizer.JSON_PROPERTY_AD_GROUP_ID, AdGroupCustomizer.JSON_PROPERTY_CUSTOMIZER_ATTRIBUTE_ID, AdGroupCustomizer.JSON_PROPERTY_VALUE, AdGroupCustomizer.JSON_PROPERTY_APPROVAL_STATUS, AdGroupCustomizer.JSON_PROPERTY_DISAPPROVAL_REASON_CODES }) @JsonTypeName("AdGroupCustomizer") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AdGroupCustomizer { public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; private Long accountId; public static final String JSON_PROPERTY_AD_GROUP_ID = "adGroupId"; private Long adGroupId; public static final String JSON_PROPERTY_CUSTOMIZER_ATTRIBUTE_ID = "customizerAttributeId"; private Long customizerAttributeId; public static final String JSON_PROPERTY_VALUE = "value"; private String value; public static final String JSON_PROPERTY_APPROVAL_STATUS = "approvalStatus"; private AdGroupCustomizerServiceApprovalStatus approvalStatus; public static final String JSON_PROPERTY_DISAPPROVAL_REASON_CODES = "disapprovalReasonCodes"; private List disapprovalReasonCodes = null; public AdGroupCustomizer() { } public AdGroupCustomizer 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 AdGroupCustomizer adGroupId(Long adGroupId) { this.adGroupId = adGroupId; return this; } /** * <div lang=\"ja\">広告グループIDです。<br> ADDおよびREMOVE時、このフィールドは必須となります。</div> <div lang=\"en\">Ad group ID.<br> This field is required in ADD and REMOVE operation.</div> * @return adGroupId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
広告グループIDです。
ADDおよびREMOVE時、このフィールドは必須となります。
Ad group ID.
This field is required in ADD and REMOVE operation.
") @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 AdGroupCustomizer customizerAttributeId(Long customizerAttributeId) { this.customizerAttributeId = customizerAttributeId; return this; } /** * <div lang=\"ja\">カスタマイザー属性IDです。<br> ADDおよびREMOVE時、このフィールドは必須となります。</div> <div lang=\"en\">CustomizerAttribute ID.<br> This field is required in ADD and REMOVE operation.</div> * @return customizerAttributeId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
カスタマイザー属性IDです。
ADDおよびREMOVE時、このフィールドは必須となります。
CustomizerAttribute ID.
This field is required in ADD and REMOVE operation.
") @JsonProperty(JSON_PROPERTY_CUSTOMIZER_ATTRIBUTE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getCustomizerAttributeId() { return customizerAttributeId; } @JsonProperty(JSON_PROPERTY_CUSTOMIZER_ATTRIBUTE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomizerAttributeId(Long customizerAttributeId) { this.customizerAttributeId = customizerAttributeId; } public AdGroupCustomizer value(String value) { this.value = value; return this; } /** * <div lang=\"ja\">属性値です。挿入用広告に挿入されます。<br> 入力仕様の詳細は以下のヘルプを参照してください。<br> ・<a href=\"https://ads-help.yahoo-net.jp/s/article/H000044225?language=ja\">アドカスタマイザー属性を関連付ける</a><br> ADD時、このフィールドは必須となります。</div> <div lang=\"en\">The attribute value. It will be inserted into the ad for insertion.<br> See also the help below.<br> * <a href=\"https://ads-help.yahoo-net.jp/s/article/H000044225?language=en_US\">Associate ad customizer attributes</a><br> This field is required in ADD operation.</div> * @return value **/ @javax.annotation.Nullable @ApiModelProperty(value = "
属性値です。挿入用広告に挿入されます。
入力仕様の詳細は以下のヘルプを参照してください。
アドカスタマイザー属性を関連付ける
ADD時、このフィールドは必須となります。
The attribute value. It will be inserted into the ad for insertion.
See also the help below.
* Associate ad customizer attributes
This field is required in ADD operation.
") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getValue() { return value; } @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValue(String value) { this.value = value; } public AdGroupCustomizer approvalStatus(AdGroupCustomizerServiceApprovalStatus 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 AdGroupCustomizerServiceApprovalStatus getApprovalStatus() { return approvalStatus; } @JsonProperty(JSON_PROPERTY_APPROVAL_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setApprovalStatus(AdGroupCustomizerServiceApprovalStatus approvalStatus) { this.approvalStatus = approvalStatus; } public AdGroupCustomizer disapprovalReasonCodes(List disapprovalReasonCodes) { this.disapprovalReasonCodes = disapprovalReasonCodes; return this; } public AdGroupCustomizer addDisapprovalReasonCodesItem(String disapprovalReasonCodesItem) { if (this.disapprovalReasonCodes == null) { this.disapprovalReasonCodes = new ArrayList<>(); } this.disapprovalReasonCodes.add(disapprovalReasonCodesItem); return this; } /** * <div lang=\"ja\">審査否認理由です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Reject reason on editorial review.<br> Although this field will be returned in the response, it will be ignored on input.</div> * @return disapprovalReasonCodes **/ @javax.annotation.Nullable @ApiModelProperty(value = "
審査否認理由です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
Reject reason on editorial review.
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; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AdGroupCustomizer adGroupCustomizer = (AdGroupCustomizer) o; return Objects.equals(this.accountId, adGroupCustomizer.accountId) && Objects.equals(this.adGroupId, adGroupCustomizer.adGroupId) && Objects.equals(this.customizerAttributeId, adGroupCustomizer.customizerAttributeId) && Objects.equals(this.value, adGroupCustomizer.value) && Objects.equals(this.approvalStatus, adGroupCustomizer.approvalStatus) && Objects.equals(this.disapprovalReasonCodes, adGroupCustomizer.disapprovalReasonCodes); } @Override public int hashCode() { return Objects.hash(accountId, adGroupId, customizerAttributeId, value, approvalStatus, disapprovalReasonCodes); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AdGroupCustomizer {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" adGroupId: ").append(toIndentedString(adGroupId)).append("\n"); sb.append(" customizerAttributeId: ").append(toIndentedString(customizerAttributeId)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append(" approvalStatus: ").append(toIndentedString(approvalStatus)).append("\n"); sb.append(" disapprovalReasonCodes: ").append(toIndentedString(disapprovalReasonCodes)).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