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

jp.co.yahoo.adsdisplayapi.v15.model.AudienceListServiceAdvancedSegmentsAudienceList 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: 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 java.util.ArrayList; import java.util.List; import jp.co.yahoo.adsdisplayapi.v15.model.AudienceListServiceAdvancedSegmentsKeyword; import jp.co.yahoo.adsdisplayapi.v15.model.AudienceListServiceIsCurrentlyTotaling; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\"> AudienceListServiceAdvancedSegmentsAudienceListオブジェクトは、オーディエンスリスト(高度なセグメント)を表します。<br> このフィールドは、ADDおよびSET時に省略可能となります。<br> ※audienceListTypeがADVANCED_SEGMENTSの場合は、ADDおよびSET時に必須となります。 </div> <div lang=\"en\"> AudienceListServiceAdvancedSegmentsAudienceList object describes the audience list (Advanced segments).<br> This field is optional in ADD and SET operation.<br> *If audienceListType is ADVANCED_SEGMENTS, this field is required in ADD and SET operation. </div> */ @ApiModel(description = "
AudienceListServiceAdvancedSegmentsAudienceListオブジェクトは、オーディエンスリスト(高度なセグメント)を表します。
このフィールドは、ADDおよびSET時に省略可能となります。
※audienceListTypeがADVANCED_SEGMENTSの場合は、ADDおよびSET時に必須となります。
AudienceListServiceAdvancedSegmentsAudienceList object describes the audience list (Advanced segments).
This field is optional in ADD and SET operation.
*If audienceListType is ADVANCED_SEGMENTS, this field is required in ADD and SET operation.
") @JsonPropertyOrder({ AudienceListServiceAdvancedSegmentsAudienceList.JSON_PROPERTY_KEYWORDS, AudienceListServiceAdvancedSegmentsAudienceList.JSON_PROPERTY_IS_CURRENTLY_TOTALING }) @JsonTypeName("AudienceListServiceAdvancedSegmentsAudienceList") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AudienceListServiceAdvancedSegmentsAudienceList { public static final String JSON_PROPERTY_KEYWORDS = "keywords"; private List keywords = null; public static final String JSON_PROPERTY_IS_CURRENTLY_TOTALING = "isCurrentlyTotaling"; private AudienceListServiceIsCurrentlyTotaling isCurrentlyTotaling; public AudienceListServiceAdvancedSegmentsAudienceList() { } public AudienceListServiceAdvancedSegmentsAudienceList keywords(List keywords) { this.keywords = keywords; return this; } public AudienceListServiceAdvancedSegmentsAudienceList addKeywordsItem(AudienceListServiceAdvancedSegmentsKeyword keywordsItem) { if (this.keywords == null) { this.keywords = new ArrayList<>(); } this.keywords.add(keywordsItem); return this; } /** * Get keywords * @return keywords **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_KEYWORDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getKeywords() { return keywords; } @JsonProperty(JSON_PROPERTY_KEYWORDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setKeywords(List keywords) { this.keywords = keywords; } public AudienceListServiceAdvancedSegmentsAudienceList isCurrentlyTotaling(AudienceListServiceIsCurrentlyTotaling isCurrentlyTotaling) { this.isCurrentlyTotaling = isCurrentlyTotaling; return this; } /** * Get isCurrentlyTotaling * @return isCurrentlyTotaling **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_IS_CURRENTLY_TOTALING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AudienceListServiceIsCurrentlyTotaling getIsCurrentlyTotaling() { return isCurrentlyTotaling; } @JsonProperty(JSON_PROPERTY_IS_CURRENTLY_TOTALING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIsCurrentlyTotaling(AudienceListServiceIsCurrentlyTotaling isCurrentlyTotaling) { this.isCurrentlyTotaling = isCurrentlyTotaling; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AudienceListServiceAdvancedSegmentsAudienceList audienceListServiceAdvancedSegmentsAudienceList = (AudienceListServiceAdvancedSegmentsAudienceList) o; return Objects.equals(this.keywords, audienceListServiceAdvancedSegmentsAudienceList.keywords) && Objects.equals(this.isCurrentlyTotaling, audienceListServiceAdvancedSegmentsAudienceList.isCurrentlyTotaling); } @Override public int hashCode() { return Objects.hash(keywords, isCurrentlyTotaling); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AudienceListServiceAdvancedSegmentsAudienceList {\n"); sb.append(" keywords: ").append(toIndentedString(keywords)).append("\n"); sb.append(" isCurrentlyTotaling: ").append(toIndentedString(isCurrentlyTotaling)).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