
jp.co.yahoo.adsdisplayapi.v15.model.AudienceListServiceCustomerDataAudienceList 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: v15
*
*
* 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.v15.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\"> AudienceListServiceCustomerDataAudienceListオブジェクトは、オーディエンスリスト(顧客データ)を表します。<br> このフィールドは、ADDおよびSET時に省略可能となります。<br> ※audienceListTypeがCUSTOMER_DATAの場合は、ADD時に必須となります。 </div> <div lang=\"en\"> AudienceListServiceCustomerDataAudienceList object describes audience list (customer data). This field is optional in ADD and SET operation. <br> *If audienceListType is CUSTOMER_DATA, this field is required in ADD operation. </div>
*/
@ApiModel(description = " AudienceListServiceCustomerDataAudienceListオブジェクトは、オーディエンスリスト(顧客データ)を表します。
このフィールドは、ADDおよびSET時に省略可能となります。
※audienceListTypeがCUSTOMER_DATAの場合は、ADD時に必須となります。 AudienceListServiceCustomerDataAudienceList object describes audience list (customer data). This field is optional in ADD and SET operation.
*If audienceListType is CUSTOMER_DATA, this field is required in ADD operation. ")
@JsonPropertyOrder({
AudienceListServiceCustomerDataAudienceList.JSON_PROPERTY_CUSTOM_AUDIENCE_ID,
AudienceListServiceCustomerDataAudienceList.JSON_PROPERTY_DATA_DURATION
})
@JsonTypeName("AudienceListServiceCustomerDataAudienceList")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AudienceListServiceCustomerDataAudienceList {
public static final String JSON_PROPERTY_CUSTOM_AUDIENCE_ID = "customAudienceId";
private String customAudienceId;
public static final String JSON_PROPERTY_DATA_DURATION = "dataDuration";
private Integer dataDuration;
public AudienceListServiceCustomerDataAudienceList() {
}
public AudienceListServiceCustomerDataAudienceList customAudienceId(String customAudienceId) {
this.customAudienceId = customAudienceId;
return this;
}
/**
* <div lang=\"ja\">カスタムオーディエンスID(サイトリターゲティングID)です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\">Custom audience ID (site retargeting ID).<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return customAudienceId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "カスタムオーディエンスID(サイトリターゲティングID)です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Custom audience ID (site retargeting ID).
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_CUSTOM_AUDIENCE_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCustomAudienceId() {
return customAudienceId;
}
@JsonProperty(JSON_PROPERTY_CUSTOM_AUDIENCE_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCustomAudienceId(String customAudienceId) {
this.customAudienceId = customAudienceId;
}
public AudienceListServiceCustomerDataAudienceList dataDuration(Integer dataDuration) {
this.dataDuration = dataDuration;
return this;
}
/**
* <div lang=\"ja\"> 行動履歴の保持期間です(1日~60日)。<br> このフィールドは、ADD時に必須となります。 </div> <div lang=\"en\"> Duration of user data configured from DMP (1-60days). <br> This field is required in ADD operation. </div>
* @return dataDuration
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 行動履歴の保持期間です(1日~60日)。
このフィールドは、ADD時に必須となります。 Duration of user data configured from DMP (1-60days).
This field is required in ADD operation. ")
@JsonProperty(JSON_PROPERTY_DATA_DURATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getDataDuration() {
return dataDuration;
}
@JsonProperty(JSON_PROPERTY_DATA_DURATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDataDuration(Integer dataDuration) {
this.dataDuration = dataDuration;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AudienceListServiceCustomerDataAudienceList audienceListServiceCustomerDataAudienceList = (AudienceListServiceCustomerDataAudienceList) o;
return Objects.equals(this.customAudienceId, audienceListServiceCustomerDataAudienceList.customAudienceId) &&
Objects.equals(this.dataDuration, audienceListServiceCustomerDataAudienceList.dataDuration);
}
@Override
public int hashCode() {
return Objects.hash(customAudienceId, dataDuration);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AudienceListServiceCustomerDataAudienceList {\n");
sb.append(" customAudienceId: ").append(toIndentedString(customAudienceId)).append("\n");
sb.append(" dataDuration: ").append(toIndentedString(dataDuration)).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