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

jp.co.yahoo.adsdisplayapi.v14.model.AdGroupAdServiceTextAd Maven / Gradle / Ivy

The newest version!
/*
 * Yahoo!広告 ディスプレイ広告 API リファレンス / Yahoo! JAPAN Ads Display Ads API Reference
 * 
Yahoo!広告 ディスプレイ広告 APIのWebサービスについて説明します。
Display Ads API Web Services supported in Yahoo! JAPAN Ads API.
* * 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.adsdisplayapi.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\"> AdGroupAdServiceTextAdオブジェクトは、テキスト広告の情報を表します。<br> このフィールドは、省略可能となります。<br> ※ADD時、adTypeがTEXT_ADの場合は必須です。 </div> <div lang=\"en\"> AdGroupAdServiceTextAd object describes the Text Ad information.<br> This field is optional.<br> *If adType is TEXT_AD, this field is required in ADD operation. </div> */ @ApiModel(description = "
AdGroupAdServiceTextAdオブジェクトは、テキスト広告の情報を表します。
このフィールドは、省略可能となります。
※ADD時、adTypeがTEXT_ADの場合は必須です。
AdGroupAdServiceTextAd object describes the Text Ad information.
This field is optional.
*If adType is TEXT_AD, this field is required in ADD operation.
") @JsonPropertyOrder({ AdGroupAdServiceTextAd.JSON_PROPERTY_DESCRIPTION, AdGroupAdServiceTextAd.JSON_PROPERTY_DESCRIPTION2, AdGroupAdServiceTextAd.JSON_PROPERTY_HEADLINE }) @JsonTypeName("AdGroupAdServiceTextAd") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AdGroupAdServiceTextAd { 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_HEADLINE = "headline"; private String headline; public AdGroupAdServiceTextAd() { } public AdGroupAdServiceTextAd description(String description) { this.description = description; return this; } /** * <div lang=\"ja\"> 説明文(1行目)です。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Description text (line 1).<br> This field is required in ADD operation, and will be optional in SET operation. </div> * @return description **/ @javax.annotation.Nullable @ApiModelProperty(value = "
説明文(1行目)です。
このフィールドは、ADD時は必須となり、SET時は省略可能となります。
Description text (line 1).
This field is required in ADD operation, and will be optional in SET operation.
") @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 AdGroupAdServiceTextAd description2(String description2) { this.description2 = description2; return this; } /** * <div lang=\"ja\"> 説明文(2行目)です。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Description text (line 2).<br> This field is optional in ADD and SET operation. </div> * @return description2 **/ @javax.annotation.Nullable @ApiModelProperty(value = "
説明文(2行目)です。
ADDおよびSET時、このフィールドは省略可能となります。
Description text (line 2).
This field is optional in ADD and SET operation.
") @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 AdGroupAdServiceTextAd headline(String headline) { this.headline = headline; return this; } /** * <div lang=\"ja\"> タイトルです。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Title.<br> This field is required in ADD operation, and will be optional in SET operation. </div> * @return headline **/ @javax.annotation.Nullable @ApiModelProperty(value = "
タイトルです。
このフィールドは、ADD時は必須となり、SET時は省略可能となります。
Title.
This field is required in ADD operation, and will be optional in SET operation.
") @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; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AdGroupAdServiceTextAd adGroupAdServiceTextAd = (AdGroupAdServiceTextAd) o; return Objects.equals(this.description, adGroupAdServiceTextAd.description) && Objects.equals(this.description2, adGroupAdServiceTextAd.description2) && Objects.equals(this.headline, adGroupAdServiceTextAd.headline); } @Override public int hashCode() { return Objects.hash(description, description2, headline); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AdGroupAdServiceTextAd {\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" description2: ").append(toIndentedString(description2)).append("\n"); sb.append(" headline: ").append(toIndentedString(headline)).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 - 2025 Weber Informatics LLC | Privacy Policy