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

jp.co.yahoo.adsdisplayapi.v13.model.AudienceListServiceCombination Maven / Gradle / Ivy

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 java.util.ArrayList; import java.util.List; import jp.co.yahoo.adsdisplayapi.v13.model.AudienceListServiceData; import jp.co.yahoo.adsdisplayapi.v13.model.AudienceListServiceLogicalOperator; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\"> AudienceListServiceCombinationオブジェクトは、オーディエンスリストの組み合わせに関する情報を格納するコンテナです。<br> このフィールドは、ADDおよびSET時に必須となります。 </div> <div lang=\"en\"> AudienceListServiceCombination object is a container for storing combination of audience list information. <br> This field is required in ADD and SET operation. </div> */ @ApiModel(description = "
AudienceListServiceCombinationオブジェクトは、オーディエンスリストの組み合わせに関する情報を格納するコンテナです。
このフィールドは、ADDおよびSET時に必須となります。
AudienceListServiceCombination object is a container for storing combination of audience list information.
This field is required in ADD and SET operation.
") @JsonPropertyOrder({ AudienceListServiceCombination.JSON_PROPERTY_LOGICAL_OPERATOR, AudienceListServiceCombination.JSON_PROPERTY_AUDIENCE_LISTS }) @JsonTypeName("AudienceListServiceCombination") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AudienceListServiceCombination { public static final String JSON_PROPERTY_LOGICAL_OPERATOR = "logicalOperator"; private AudienceListServiceLogicalOperator logicalOperator; public static final String JSON_PROPERTY_AUDIENCE_LISTS = "audienceLists"; private List audienceLists = null; public AudienceListServiceCombination() { } public AudienceListServiceCombination logicalOperator(AudienceListServiceLogicalOperator logicalOperator) { this.logicalOperator = logicalOperator; return this; } /** * Get logicalOperator * @return logicalOperator **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LOGICAL_OPERATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AudienceListServiceLogicalOperator getLogicalOperator() { return logicalOperator; } @JsonProperty(JSON_PROPERTY_LOGICAL_OPERATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLogicalOperator(AudienceListServiceLogicalOperator logicalOperator) { this.logicalOperator = logicalOperator; } public AudienceListServiceCombination audienceLists(List audienceLists) { this.audienceLists = audienceLists; return this; } public AudienceListServiceCombination addAudienceListsItem(AudienceListServiceData audienceListsItem) { if (this.audienceLists == null) { this.audienceLists = new ArrayList<>(); } this.audienceLists.add(audienceListsItem); return this; } /** * Get audienceLists * @return audienceLists **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUDIENCE_LISTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getAudienceLists() { return audienceLists; } @JsonProperty(JSON_PROPERTY_AUDIENCE_LISTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAudienceLists(List audienceLists) { this.audienceLists = audienceLists; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AudienceListServiceCombination audienceListServiceCombination = (AudienceListServiceCombination) o; return Objects.equals(this.logicalOperator, audienceListServiceCombination.logicalOperator) && Objects.equals(this.audienceLists, audienceListServiceCombination.audienceLists); } @Override public int hashCode() { return Objects.hash(logicalOperator, audienceLists); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AudienceListServiceCombination {\n"); sb.append(" logicalOperator: ").append(toIndentedString(logicalOperator)).append("\n"); sb.append(" audienceLists: ").append(toIndentedString(audienceLists)).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