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

jp.co.yahoo.adssearchapi.v13.model.AdGroupAdServiceAppAd 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: v13 * * * 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.v13.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 jp.co.yahoo.adssearchapi.v13.model.AdGroupAdServiceAppStore; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\"> AdGroupAdServiceAppAdオブジェクトは、アプリ向けの広告です。<br> ADD時、このフィールドは省略可能となります。※adTypeがAPP_ADの場合は必須です。</div> <div lang=\"en\">AdGroupAdServiceAppAd object is for Mobile App ads.<br> This field is optional in ADD operation. *If adType is APP_AD, this field is required.</div> */ @ApiModel(description = "
AdGroupAdServiceAppAdオブジェクトは、アプリ向けの広告です。
ADD時、このフィールドは省略可能となります。※adTypeがAPP_ADの場合は必須です。
AdGroupAdServiceAppAd object is for Mobile App ads.
This field is optional in ADD operation. *If adType is APP_AD, this field is required.
") @JsonPropertyOrder({ AdGroupAdServiceAppAd.JSON_PROPERTY_APP_ID, AdGroupAdServiceAppAd.JSON_PROPERTY_APP_STORE, AdGroupAdServiceAppAd.JSON_PROPERTY_HEADLINE, AdGroupAdServiceAppAd.JSON_PROPERTY_DESCRIPTION, AdGroupAdServiceAppAd.JSON_PROPERTY_DESCRIPTION2 }) @JsonTypeName("AdGroupAdServiceAppAd") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AdGroupAdServiceAppAd { public static final String JSON_PROPERTY_APP_ID = "appId"; private String appId; public static final String JSON_PROPERTY_APP_STORE = "appStore"; private AdGroupAdServiceAppStore appStore; public static final String JSON_PROPERTY_HEADLINE = "headline"; private String headline; public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; public static final String JSON_PROPERTY_DESCRIPTION2 = "description2"; private String description2; public AdGroupAdServiceAppAd() { } public AdGroupAdServiceAppAd appId(String appId) { this.appId = appId; return this; } /** * <div lang=\"ja\">アプリIDです。<br> ※アプリキャンペーンの 場合、自動で設定され ます。</div> <div lang=\"en\">App ID.<br> *Automatically set for Mobile app campaign.</div> * @return appId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アプリIDです。
※アプリキャンペーンの 場合、自動で設定され ます。
App ID.
*Automatically set for Mobile app campaign.
") @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAppId() { return appId; } @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppId(String appId) { this.appId = appId; } public AdGroupAdServiceAppAd appStore(AdGroupAdServiceAppStore appStore) { this.appStore = appStore; return this; } /** * Get appStore * @return appStore **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APP_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AdGroupAdServiceAppStore getAppStore() { return appStore; } @JsonProperty(JSON_PROPERTY_APP_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppStore(AdGroupAdServiceAppStore appStore) { this.appStore = appStore; } public AdGroupAdServiceAppAd 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 AdGroupAdServiceAppAd 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 AdGroupAdServiceAppAd description2(String description2) { this.description2 = description2; return this; } /** * <div lang=\"ja\">説明文(2行目)2です。<br> ADD時、このフィールドは必須となります。</div> <div lang=\"en\">Description2 (line2) of the ad.<br> This field is required in ADD operation.</div> * @return description2 **/ @javax.annotation.Nullable @ApiModelProperty(value = "
説明文(2行目)2です。
ADD時、このフィールドは必須となります。
Description2 (line2) of the ad.
This field is required in ADD 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; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AdGroupAdServiceAppAd adGroupAdServiceAppAd = (AdGroupAdServiceAppAd) o; return Objects.equals(this.appId, adGroupAdServiceAppAd.appId) && Objects.equals(this.appStore, adGroupAdServiceAppAd.appStore) && Objects.equals(this.headline, adGroupAdServiceAppAd.headline) && Objects.equals(this.description, adGroupAdServiceAppAd.description) && Objects.equals(this.description2, adGroupAdServiceAppAd.description2); } @Override public int hashCode() { return Objects.hash(appId, appStore, headline, description, description2); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AdGroupAdServiceAppAd {\n"); sb.append(" appId: ").append(toIndentedString(appId)).append("\n"); sb.append(" appStore: ").append(toIndentedString(appStore)).append("\n"); sb.append(" headline: ").append(toIndentedString(headline)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" description2: ").append(toIndentedString(description2)).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