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

jp.co.yahoo.adssearchapi.v14.model.AdGroupAdServiceDescriptionTextAsset 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: 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.AdGroupAdServiceApprovalStatus; import jp.co.yahoo.adssearchapi.v14.model.AdGroupAdServiceDescriptionPinnedField; import jp.co.yahoo.adssearchapi.v14.model.AdGroupAdServiceTextAssetActiveStatus; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * AdGroupAdServiceDescriptionTextAsset */ @JsonPropertyOrder({ AdGroupAdServiceDescriptionTextAsset.JSON_PROPERTY_TEXT, AdGroupAdServiceDescriptionTextAsset.JSON_PROPERTY_PINNED_FIELD, AdGroupAdServiceDescriptionTextAsset.JSON_PROPERTY_ACTIVE_STATUS, AdGroupAdServiceDescriptionTextAsset.JSON_PROPERTY_APPROVAL_STATUS, AdGroupAdServiceDescriptionTextAsset.JSON_PROPERTY_DISAPPROVAL_REASON_CODES }) @JsonTypeName("AdGroupAdServiceDescriptionTextAsset") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AdGroupAdServiceDescriptionTextAsset { public static final String JSON_PROPERTY_TEXT = "text"; private String text; public static final String JSON_PROPERTY_PINNED_FIELD = "pinnedField"; private AdGroupAdServiceDescriptionPinnedField pinnedField; public static final String JSON_PROPERTY_ACTIVE_STATUS = "activeStatus"; private AdGroupAdServiceTextAssetActiveStatus activeStatus; public static final String JSON_PROPERTY_APPROVAL_STATUS = "approvalStatus"; private AdGroupAdServiceApprovalStatus approvalStatus; public static final String JSON_PROPERTY_DISAPPROVAL_REASON_CODES = "disapprovalReasonCodes"; private List disapprovalReasonCodes = null; public AdGroupAdServiceDescriptionTextAsset() { } public AdGroupAdServiceDescriptionTextAsset text(String text) { this.text = text; return this; } /** * <div lang=\"ja\">テキストです。<br>ADDおよびSET時、このフィールドは必須となります。</div> <div lang=\"en\">Text of parameter.<br>This field is required in ADD and SET operation.</div> * @return text **/ @javax.annotation.Nullable @ApiModelProperty(value = "
テキストです。
ADDおよびSET時、このフィールドは必須となります。
Text of parameter.
This field is required in ADD and SET operation.
") @JsonProperty(JSON_PROPERTY_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getText() { return text; } @JsonProperty(JSON_PROPERTY_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setText(String text) { this.text = text; } public AdGroupAdServiceDescriptionTextAsset pinnedField(AdGroupAdServiceDescriptionPinnedField pinnedField) { this.pinnedField = pinnedField; return this; } /** * Get pinnedField * @return pinnedField **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PINNED_FIELD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AdGroupAdServiceDescriptionPinnedField getPinnedField() { return pinnedField; } @JsonProperty(JSON_PROPERTY_PINNED_FIELD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPinnedField(AdGroupAdServiceDescriptionPinnedField pinnedField) { this.pinnedField = pinnedField; } public AdGroupAdServiceDescriptionTextAsset activeStatus(AdGroupAdServiceTextAssetActiveStatus activeStatus) { this.activeStatus = activeStatus; return this; } /** * Get activeStatus * @return activeStatus **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACTIVE_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AdGroupAdServiceTextAssetActiveStatus getActiveStatus() { return activeStatus; } @JsonProperty(JSON_PROPERTY_ACTIVE_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActiveStatus(AdGroupAdServiceTextAssetActiveStatus activeStatus) { this.activeStatus = activeStatus; } public AdGroupAdServiceDescriptionTextAsset 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 AdGroupAdServiceDescriptionTextAsset disapprovalReasonCodes(List disapprovalReasonCodes) { this.disapprovalReasonCodes = disapprovalReasonCodes; return this; } public AdGroupAdServiceDescriptionTextAsset 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; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AdGroupAdServiceDescriptionTextAsset adGroupAdServiceDescriptionTextAsset = (AdGroupAdServiceDescriptionTextAsset) o; return Objects.equals(this.text, adGroupAdServiceDescriptionTextAsset.text) && Objects.equals(this.pinnedField, adGroupAdServiceDescriptionTextAsset.pinnedField) && Objects.equals(this.activeStatus, adGroupAdServiceDescriptionTextAsset.activeStatus) && Objects.equals(this.approvalStatus, adGroupAdServiceDescriptionTextAsset.approvalStatus) && Objects.equals(this.disapprovalReasonCodes, adGroupAdServiceDescriptionTextAsset.disapprovalReasonCodes); } @Override public int hashCode() { return Objects.hash(text, pinnedField, activeStatus, approvalStatus, disapprovalReasonCodes); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AdGroupAdServiceDescriptionTextAsset {\n"); sb.append(" text: ").append(toIndentedString(text)).append("\n"); sb.append(" pinnedField: ").append(toIndentedString(pinnedField)).append("\n"); sb.append(" activeStatus: ").append(toIndentedString(activeStatus)).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