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

jp.co.yahoo.adssearchapi.v12.model.FeedItemServiceFeedAttributeValue 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 com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">FeedItemServiceFeedAttributeValueオブジェクトは、フィードアイテムの属性値を表示します。<br> 更新時にfeedAttributeValueを指定するとすべて上書きされ、未指定のfeedAttributeValueの属性情報は削除されます。<br> feedAttributeValueに空文字を指定すると、下記の場合のみフィードアイテムの属性情報は削除されます。 <table border=\"1\"> <thead> <tr> <th>placeholderType</th> <th>placeholderField</th> </tr> </thead> <tbody> <tr> <td>QUICKLINK</td> <td>ADVANCED_MOBILE_URL</td> </tr> <tr> <td>QUICKLINK</td> <td>TRACKING_URL</td> </tr> <tr> <td>AD_CUTOMIZER</td> <td>any</td> </tr> </tbody> </table> </div> <div lang=\"en\">FeedItemServiceFeedAttributeValue object describes FeedItem attribute value.<br> Upon updating, if feedAttributeValue is specified, the attribute information will be overwritten, but if feedAttributeValue is not specified, it will be deleted.<br> If an empty string is specified in feedAttributeValue, the attribute information of the feed item will be deleted only for the following cases. <table border=\"1\"> <thead> <tr> <th>placeholderType</th> <th>placeholderField</th> </tr> </thead> <tbody> <tr> <td>QUICKLINK</td> <td>ADVANCED_MOBILE_URL</td> </tr> <tr> <td>QUICKLINK</td> <td>TRACKING_URL</td> </tr> <tr> <td>AD_CUTOMIZER</td> <td>any</td> </tr> </tbody> </table> </div> */ @ApiModel(description = "
FeedItemServiceFeedAttributeValueオブジェクトは、フィードアイテムの属性値を表示します。
更新時にfeedAttributeValueを指定するとすべて上書きされ、未指定のfeedAttributeValueの属性情報は削除されます。
feedAttributeValueに空文字を指定すると、下記の場合のみフィードアイテムの属性情報は削除されます。
placeholderType placeholderField
QUICKLINK ADVANCED_MOBILE_URL
QUICKLINK TRACKING_URL
AD_CUTOMIZER any
FeedItemServiceFeedAttributeValue object describes FeedItem attribute value.
Upon updating, if feedAttributeValue is specified, the attribute information will be overwritten, but if feedAttributeValue is not specified, it will be deleted.
If an empty string is specified in feedAttributeValue, the attribute information of the feed item will be deleted only for the following cases.
placeholderType placeholderField
QUICKLINK ADVANCED_MOBILE_URL
QUICKLINK TRACKING_URL
AD_CUTOMIZER any
") @JsonPropertyOrder({ FeedItemServiceFeedAttributeValue.JSON_PROPERTY_DISAPPROVAL_REASON_CODES, FeedItemServiceFeedAttributeValue.JSON_PROPERTY_FEED_ATTRIBUTE_VALUE, FeedItemServiceFeedAttributeValue.JSON_PROPERTY_REVIEW_FEED_ATTRIBUTE_VALUE }) @JsonTypeName("FeedItemServiceFeedAttributeValue") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class FeedItemServiceFeedAttributeValue { public static final String JSON_PROPERTY_DISAPPROVAL_REASON_CODES = "disapprovalReasonCodes"; private List disapprovalReasonCodes = null; public static final String JSON_PROPERTY_FEED_ATTRIBUTE_VALUE = "feedAttributeValue"; private String feedAttributeValue; public static final String JSON_PROPERTY_REVIEW_FEED_ATTRIBUTE_VALUE = "reviewFeedAttributeValue"; private String reviewFeedAttributeValue; public FeedItemServiceFeedAttributeValue() { } public FeedItemServiceFeedAttributeValue disapprovalReasonCodes(List disapprovalReasonCodes) { this.disapprovalReasonCodes = disapprovalReasonCodes; return this; } public FeedItemServiceFeedAttributeValue 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 code of 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 code of 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; } public FeedItemServiceFeedAttributeValue feedAttributeValue(String feedAttributeValue) { this.feedAttributeValue = feedAttributeValue; return this; } /** * <div lang=\"ja\">フィードアイテムの属性値です。<br> このフィールドは、ADDおよびSET時に必須となり、REMOVE時は無視されます。</div> <div lang=\"en\">FeedItem attribute value.<br> This field is required in ADD and SET operation, and will be ignored in REMOVE operation.</div> * @return feedAttributeValue **/ @javax.annotation.Nullable @ApiModelProperty(value = "
フィードアイテムの属性値です。
このフィールドは、ADDおよびSET時に必須となり、REMOVE時は無視されます。
FeedItem attribute value.
This field is required in ADD and SET operation, and will be ignored in REMOVE operation.
") @JsonProperty(JSON_PROPERTY_FEED_ATTRIBUTE_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFeedAttributeValue() { return feedAttributeValue; } @JsonProperty(JSON_PROPERTY_FEED_ATTRIBUTE_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFeedAttributeValue(String feedAttributeValue) { this.feedAttributeValue = feedAttributeValue; } public FeedItemServiceFeedAttributeValue reviewFeedAttributeValue(String reviewFeedAttributeValue) { this.reviewFeedAttributeValue = reviewFeedAttributeValue; return this; } /** * <div lang=\"ja\">レビュー中のフィードアイテムの属性値です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">FeedItem attribute value in review.<br> Although this field will be returned in the response, it will be ignored on input.</div> * @return reviewFeedAttributeValue **/ @javax.annotation.Nullable @ApiModelProperty(value = "
レビュー中のフィードアイテムの属性値です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
FeedItem attribute value in review.
Although this field will be returned in the response, it will be ignored on input.
") @JsonProperty(JSON_PROPERTY_REVIEW_FEED_ATTRIBUTE_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getReviewFeedAttributeValue() { return reviewFeedAttributeValue; } @JsonProperty(JSON_PROPERTY_REVIEW_FEED_ATTRIBUTE_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReviewFeedAttributeValue(String reviewFeedAttributeValue) { this.reviewFeedAttributeValue = reviewFeedAttributeValue; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } FeedItemServiceFeedAttributeValue feedItemServiceFeedAttributeValue = (FeedItemServiceFeedAttributeValue) o; return Objects.equals(this.disapprovalReasonCodes, feedItemServiceFeedAttributeValue.disapprovalReasonCodes) && Objects.equals(this.feedAttributeValue, feedItemServiceFeedAttributeValue.feedAttributeValue) && Objects.equals(this.reviewFeedAttributeValue, feedItemServiceFeedAttributeValue.reviewFeedAttributeValue); } @Override public int hashCode() { return Objects.hash(disapprovalReasonCodes, feedAttributeValue, reviewFeedAttributeValue); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class FeedItemServiceFeedAttributeValue {\n"); sb.append(" disapprovalReasonCodes: ").append(toIndentedString(disapprovalReasonCodes)).append("\n"); sb.append(" feedAttributeValue: ").append(toIndentedString(feedAttributeValue)).append("\n"); sb.append(" reviewFeedAttributeValue: ").append(toIndentedString(reviewFeedAttributeValue)).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