
jp.co.yahoo.adsdisplayapi.v14.model.AudienceListServiceCombinationAudienceList 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: 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 java.util.ArrayList;
import java.util.List;
import jp.co.yahoo.adsdisplayapi.v14.model.AudienceListServiceCombination;
import jp.co.yahoo.adsdisplayapi.v14.model.AudienceListServiceContainDataConnectionStopped;
import jp.co.yahoo.adsdisplayapi.v14.model.AudienceListServiceContainUnavailableAdActionUserListFlg;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\"> AudienceListServiceCombinationAudienceListオブジェクトは、オーディエンスリストの組み合わせ情報のリストを表します。<br> このフィールドは、ADDおよびSET時に省略可能となります。<br> ※audienceListTypeがCOMBINATIONの場合は、ADDおよびSET時に必須となります。 </div> <div lang=\"en\"> AudienceListServiceCombinationAudienceList object is a container for storing list of combination of audience list information. <br> This field is optional in ADD and SET operation. <br> *If audienceListType is COMBINATION, this field is required in ADD and SET operation. </div>
*/
@ApiModel(description = " AudienceListServiceCombinationAudienceListオブジェクトは、オーディエンスリストの組み合わせ情報のリストを表します。
このフィールドは、ADDおよびSET時に省略可能となります。
※audienceListTypeがCOMBINATIONの場合は、ADDおよびSET時に必須となります。 AudienceListServiceCombinationAudienceList object is a container for storing list of combination of audience list information.
This field is optional in ADD and SET operation.
*If audienceListType is COMBINATION, this field is required in ADD and SET operation. ")
@JsonPropertyOrder({
AudienceListServiceCombinationAudienceList.JSON_PROPERTY_COMBINATIONS,
AudienceListServiceCombinationAudienceList.JSON_PROPERTY_CONTAIN_UNAVAILABLE_AD_ACTION_USER_LIST_FLG,
AudienceListServiceCombinationAudienceList.JSON_PROPERTY_CONTAIN_DATA_CONNECTION_STOPPED
})
@JsonTypeName("AudienceListServiceCombinationAudienceList")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AudienceListServiceCombinationAudienceList {
public static final String JSON_PROPERTY_COMBINATIONS = "combinations";
private List combinations = null;
public static final String JSON_PROPERTY_CONTAIN_UNAVAILABLE_AD_ACTION_USER_LIST_FLG = "containUnavailableAdActionUserListFlg";
private AudienceListServiceContainUnavailableAdActionUserListFlg containUnavailableAdActionUserListFlg;
public static final String JSON_PROPERTY_CONTAIN_DATA_CONNECTION_STOPPED = "containDataConnectionStopped";
private AudienceListServiceContainDataConnectionStopped containDataConnectionStopped;
public AudienceListServiceCombinationAudienceList() {
}
public AudienceListServiceCombinationAudienceList combinations(List combinations) {
this.combinations = combinations;
return this;
}
public AudienceListServiceCombinationAudienceList addCombinationsItem(AudienceListServiceCombination combinationsItem) {
if (this.combinations == null) {
this.combinations = new ArrayList<>();
}
this.combinations.add(combinationsItem);
return this;
}
/**
* Get combinations
* @return combinations
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_COMBINATIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getCombinations() {
return combinations;
}
@JsonProperty(JSON_PROPERTY_COMBINATIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCombinations(List combinations) {
this.combinations = combinations;
}
public AudienceListServiceCombinationAudienceList containUnavailableAdActionUserListFlg(AudienceListServiceContainUnavailableAdActionUserListFlg containUnavailableAdActionUserListFlg) {
this.containUnavailableAdActionUserListFlg = containUnavailableAdActionUserListFlg;
return this;
}
/**
* Get containUnavailableAdActionUserListFlg
* @return containUnavailableAdActionUserListFlg
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CONTAIN_UNAVAILABLE_AD_ACTION_USER_LIST_FLG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AudienceListServiceContainUnavailableAdActionUserListFlg getContainUnavailableAdActionUserListFlg() {
return containUnavailableAdActionUserListFlg;
}
@JsonProperty(JSON_PROPERTY_CONTAIN_UNAVAILABLE_AD_ACTION_USER_LIST_FLG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setContainUnavailableAdActionUserListFlg(AudienceListServiceContainUnavailableAdActionUserListFlg containUnavailableAdActionUserListFlg) {
this.containUnavailableAdActionUserListFlg = containUnavailableAdActionUserListFlg;
}
public AudienceListServiceCombinationAudienceList containDataConnectionStopped(AudienceListServiceContainDataConnectionStopped containDataConnectionStopped) {
this.containDataConnectionStopped = containDataConnectionStopped;
return this;
}
/**
* Get containDataConnectionStopped
* @return containDataConnectionStopped
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CONTAIN_DATA_CONNECTION_STOPPED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AudienceListServiceContainDataConnectionStopped getContainDataConnectionStopped() {
return containDataConnectionStopped;
}
@JsonProperty(JSON_PROPERTY_CONTAIN_DATA_CONNECTION_STOPPED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setContainDataConnectionStopped(AudienceListServiceContainDataConnectionStopped containDataConnectionStopped) {
this.containDataConnectionStopped = containDataConnectionStopped;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AudienceListServiceCombinationAudienceList audienceListServiceCombinationAudienceList = (AudienceListServiceCombinationAudienceList) o;
return Objects.equals(this.combinations, audienceListServiceCombinationAudienceList.combinations) &&
Objects.equals(this.containUnavailableAdActionUserListFlg, audienceListServiceCombinationAudienceList.containUnavailableAdActionUserListFlg) &&
Objects.equals(this.containDataConnectionStopped, audienceListServiceCombinationAudienceList.containDataConnectionStopped);
}
@Override
public int hashCode() {
return Objects.hash(combinations, containUnavailableAdActionUserListFlg, containDataConnectionStopped);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AudienceListServiceCombinationAudienceList {\n");
sb.append(" combinations: ").append(toIndentedString(combinations)).append("\n");
sb.append(" containUnavailableAdActionUserListFlg: ").append(toIndentedString(containUnavailableAdActionUserListFlg)).append("\n");
sb.append(" containDataConnectionStopped: ").append(toIndentedString(containDataConnectionStopped)).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