jp.co.yahoo.adssearchapi.v12.model.AdGroupServiceBiddingStrategyConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-search-api-lib Show documentation
Show all versions of ads-search-api-lib Show documentation
Yahoo! JAPAN Ads Search Ads API library for Java
/*
* Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
* Yahoo!広告 検索広告 APIのWebサービスについて説明します。 Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
*
* 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.AdGroupServiceBiddingScheme;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">AdGroupServiceBiddingStrategyConfigurationオブジェクトは、自動入札設定方法を表します。<br> </div> <div lang=\"en\">AdGroupServiceBiddingStrategyConfiguration object describes auto bidding setting.<br> </div>
*/
@ApiModel(description = "AdGroupServiceBiddingStrategyConfigurationオブジェクトは、自動入札設定方法を表します。
AdGroupServiceBiddingStrategyConfiguration object describes auto bidding setting.
")
@JsonPropertyOrder({
AdGroupServiceBiddingStrategyConfiguration.JSON_PROPERTY_BIDDING_SCHEME,
AdGroupServiceBiddingStrategyConfiguration.JSON_PROPERTY_PORTFOLIO_BIDDING_ID,
AdGroupServiceBiddingStrategyConfiguration.JSON_PROPERTY_PORTFOLIO_BIDDING_NAME
})
@JsonTypeName("AdGroupServiceBiddingStrategyConfiguration")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupServiceBiddingStrategyConfiguration {
public static final String JSON_PROPERTY_BIDDING_SCHEME = "biddingScheme";
private AdGroupServiceBiddingScheme 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 AdGroupServiceBiddingStrategyConfiguration() {
}
public AdGroupServiceBiddingStrategyConfiguration biddingScheme(AdGroupServiceBiddingScheme 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 AdGroupServiceBiddingScheme getBiddingScheme() {
return biddingScheme;
}
@JsonProperty(JSON_PROPERTY_BIDDING_SCHEME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBiddingScheme(AdGroupServiceBiddingScheme biddingScheme) {
this.biddingScheme = biddingScheme;
}
public AdGroupServiceBiddingStrategyConfiguration portfolioBiddingId(Long portfolioBiddingId) {
this.portfolioBiddingId = portfolioBiddingId;
return this;
}
/**
* <div lang=\"ja\">ポートフォリオ入札IDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Portfolio bidding ID.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return portfolioBiddingId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ポートフォリオ入札IDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Portfolio bidding ID.
Although this field will be returned in the response, it will be ignored on input. ")
@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 AdGroupServiceBiddingStrategyConfiguration portfolioBiddingName(String portfolioBiddingName) {
this.portfolioBiddingName = portfolioBiddingName;
return this;
}
/**
* <div lang=\"ja\">ポートフォリオ入札名です。<br> ADD時、このフィールドは無視されます。<br> ※50文字以内になります。</div> <div lang=\"en\">Portfolio bidding name.<br> This field will be ignored in ADD operation.<br>* Up to 50 characters.</div>
* @return portfolioBiddingName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ポートフォリオ入札名です。
ADD時、このフィールドは無視されます。
※50文字以内になります。 Portfolio bidding name.
This field will be ignored in ADD operation.
* Up to 50 characters. ")
@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;
}
AdGroupServiceBiddingStrategyConfiguration adGroupServiceBiddingStrategyConfiguration = (AdGroupServiceBiddingStrategyConfiguration) o;
return Objects.equals(this.biddingScheme, adGroupServiceBiddingStrategyConfiguration.biddingScheme) &&
Objects.equals(this.portfolioBiddingId, adGroupServiceBiddingStrategyConfiguration.portfolioBiddingId) &&
Objects.equals(this.portfolioBiddingName, adGroupServiceBiddingStrategyConfiguration.portfolioBiddingName);
}
@Override
public int hashCode() {
return Objects.hash(biddingScheme, portfolioBiddingId, portfolioBiddingName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupServiceBiddingStrategyConfiguration {\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 ");
}
}