jp.co.yahoo.adssearchapi.v14.model.CampaignServiceTargetCpaBiddingScheme 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
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.
*
* The version of the OpenAPI document: v14
*
*
* 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.v14.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 com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">CampaignServiceTargetCpaBiddingSchemeオブジェクトは、コンバージョン単価の目標値の自動入札設定情報を表します。 (BiddingStrategyService以外用のオブジェクトです。)<br> ADD時、BiddingStrategyTypeがTARGET_CPAの場合、必須となり、それ以外では省略可能となります。</div> <div lang=\"en\">CampaignServiceTargetCpaBiddingScheme object displays auto bidding setting for target CPA.<br> This field is required when BiddingStrategyType is 'TARGET_CPA' in ADD operation. For other BiddingStrategyType, this field is optional in ADD operation.</div>
*/
@ApiModel(description = "CampaignServiceTargetCpaBiddingSchemeオブジェクトは、コンバージョン単価の目標値の自動入札設定情報を表します。 (BiddingStrategyService以外用のオブジェクトです。)
ADD時、BiddingStrategyTypeがTARGET_CPAの場合、必須となり、それ以外では省略可能となります。 CampaignServiceTargetCpaBiddingScheme object displays auto bidding setting for target CPA.
This field is required when BiddingStrategyType is 'TARGET_CPA' in ADD operation. For other BiddingStrategyType, this field is optional in ADD operation. ")
@JsonPropertyOrder({
CampaignServiceTargetCpaBiddingScheme.JSON_PROPERTY_BID_CEILING,
CampaignServiceTargetCpaBiddingScheme.JSON_PROPERTY_BID_FLOOR,
CampaignServiceTargetCpaBiddingScheme.JSON_PROPERTY_TARGET_CPA
})
@JsonTypeName("CampaignServiceTargetCpaBiddingScheme")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class CampaignServiceTargetCpaBiddingScheme {
public static final String JSON_PROPERTY_BID_CEILING = "bidCeiling";
private Long bidCeiling;
public static final String JSON_PROPERTY_BID_FLOOR = "bidFloor";
private Long bidFloor;
public static final String JSON_PROPERTY_TARGET_CPA = "targetCpa";
private Long targetCpa;
public CampaignServiceTargetCpaBiddingScheme() {
}
public CampaignServiceTargetCpaBiddingScheme bidCeiling(Long bidCeiling) {
this.bidCeiling = bidCeiling;
return this;
}
/**
* <div lang=\"ja\">入札価格の上限です。<br> このフィールドの追加と編集は廃止され、現在設定できません。</div> <div lang=\"en\">Limit of bid (CPC).<br> Adding and editing this field is obsolete. Currently not available.</div>
* @return bidCeiling
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "入札価格の上限です。
このフィールドの追加と編集は廃止され、現在設定できません。 Limit of bid (CPC).
Adding and editing this field is obsolete. Currently not available. ")
@JsonProperty(JSON_PROPERTY_BID_CEILING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getBidCeiling() {
return bidCeiling;
}
@JsonProperty(JSON_PROPERTY_BID_CEILING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBidCeiling(Long bidCeiling) {
this.bidCeiling = bidCeiling;
}
public CampaignServiceTargetCpaBiddingScheme bidFloor(Long bidFloor) {
this.bidFloor = bidFloor;
return this;
}
/**
* <div lang=\"ja\">入札価格の下限です。<br> このフィールドの追加と編集は廃止され、現在設定できません。</div> <div lang=\"en\">Minimum CPC.<br> Adding and editing this field is obsolete. Currently not available.</div>
* @return bidFloor
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "入札価格の下限です。
このフィールドの追加と編集は廃止され、現在設定できません。 Minimum CPC.
Adding and editing this field is obsolete. Currently not available. ")
@JsonProperty(JSON_PROPERTY_BID_FLOOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getBidFloor() {
return bidFloor;
}
@JsonProperty(JSON_PROPERTY_BID_FLOOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBidFloor(Long bidFloor) {
this.bidFloor = bidFloor;
}
public CampaignServiceTargetCpaBiddingScheme targetCpa(Long targetCpa) {
this.targetCpa = targetCpa;
return this;
}
/**
* <div lang=\"ja\">コンバージョン単価の目標値です。<br> ADD時およびSET時、このフィールドは必須となります。<br> ※制限値:1 ~ 800000<br>※日本円のみの設定です。</div> <div lang=\"en\">Target CPA (JPY).<br> This field is required in ADD and SET operation.<br> * Range limit: 1 - 800000</div>
* @return targetCpa
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "コンバージョン単価の目標値です。
ADD時およびSET時、このフィールドは必須となります。
※制限値:1 ~ 800000
※日本円のみの設定です。 Target CPA (JPY).
This field is required in ADD and SET operation.
* Range limit: 1 - 800000 ")
@JsonProperty(JSON_PROPERTY_TARGET_CPA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getTargetCpa() {
return targetCpa;
}
@JsonProperty(JSON_PROPERTY_TARGET_CPA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTargetCpa(Long targetCpa) {
this.targetCpa = targetCpa;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CampaignServiceTargetCpaBiddingScheme campaignServiceTargetCpaBiddingScheme = (CampaignServiceTargetCpaBiddingScheme) o;
return Objects.equals(this.bidCeiling, campaignServiceTargetCpaBiddingScheme.bidCeiling) &&
Objects.equals(this.bidFloor, campaignServiceTargetCpaBiddingScheme.bidFloor) &&
Objects.equals(this.targetCpa, campaignServiceTargetCpaBiddingScheme.targetCpa);
}
@Override
public int hashCode() {
return Objects.hash(bidCeiling, bidFloor, targetCpa);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CampaignServiceTargetCpaBiddingScheme {\n");
sb.append(" bidCeiling: ").append(toIndentedString(bidCeiling)).append("\n");
sb.append(" bidFloor: ").append(toIndentedString(bidFloor)).append("\n");
sb.append(" targetCpa: ").append(toIndentedString(targetCpa)).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 ");
}
}