jp.co.yahoo.adssearchapi.v12.model.BiddingStrategyServiceTargetImpressionShareScheme 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.BiddingStrategyServiceTargetImpressionShareLocation;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">BiddingStrategyServiceTargetImpressionShareSchemeオブジェクトは、広告費用対効果の目標値の自動入札設定情報を表します。<br> このフィールドは、省略可能となります。※ADD時、typeがTARGET_IMPRESSION_SHAREの場合は必須です。</div> <div lang=\"en\">BiddingStrategyServiceTargetImpressionShareScheme describes the Auto bidding setting information of Target ROAS. <br> This field is optional. *If type is TARGET_IMPRESSION_SHARE, this field is required in ADD operation.</div>
*/
@ApiModel(description = "BiddingStrategyServiceTargetImpressionShareSchemeオブジェクトは、広告費用対効果の目標値の自動入札設定情報を表します。
このフィールドは、省略可能となります。※ADD時、typeがTARGET_IMPRESSION_SHAREの場合は必須です。 BiddingStrategyServiceTargetImpressionShareScheme describes the Auto bidding setting information of Target ROAS.
This field is optional. *If type is TARGET_IMPRESSION_SHARE, this field is required in ADD operation. ")
@JsonPropertyOrder({
BiddingStrategyServiceTargetImpressionShareScheme.JSON_PROPERTY_LOCATION,
BiddingStrategyServiceTargetImpressionShareScheme.JSON_PROPERTY_BID_CEILING,
BiddingStrategyServiceTargetImpressionShareScheme.JSON_PROPERTY_TARGET_IMPRESSION_SHARE
})
@JsonTypeName("BiddingStrategyServiceTargetImpressionShareScheme")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class BiddingStrategyServiceTargetImpressionShareScheme {
public static final String JSON_PROPERTY_LOCATION = "location";
private BiddingStrategyServiceTargetImpressionShareLocation location;
public static final String JSON_PROPERTY_BID_CEILING = "bidCeiling";
private Long bidCeiling;
public static final String JSON_PROPERTY_TARGET_IMPRESSION_SHARE = "targetImpressionShare";
private Long targetImpressionShare;
public BiddingStrategyServiceTargetImpressionShareScheme() {
}
public BiddingStrategyServiceTargetImpressionShareScheme location(BiddingStrategyServiceTargetImpressionShareLocation location) {
this.location = location;
return this;
}
/**
* Get location
* @return location
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_LOCATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BiddingStrategyServiceTargetImpressionShareLocation getLocation() {
return location;
}
@JsonProperty(JSON_PROPERTY_LOCATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLocation(BiddingStrategyServiceTargetImpressionShareLocation location) {
this.location = location;
}
public BiddingStrategyServiceTargetImpressionShareScheme bidCeiling(Long bidCeiling) {
this.bidCeiling = bidCeiling;
return this;
}
/**
* <div lang=\"ja\">入札価格の上限です。(0〜50000)<br> ※「0」が設定された場合、上限設定はありません。<br> このフィールドは、いずれの場合でも省略可能となります。</div> <div lang=\"en\">CPC limit (0-50000).<br> * No limits if "0" is set.<br> This field is optional in any cases.</div>
* @return bidCeiling
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "入札価格の上限です。(0〜50000)
※「0」が設定された場合、上限設定はありません。
このフィールドは、いずれの場合でも省略可能となります。 CPC limit (0-50000).
* No limits if "0" is set.
This field is optional in any cases. ")
@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 BiddingStrategyServiceTargetImpressionShareScheme targetImpressionShare(Long targetImpressionShare) {
this.targetImpressionShare = targetImpressionShare;
return this;
}
/**
* <div lang=\"ja\">目標のインプレッションシェアです。<br> ADD時およびSET時、このフィールドは必須となります。</div> <div lang=\"en\">Target impression share.<br> This field is required in ADD and SET operation. </div>
* @return targetImpressionShare
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "目標のインプレッションシェアです。
ADD時およびSET時、このフィールドは必須となります。 Target impression share.
This field is required in ADD and SET operation. ")
@JsonProperty(JSON_PROPERTY_TARGET_IMPRESSION_SHARE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getTargetImpressionShare() {
return targetImpressionShare;
}
@JsonProperty(JSON_PROPERTY_TARGET_IMPRESSION_SHARE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTargetImpressionShare(Long targetImpressionShare) {
this.targetImpressionShare = targetImpressionShare;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BiddingStrategyServiceTargetImpressionShareScheme biddingStrategyServiceTargetImpressionShareScheme = (BiddingStrategyServiceTargetImpressionShareScheme) o;
return Objects.equals(this.location, biddingStrategyServiceTargetImpressionShareScheme.location) &&
Objects.equals(this.bidCeiling, biddingStrategyServiceTargetImpressionShareScheme.bidCeiling) &&
Objects.equals(this.targetImpressionShare, biddingStrategyServiceTargetImpressionShareScheme.targetImpressionShare);
}
@Override
public int hashCode() {
return Objects.hash(location, bidCeiling, targetImpressionShare);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BiddingStrategyServiceTargetImpressionShareScheme {\n");
sb.append(" location: ").append(toIndentedString(location)).append("\n");
sb.append(" bidCeiling: ").append(toIndentedString(bidCeiling)).append("\n");
sb.append(" targetImpressionShare: ").append(toIndentedString(targetImpressionShare)).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 ");
}
}