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

jp.co.yahoo.adssearchapi.v14.model.AssetServiceStructuredSnippetAsset 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 com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AssetServiceStructuredSnippetAssetオブジェクトは、カテゴリ補足アセットのアセット情報を格納します。<br> ADD時、このフィールドは省略可能となります。※typeがSTRUCTURED_SNIPPETの場合は必須です。<br> 詳細は以下のヘルプを参照してください。<br> ・<a href=\"https://ads-help.yahoo-net.jp/s/article/H000044718?language=ja\">補足カテゴリーと補足内容の入力例(カテゴリ補足アセット)</a></div> <div lang=\"en\">AssetServiceStructuredSnippetAsset contains Asset value information for category snippet asset.<br> This field is optional in ADD operation. *If type is STRUCTURED_SNIPPET, this field is required.<br> See also the help below.<br> * <a href=\"https://ads-help.yahoo-net.jp/s/article/H000044718?language=en_US\">Example of supplemental category and supplemental text (Category snippet asset)</a></div> */ @ApiModel(description = "
AssetServiceStructuredSnippetAssetオブジェクトは、カテゴリ補足アセットのアセット情報を格納します。
ADD時、このフィールドは省略可能となります。※typeがSTRUCTURED_SNIPPETの場合は必須です。
詳細は以下のヘルプを参照してください。
補足カテゴリーと補足内容の入力例(カテゴリ補足アセット)
AssetServiceStructuredSnippetAsset contains Asset value information for category snippet asset.
This field is optional in ADD operation. *If type is STRUCTURED_SNIPPET, this field is required.
See also the help below.
* Example of supplemental category and supplemental text (Category snippet asset)
") @JsonPropertyOrder({ AssetServiceStructuredSnippetAsset.JSON_PROPERTY_HEADER, AssetServiceStructuredSnippetAsset.JSON_PROPERTY_REVIEW_HEADER, AssetServiceStructuredSnippetAsset.JSON_PROPERTY_VALUES, AssetServiceStructuredSnippetAsset.JSON_PROPERTY_REVIEW_VALUES }) @JsonTypeName("AssetServiceStructuredSnippetAsset") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AssetServiceStructuredSnippetAsset { public static final String JSON_PROPERTY_HEADER = "header"; private String header; public static final String JSON_PROPERTY_REVIEW_HEADER = "reviewHeader"; private String reviewHeader; public static final String JSON_PROPERTY_VALUES = "values"; private List values = null; public static final String JSON_PROPERTY_REVIEW_VALUES = "reviewValues"; private List reviewValues = null; public AssetServiceStructuredSnippetAsset() { } public AssetServiceStructuredSnippetAsset header(String header) { this.header = header; return this; } /** * <div lang=\"ja\">ヘッダーです。<br> ADDおよびSET時、このフィールドは必須となります。</div> <div lang=\"en\">Header.<br> This field is required in ADD and SET operation.</div> * @return header **/ @javax.annotation.Nullable @ApiModelProperty(value = "
ヘッダーです。
ADDおよびSET時、このフィールドは必須となります。
Header.
This field is required in ADD and SET operation.
") @JsonProperty(JSON_PROPERTY_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getHeader() { return header; } @JsonProperty(JSON_PROPERTY_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHeader(String header) { this.header = header; } public AssetServiceStructuredSnippetAsset reviewHeader(String reviewHeader) { this.reviewHeader = reviewHeader; return this; } /** * <div lang=\"ja\">審査中のヘッダーです。<br> このフィールドは、リクエストの際には無視されます。<br> 審査中の間のみ、レスポンスの際に返却されます。</div> <div lang=\"en\">Header on editorial review.<br> This field will be ignored on input.<br> It will be returned at the time of response only during the review.</div> * @return reviewHeader **/ @javax.annotation.Nullable @ApiModelProperty(value = "
審査中のヘッダーです。
このフィールドは、リクエストの際には無視されます。
審査中の間のみ、レスポンスの際に返却されます。
Header on editorial review.
This field will be ignored on input.
It will be returned at the time of response only during the review.
") @JsonProperty(JSON_PROPERTY_REVIEW_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getReviewHeader() { return reviewHeader; } @JsonProperty(JSON_PROPERTY_REVIEW_HEADER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReviewHeader(String reviewHeader) { this.reviewHeader = reviewHeader; } public AssetServiceStructuredSnippetAsset values(List values) { this.values = values; return this; } public AssetServiceStructuredSnippetAsset addValuesItem(String valuesItem) { if (this.values == null) { this.values = new ArrayList<>(); } this.values.add(valuesItem); return this; } /** * <div lang=\"ja\">バリューです。<br> ADDおよびSET時、このフィールドは必須となります。</div> <div lang=\"en\">Value.<br> This field is required in ADD and SET operation.</div> * @return values **/ @javax.annotation.Nullable @ApiModelProperty(value = "
バリューです。
ADDおよびSET時、このフィールドは必須となります。
Value.
This field is required in ADD and SET operation.
") @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getValues() { return values; } @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setValues(List values) { this.values = values; } public AssetServiceStructuredSnippetAsset reviewValues(List reviewValues) { this.reviewValues = reviewValues; return this; } public AssetServiceStructuredSnippetAsset addReviewValuesItem(String reviewValuesItem) { if (this.reviewValues == null) { this.reviewValues = new ArrayList<>(); } this.reviewValues.add(reviewValuesItem); return this; } /** * <div lang=\"ja\">レビュー中のバリューです。<br> このフィールドは、リクエストの際には無視されます。<br> 審査中の間のみ、レスポンスの際に返却されます。</div> <div lang=\"en\">Value on editorial review.<br> This field will be ignored on input.<br> It will be returned at the time of response only during the review.</div> * @return reviewValues **/ @javax.annotation.Nullable @ApiModelProperty(value = "
レビュー中のバリューです。
このフィールドは、リクエストの際には無視されます。
審査中の間のみ、レスポンスの際に返却されます。
Value on editorial review.
This field will be ignored on input.
It will be returned at the time of response only during the review.
") @JsonProperty(JSON_PROPERTY_REVIEW_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getReviewValues() { return reviewValues; } @JsonProperty(JSON_PROPERTY_REVIEW_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReviewValues(List reviewValues) { this.reviewValues = reviewValues; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AssetServiceStructuredSnippetAsset assetServiceStructuredSnippetAsset = (AssetServiceStructuredSnippetAsset) o; return Objects.equals(this.header, assetServiceStructuredSnippetAsset.header) && Objects.equals(this.reviewHeader, assetServiceStructuredSnippetAsset.reviewHeader) && Objects.equals(this.values, assetServiceStructuredSnippetAsset.values) && Objects.equals(this.reviewValues, assetServiceStructuredSnippetAsset.reviewValues); } @Override public int hashCode() { return Objects.hash(header, reviewHeader, values, reviewValues); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AssetServiceStructuredSnippetAsset {\n"); sb.append(" header: ").append(toIndentedString(header)).append("\n"); sb.append(" reviewHeader: ").append(toIndentedString(reviewHeader)).append("\n"); sb.append(" values: ").append(toIndentedString(values)).append("\n"); sb.append(" reviewValues: ").append(toIndentedString(reviewValues)).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