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

jp.co.yahoo.adssearchapi.v13.model.BiddingStrategy Maven / Gradle / Ivy

The 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: 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.adssearchapi.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 jp.co.yahoo.adssearchapi.v13.model.BiddingStrategyServiceBiddingScheme; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">BiddingStrategyオブジェクトは、入札戦略を表します。</div> <div lang=\"en\">Bidding strategy object displays the type of bid strategy.</div> */ @ApiModel(description = "
BiddingStrategyオブジェクトは、入札戦略を表します。
Bidding strategy object displays the type of bid strategy.
") @JsonPropertyOrder({ BiddingStrategy.JSON_PROPERTY_ACCOUNT_ID, BiddingStrategy.JSON_PROPERTY_BIDDING_SCHEME, BiddingStrategy.JSON_PROPERTY_PORTFOLIO_BIDDING_ID, BiddingStrategy.JSON_PROPERTY_PORTFOLIO_BIDDING_NAME }) @JsonTypeName("BiddingStrategy") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class BiddingStrategy { public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; private Long accountId; public static final String JSON_PROPERTY_BIDDING_SCHEME = "biddingScheme"; private BiddingStrategyServiceBiddingScheme biddingScheme; public static final String JSON_PROPERTY_PORTFOLIO_BIDDING_ID = "portfolioBiddingId"; private Long portfolioBiddingId; public static final String JSON_PROPERTY_PORTFOLIO_BIDDING_NAME = "portfolioBiddingName"; private String portfolioBiddingName; public BiddingStrategy() { } public BiddingStrategy accountId(Long accountId) { this.accountId = accountId; return this; } /** * <div lang=\"ja\">アカウントIDです。<br> このフィールドは、いずれの場合でも必須です。</div> <div lang=\"en\">Account ID.<br> This field is required in any cases.</div> * @return accountId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウントIDです。
このフィールドは、いずれの場合でも必須です。
Account ID.
This field is required in any cases.
") @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getAccountId() { return accountId; } @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountId(Long accountId) { this.accountId = accountId; } public BiddingStrategy biddingScheme(BiddingStrategyServiceBiddingScheme biddingScheme) { this.biddingScheme = biddingScheme; return this; } /** * Get biddingScheme * @return biddingScheme **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BIDDING_SCHEME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BiddingStrategyServiceBiddingScheme getBiddingScheme() { return biddingScheme; } @JsonProperty(JSON_PROPERTY_BIDDING_SCHEME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBiddingScheme(BiddingStrategyServiceBiddingScheme biddingScheme) { this.biddingScheme = biddingScheme; } public BiddingStrategy portfolioBiddingId(Long portfolioBiddingId) { this.portfolioBiddingId = portfolioBiddingId; return this; } /** * <div lang=\"ja\">ポートフォリオ入札IDです。<br> SET時およびREMOVE時、このフィールドは必須となります。</div> <div lang=\"en\">Portfolio bidding ID.<br> This field is optional in SET and REMOVE operation.</div> * @return portfolioBiddingId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
ポートフォリオ入札IDです。
SET時およびREMOVE時、このフィールドは必須となります。
Portfolio bidding ID.
This field is optional in SET and REMOVE operation.
") @JsonProperty(JSON_PROPERTY_PORTFOLIO_BIDDING_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPortfolioBiddingId() { return portfolioBiddingId; } @JsonProperty(JSON_PROPERTY_PORTFOLIO_BIDDING_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPortfolioBiddingId(Long portfolioBiddingId) { this.portfolioBiddingId = portfolioBiddingId; } public BiddingStrategy portfolioBiddingName(String portfolioBiddingName) { this.portfolioBiddingName = portfolioBiddingName; return this; } /** * <div lang=\"ja\">ポートフォリオ入札名です(50文字以内になります)。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。</div> <div lang=\"en\">Portfolio bidding name(Can set up to 50 characters).<br> This field is required in ADD operation, and will be optional in SET operation.</div> * @return portfolioBiddingName **/ @javax.annotation.Nullable @ApiModelProperty(value = "
ポートフォリオ入札名です(50文字以内になります)。
このフィールドは、ADD時は必須となり、SET時は省略可能となります。
Portfolio bidding name(Can set up to 50 characters).
This field is required in ADD operation, and will be optional in SET operation.
") @JsonProperty(JSON_PROPERTY_PORTFOLIO_BIDDING_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPortfolioBiddingName() { return portfolioBiddingName; } @JsonProperty(JSON_PROPERTY_PORTFOLIO_BIDDING_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPortfolioBiddingName(String portfolioBiddingName) { this.portfolioBiddingName = portfolioBiddingName; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } BiddingStrategy biddingStrategy = (BiddingStrategy) o; return Objects.equals(this.accountId, biddingStrategy.accountId) && Objects.equals(this.biddingScheme, biddingStrategy.biddingScheme) && Objects.equals(this.portfolioBiddingId, biddingStrategy.portfolioBiddingId) && Objects.equals(this.portfolioBiddingName, biddingStrategy.portfolioBiddingName); } @Override public int hashCode() { return Objects.hash(accountId, biddingScheme, portfolioBiddingId, portfolioBiddingName); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class BiddingStrategy {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" biddingScheme: ").append(toIndentedString(biddingScheme)).append("\n"); sb.append(" portfolioBiddingId: ").append(toIndentedString(portfolioBiddingId)).append("\n"); sb.append(" portfolioBiddingName: ").append(toIndentedString(portfolioBiddingName)).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