![JAR search and dependency download from the Maven repository](/logo.png)
jp.co.yahoo.adsdisplayapi.v13.model.AdGroupTargetServiceContentsTarget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-display-api-lib Show documentation
Show all versions of ads-display-api-lib Show documentation
Yahoo! JAPAN Ads Display Ads API library for Java
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: 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.adsdisplayapi.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.adsdisplayapi.v13.model.AdGroupTargetServiceDeliverType;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\"> AdGroupTargetServiceContentsTargetオブジェクトは、コンテンツターゲティングの設定情報を保持します。<br> ADD、SETおよびREPLACE時、このフィールドは省略可能となります。<br> ※targetTypeがCONTENTS_TARGETの場合は必須です。 </div> <div lang=\"en\"> AdGroupTargetServiceContentsTarget object is a container for storing contents settings.<br> This field is optional in ADD, SET and REPLACE operation.<br> ∗If targetType is CONTENTS_TARGET, this field is required. </div>
*/
@ApiModel(description = " AdGroupTargetServiceContentsTargetオブジェクトは、コンテンツターゲティングの設定情報を保持します。
ADD、SETおよびREPLACE時、このフィールドは省略可能となります。
※targetTypeがCONTENTS_TARGETの場合は必須です。 AdGroupTargetServiceContentsTarget object is a container for storing contents settings.
This field is optional in ADD, SET and REPLACE operation.
∗If targetType is CONTENTS_TARGET, this field is required. ")
@JsonPropertyOrder({
AdGroupTargetServiceContentsTarget.JSON_PROPERTY_DELIVER_TYPE,
AdGroupTargetServiceContentsTarget.JSON_PROPERTY_CONTENTS_KEYWORD_LIST_NAME
})
@JsonTypeName("AdGroupTargetServiceContentsTarget")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupTargetServiceContentsTarget {
public static final String JSON_PROPERTY_DELIVER_TYPE = "deliverType";
private AdGroupTargetServiceDeliverType deliverType;
public static final String JSON_PROPERTY_CONTENTS_KEYWORD_LIST_NAME = "contentsKeywordListName";
private String contentsKeywordListName;
public AdGroupTargetServiceContentsTarget() {
}
public AdGroupTargetServiceContentsTarget deliverType(AdGroupTargetServiceDeliverType deliverType) {
this.deliverType = deliverType;
return this;
}
/**
* Get deliverType
* @return deliverType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DELIVER_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupTargetServiceDeliverType getDeliverType() {
return deliverType;
}
@JsonProperty(JSON_PROPERTY_DELIVER_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeliverType(AdGroupTargetServiceDeliverType deliverType) {
this.deliverType = deliverType;
}
public AdGroupTargetServiceContentsTarget contentsKeywordListName(String contentsKeywordListName) {
this.contentsKeywordListName = contentsKeywordListName;
return this;
}
/**
* <div lang=\"ja\"> コンテンツキーワードリスト名です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Contents keyword list name.<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return contentsKeywordListName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " コンテンツキーワードリスト名です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Contents keyword list name.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_CONTENTS_KEYWORD_LIST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getContentsKeywordListName() {
return contentsKeywordListName;
}
@JsonProperty(JSON_PROPERTY_CONTENTS_KEYWORD_LIST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setContentsKeywordListName(String contentsKeywordListName) {
this.contentsKeywordListName = contentsKeywordListName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdGroupTargetServiceContentsTarget adGroupTargetServiceContentsTarget = (AdGroupTargetServiceContentsTarget) o;
return Objects.equals(this.deliverType, adGroupTargetServiceContentsTarget.deliverType) &&
Objects.equals(this.contentsKeywordListName, adGroupTargetServiceContentsTarget.contentsKeywordListName);
}
@Override
public int hashCode() {
return Objects.hash(deliverType, contentsKeywordListName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupTargetServiceContentsTarget {\n");
sb.append(" deliverType: ").append(toIndentedString(deliverType)).append("\n");
sb.append(" contentsKeywordListName: ").append(toIndentedString(contentsKeywordListName)).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