jp.co.yahoo.adssearchapi.v13.model.AdGroupAdServiceDynamicSearchLinkedAd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-search-api-lib Show documentation
Show all versions of ads-search-api-lib Show documentation
Yahoo! JAPAN Ads Search Ads API library for Java
/*
* Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
* Yahoo!広告 検索広告 APIのWebサービスについて説明します。 Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
*
* 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 com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">AdGroupAdServiceDynamicSearchLinkedAdオブジェクトは、動的検索連動型広告を表します。<br> ADD時、このフィールドは省略可能となります。</div> <div lang=\"en\">AdGroupAdServiceDynamicSearchLinkedAd object describes the information of Dynamic Search Ad.<br> This field is optional in ADD operation.</div>
*/
@ApiModel(description = "AdGroupAdServiceDynamicSearchLinkedAdオブジェクトは、動的検索連動型広告を表します。
ADD時、このフィールドは省略可能となります。 AdGroupAdServiceDynamicSearchLinkedAd object describes the information of Dynamic Search Ad.
This field is optional in ADD operation. ")
@JsonPropertyOrder({
AdGroupAdServiceDynamicSearchLinkedAd.JSON_PROPERTY_DESCRIPTION,
AdGroupAdServiceDynamicSearchLinkedAd.JSON_PROPERTY_DESCRIPTION2
})
@JsonTypeName("AdGroupAdServiceDynamicSearchLinkedAd")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupAdServiceDynamicSearchLinkedAd {
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;
public static final String JSON_PROPERTY_DESCRIPTION2 = "description2";
private String description2;
public AdGroupAdServiceDynamicSearchLinkedAd() {
}
public AdGroupAdServiceDynamicSearchLinkedAd 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 AdGroupAdServiceDynamicSearchLinkedAd description2(String description2) {
this.description2 = description2;
return this;
}
/**
* <div lang=\"ja\">説明文2です。<br> ADD時、このフィールドは省略可能となります。その際、デフォルト設定値はnullとなります。</div> <div lang=\"en\">Description2 of the ad.<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となります。 Description2 of the ad.
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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdGroupAdServiceDynamicSearchLinkedAd adGroupAdServiceDynamicSearchLinkedAd = (AdGroupAdServiceDynamicSearchLinkedAd) o;
return Objects.equals(this.description, adGroupAdServiceDynamicSearchLinkedAd.description) &&
Objects.equals(this.description2, adGroupAdServiceDynamicSearchLinkedAd.description2);
}
@Override
public int hashCode() {
return Objects.hash(description, description2);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupAdServiceDynamicSearchLinkedAd {\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 ");
}
}