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

jp.co.yahoo.adssearchapi.v14.model.AdGroupAdServiceExtendedTextAd 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 com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AdGroupAdServiceExtendedTextAdオブジェクトは、拡大テキスト広告に関する情報を表します。<br> ADD時、このフィールドは省略可能となります。※adTypeがEXTENDED_TEXT_ADの場合は必須です。</div> <div lang=\"en\">AdGroupAdServiceExtendedTextAd object describes the information of Extended Text Ad.<br> This field is optional in ADD operation. *If adType is EXTENDED_TEXT_AD, this field is required.</div> */ @ApiModel(description = "
AdGroupAdServiceExtendedTextAdオブジェクトは、拡大テキスト広告に関する情報を表します。
ADD時、このフィールドは省略可能となります。※adTypeがEXTENDED_TEXT_ADの場合は必須です。
AdGroupAdServiceExtendedTextAd object describes the information of Extended Text Ad.
This field is optional in ADD operation. *If adType is EXTENDED_TEXT_AD, this field is required.
") @JsonPropertyOrder({ AdGroupAdServiceExtendedTextAd.JSON_PROPERTY_HEADLINE, AdGroupAdServiceExtendedTextAd.JSON_PROPERTY_HEADLINE2, AdGroupAdServiceExtendedTextAd.JSON_PROPERTY_HEADLINE3, AdGroupAdServiceExtendedTextAd.JSON_PROPERTY_DESCRIPTION, AdGroupAdServiceExtendedTextAd.JSON_PROPERTY_DESCRIPTION2, AdGroupAdServiceExtendedTextAd.JSON_PROPERTY_PATH1, AdGroupAdServiceExtendedTextAd.JSON_PROPERTY_PATH2 }) @JsonTypeName("AdGroupAdServiceExtendedTextAd") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AdGroupAdServiceExtendedTextAd { public static final String JSON_PROPERTY_HEADLINE = "headline"; private String headline; public static final String JSON_PROPERTY_HEADLINE2 = "headline2"; private String headline2; public static final String JSON_PROPERTY_HEADLINE3 = "headline3"; private String headline3; public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; public static final String JSON_PROPERTY_DESCRIPTION2 = "description2"; private String description2; public static final String JSON_PROPERTY_PATH1 = "path1"; private String path1; public static final String JSON_PROPERTY_PATH2 = "path2"; private String path2; public AdGroupAdServiceExtendedTextAd() { } public AdGroupAdServiceExtendedTextAd headline(String headline) { this.headline = headline; return this; } /** * <div lang=\"ja\">タイトル文です。<br> ADD時、このフィールドは必須となります。</div> <div lang=\"en\">Title of ad.<br> This field is required in ADD operation. *If adType is DYNAMIC_SEARCH_LINKED_AD or RESPONSIVE_SEARCH_AD, this field will be ignored.</div> * @return headline **/ @javax.annotation.Nullable @ApiModelProperty(value = "
タイトル文です。
ADD時、このフィールドは必須となります。
Title of ad.
This field is required in ADD operation. *If adType is DYNAMIC_SEARCH_LINKED_AD or RESPONSIVE_SEARCH_AD, this field will be ignored.
") @JsonProperty(JSON_PROPERTY_HEADLINE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getHeadline() { return headline; } @JsonProperty(JSON_PROPERTY_HEADLINE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHeadline(String headline) { this.headline = headline; } public AdGroupAdServiceExtendedTextAd headline2(String headline2) { this.headline2 = headline2; return this; } /** * <div lang=\"ja\">2行目のタイトルです。<br> ADD時、このフィールドは必須となります。</div> <div lang=\"en\">Title on the second line.<br> This field is required in ADD operation.</div> * @return headline2 **/ @javax.annotation.Nullable @ApiModelProperty(value = "
2行目のタイトルです。
ADD時、このフィールドは必須となります。
Title on the second line.
This field is required in ADD operation.
") @JsonProperty(JSON_PROPERTY_HEADLINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getHeadline2() { return headline2; } @JsonProperty(JSON_PROPERTY_HEADLINE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHeadline2(String headline2) { this.headline2 = headline2; } public AdGroupAdServiceExtendedTextAd headline3(String headline3) { this.headline3 = headline3; return this; } /** * <div lang=\"ja\">3行目のタイトルです。<br> ADD時、このフィールドは省略可能となります。その際、デフォルト設定値はnullとなります。</div> <div lang=\"en\">Title on the second line.<br> This field is optional in ADD operation. The default value will be null.</div> * @return headline3 **/ @javax.annotation.Nullable @ApiModelProperty(value = "
3行目のタイトルです。
ADD時、このフィールドは省略可能となります。その際、デフォルト設定値はnullとなります。
Title on the second line.
This field is optional in ADD operation. The default value will be null.
") @JsonProperty(JSON_PROPERTY_HEADLINE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getHeadline3() { return headline3; } @JsonProperty(JSON_PROPERTY_HEADLINE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHeadline3(String headline3) { this.headline3 = headline3; } public AdGroupAdServiceExtendedTextAd description(String description) { this.description = description; return this; } /** * <div lang=\"ja\">説明文です。<br> ADD時、このフィールドは必須となります。<br>自動挿入をサポートしていません。</div> <div lang=\"en\">Description of ad.<br> This field is required in ADD operation. *If adType is RESPONSIVE_SEARCH_AD, this field will be ignored.<br>Does not support Data Auto Insertion.</div> * @return description **/ @javax.annotation.Nullable @ApiModelProperty(value = "
説明文です。
ADD時、このフィールドは必須となります。
自動挿入をサポートしていません。
Description of ad.
This field is required in ADD operation. *If adType is RESPONSIVE_SEARCH_AD, this field will be ignored.
Does not support Data Auto Insertion.
") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getDescription() { return description; } @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } public AdGroupAdServiceExtendedTextAd description2(String description2) { this.description2 = description2; return this; } /** * <div lang=\"ja\">2行目の説明文です。<br> ADD時、このフィールドは省略可能となります。その際、デフォルト設定値はnullとなります。</div> <div lang=\"en\">Description on the second line.<br> This field is optional in ADD operation. The default value will be null.</div> * @return description2 **/ @javax.annotation.Nullable @ApiModelProperty(value = "
2行目の説明文です。
ADD時、このフィールドは省略可能となります。その際、デフォルト設定値はnullとなります。
Description on the second line.
This field is optional in ADD operation. The default value will be null.
") @JsonProperty(JSON_PROPERTY_DESCRIPTION2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getDescription2() { return description2; } @JsonProperty(JSON_PROPERTY_DESCRIPTION2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription2(String description2) { this.description2 = description2; } public AdGroupAdServiceExtendedTextAd path1(String path1) { this.path1 = path1; return this; } /** * <div lang=\"ja\">自動作成される表示URLを補足するパスです。<br> ADD時、このフィールドは省略可能となります。その際、デフォルト設定値はnullとなります。<br>※path2を指定する場合は、path1は必須です。</div> <div lang=\"en\">The path information which complements display URL generated automatically.<br> This field is optional in ADD operation. The default value will be null.<br>*To specify path2, path1 is required.</div> * @return path1 **/ @javax.annotation.Nullable @ApiModelProperty(value = "
自動作成される表示URLを補足するパスです。
ADD時、このフィールドは省略可能となります。その際、デフォルト設定値はnullとなります。
※path2を指定する場合は、path1は必須です。
The path information which complements display URL generated automatically.
This field is optional in ADD operation. The default value will be null.
*To specify path2, path1 is required.
") @JsonProperty(JSON_PROPERTY_PATH1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPath1() { return path1; } @JsonProperty(JSON_PROPERTY_PATH1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPath1(String path1) { this.path1 = path1; } public AdGroupAdServiceExtendedTextAd path2(String path2) { this.path2 = path2; return this; } /** * <div lang=\"ja\">自動作成される表示URLを補足するパスです。<br> ADD時、このフィールドは省略可能となります。その際、デフォルト設定値はnullとなります。<br>※path1を指定していない場合、path2は無視されます。</div> <div lang=\"en\">The path information which complements display URL generated automatically.<br> This field is optional in ADD operation. The default value will be null.<br>*If path1 is not specified, path2 will be ignored.</div> * @return path2 **/ @javax.annotation.Nullable @ApiModelProperty(value = "
自動作成される表示URLを補足するパスです。
ADD時、このフィールドは省略可能となります。その際、デフォルト設定値はnullとなります。
※path1を指定していない場合、path2は無視されます。
The path information which complements display URL generated automatically.
This field is optional in ADD operation. The default value will be null.
*If path1 is not specified, path2 will be ignored.
") @JsonProperty(JSON_PROPERTY_PATH2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPath2() { return path2; } @JsonProperty(JSON_PROPERTY_PATH2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPath2(String path2) { this.path2 = path2; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AdGroupAdServiceExtendedTextAd adGroupAdServiceExtendedTextAd = (AdGroupAdServiceExtendedTextAd) o; return Objects.equals(this.headline, adGroupAdServiceExtendedTextAd.headline) && Objects.equals(this.headline2, adGroupAdServiceExtendedTextAd.headline2) && Objects.equals(this.headline3, adGroupAdServiceExtendedTextAd.headline3) && Objects.equals(this.description, adGroupAdServiceExtendedTextAd.description) && Objects.equals(this.description2, adGroupAdServiceExtendedTextAd.description2) && Objects.equals(this.path1, adGroupAdServiceExtendedTextAd.path1) && Objects.equals(this.path2, adGroupAdServiceExtendedTextAd.path2); } @Override public int hashCode() { return Objects.hash(headline, headline2, headline3, description, description2, path1, path2); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AdGroupAdServiceExtendedTextAd {\n"); sb.append(" headline: ").append(toIndentedString(headline)).append("\n"); sb.append(" headline2: ").append(toIndentedString(headline2)).append("\n"); sb.append(" headline3: ").append(toIndentedString(headline3)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" description2: ").append(toIndentedString(description2)).append("\n"); sb.append(" path1: ").append(toIndentedString(path1)).append("\n"); sb.append(" path2: ").append(toIndentedString(path2)).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