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

jp.co.yahoo.adssearchapi.v12.model.CampaignCriterionServiceCriterion Maven / Gradle / Ivy

There is a newer version: 8.1.1-spring5
Show newest version
/*
 * Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
 * 
Yahoo!広告 検索広告 APIのWebサービスについて説明します。
Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
OpenAPI Specification
Best Practice
Best Practice
* * The version of the OpenAPI document: v12 * * * 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.adssearchapi.v12.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.adssearchapi.v12.model.CampaignCriterionServiceCriterionType; import jp.co.yahoo.adssearchapi.v12.model.CampaignCriterionServiceKeyword; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">CampaignCriterionServiceCriterionオブジェクトは、クライテリアを表します。※キャンペーン用クライテリアです。<br> ADD時およびREMOVE時、このフィールドは必須です。</div> <div lang=\"en\">CampaignCriterionServiceCriterion object describes criteria information. *This is a criteria for campaign.<br> This field is required in ADD and REMOVE operation.</div> */ @ApiModel(description = "
CampaignCriterionServiceCriterionオブジェクトは、クライテリアを表します。※キャンペーン用クライテリアです。
ADD時およびREMOVE時、このフィールドは必須です。
CampaignCriterionServiceCriterion object describes criteria information. *This is a criteria for campaign.
This field is required in ADD and REMOVE operation.
") @JsonPropertyOrder({ CampaignCriterionServiceCriterion.JSON_PROPERTY_CRITERION_ID, CampaignCriterionServiceCriterion.JSON_PROPERTY_CRITERION_TRACK_ID, CampaignCriterionServiceCriterion.JSON_PROPERTY_CRITERION_TYPE, CampaignCriterionServiceCriterion.JSON_PROPERTY_KEYWORD }) @JsonTypeName("CampaignCriterionServiceCriterion") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class CampaignCriterionServiceCriterion { public static final String JSON_PROPERTY_CRITERION_ID = "criterionId"; private Long criterionId; public static final String JSON_PROPERTY_CRITERION_TRACK_ID = "criterionTrackId"; private Long criterionTrackId; public static final String JSON_PROPERTY_CRITERION_TYPE = "criterionType"; private CampaignCriterionServiceCriterionType criterionType; public static final String JSON_PROPERTY_KEYWORD = "keyword"; private CampaignCriterionServiceKeyword keyword; public CampaignCriterionServiceCriterion() { } public CampaignCriterionServiceCriterion criterionId(Long criterionId) { this.criterionId = criterionId; return this; } /** * <div lang=\"ja\">クライテリアIDです。<br> REMOVE時、このフィールドは必須です。</div> <div lang=\"en\">CampaignCriterionServiceCriterion ID.<br> This field is required in REMOVE operation.</div> * @return criterionId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
クライテリアIDです。
REMOVE時、このフィールドは必須です。
CampaignCriterionServiceCriterion ID.
This field is required in REMOVE operation.
") @JsonProperty(JSON_PROPERTY_CRITERION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getCriterionId() { return criterionId; } @JsonProperty(JSON_PROPERTY_CRITERION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCriterionId(Long criterionId) { this.criterionId = criterionId; } public CampaignCriterionServiceCriterion criterionTrackId(Long criterionTrackId) { this.criterionTrackId = criterionTrackId; return this; } /** * <div lang=\"ja\">クライテリオントラックIDです。<br> 対象外キーワードでは返却されません。</div> <div lang=\"en\">CampaignCriterionServiceCriterion track ID.<br> This is not returned for Negative keyword.</div> * @return criterionTrackId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
クライテリオントラックIDです。
対象外キーワードでは返却されません。
CampaignCriterionServiceCriterion track ID.
This is not returned for Negative keyword.
") @JsonProperty(JSON_PROPERTY_CRITERION_TRACK_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getCriterionTrackId() { return criterionTrackId; } @JsonProperty(JSON_PROPERTY_CRITERION_TRACK_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCriterionTrackId(Long criterionTrackId) { this.criterionTrackId = criterionTrackId; } public CampaignCriterionServiceCriterion criterionType(CampaignCriterionServiceCriterionType criterionType) { this.criterionType = criterionType; return this; } /** * Get criterionType * @return criterionType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CRITERION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignCriterionServiceCriterionType getCriterionType() { return criterionType; } @JsonProperty(JSON_PROPERTY_CRITERION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCriterionType(CampaignCriterionServiceCriterionType criterionType) { this.criterionType = criterionType; } public CampaignCriterionServiceCriterion keyword(CampaignCriterionServiceKeyword keyword) { this.keyword = keyword; return this; } /** * Get keyword * @return keyword **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_KEYWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignCriterionServiceKeyword getKeyword() { return keyword; } @JsonProperty(JSON_PROPERTY_KEYWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setKeyword(CampaignCriterionServiceKeyword keyword) { this.keyword = keyword; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } CampaignCriterionServiceCriterion campaignCriterionServiceCriterion = (CampaignCriterionServiceCriterion) o; return Objects.equals(this.criterionId, campaignCriterionServiceCriterion.criterionId) && Objects.equals(this.criterionTrackId, campaignCriterionServiceCriterion.criterionTrackId) && Objects.equals(this.criterionType, campaignCriterionServiceCriterion.criterionType) && Objects.equals(this.keyword, campaignCriterionServiceCriterion.keyword); } @Override public int hashCode() { return Objects.hash(criterionId, criterionTrackId, criterionType, keyword); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignCriterionServiceCriterion {\n"); sb.append(" criterionId: ").append(toIndentedString(criterionId)).append("\n"); sb.append(" criterionTrackId: ").append(toIndentedString(criterionTrackId)).append("\n"); sb.append(" criterionType: ").append(toIndentedString(criterionType)).append("\n"); sb.append(" keyword: ").append(toIndentedString(keyword)).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 - 2024 Weber Informatics LLC | Privacy Policy