jp.co.yahoo.adssearchapi.v13.model.AdGroupWebpageServiceBid 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: 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.AdGroupWebpageServiceBidSource;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">AdGroupWebpageServiceBidオブジェクトは、入札価格を表示します。 (AdGroupWebpageService用のオブジェクトです。)<br> ADD時およびSET時、このフィールドは省略可能となります。※ExcludedTypeがINCLUDEDのみ更新可能です。</div> <div lang=\"en\">AdGroupWebpageServiceBid object describes bid. (Object for AdGroupWebpageService.)<br> This field is optional in ADD and SET operation. *This field can be updated when ExcludedType is 'INCLUDED'.</div>
*/
@ApiModel(description = "AdGroupWebpageServiceBidオブジェクトは、入札価格を表示します。 (AdGroupWebpageService用のオブジェクトです。)
ADD時およびSET時、このフィールドは省略可能となります。※ExcludedTypeがINCLUDEDのみ更新可能です。 AdGroupWebpageServiceBid object describes bid. (Object for AdGroupWebpageService.)
This field is optional in ADD and SET operation. *This field can be updated when ExcludedType is 'INCLUDED'. ")
@JsonPropertyOrder({
AdGroupWebpageServiceBid.JSON_PROPERTY_AD_GROUP_CPC,
AdGroupWebpageServiceBid.JSON_PROPERTY_BID_SOURCE,
AdGroupWebpageServiceBid.JSON_PROPERTY_KEYWORD_CPC,
AdGroupWebpageServiceBid.JSON_PROPERTY_CPC
})
@JsonTypeName("AdGroupWebpageServiceBid")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupWebpageServiceBid {
public static final String JSON_PROPERTY_AD_GROUP_CPC = "adGroupCpc";
private Long adGroupCpc;
public static final String JSON_PROPERTY_BID_SOURCE = "bidSource";
private AdGroupWebpageServiceBidSource bidSource;
public static final String JSON_PROPERTY_KEYWORD_CPC = "keywordCpc";
private Long keywordCpc;
public static final String JSON_PROPERTY_CPC = "cpc";
private Long cpc;
public AdGroupWebpageServiceBid() {
}
public AdGroupWebpageServiceBid adGroupCpc(Long adGroupCpc) {
this.adGroupCpc = adGroupCpc;
return this;
}
/**
* <div lang=\"ja\">広告グループの最大入札価格です。<br>このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Max bid of ad group.<br>Although this field will be returned in the response, it will be ignored on input.</div>
* @return adGroupCpc
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "広告グループの最大入札価格です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Max bid of ad group.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_AD_GROUP_CPC)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getAdGroupCpc() {
return adGroupCpc;
}
@JsonProperty(JSON_PROPERTY_AD_GROUP_CPC)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAdGroupCpc(Long adGroupCpc) {
this.adGroupCpc = adGroupCpc;
}
public AdGroupWebpageServiceBid bidSource(AdGroupWebpageServiceBidSource bidSource) {
this.bidSource = bidSource;
return this;
}
/**
* Get bidSource
* @return bidSource
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BID_SOURCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupWebpageServiceBidSource getBidSource() {
return bidSource;
}
@JsonProperty(JSON_PROPERTY_BID_SOURCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBidSource(AdGroupWebpageServiceBidSource bidSource) {
this.bidSource = bidSource;
}
public AdGroupWebpageServiceBid keywordCpc(Long keywordCpc) {
this.keywordCpc = keywordCpc;
return this;
}
/**
* <div lang=\"ja\">キーワードの最大入札価格です。<br>このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Max bid of keyword.<br>Although this field will be returned in the response, it will be ignored on input.</div>
* @return keywordCpc
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "キーワードの最大入札価格です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Max bid of keyword.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_KEYWORD_CPC)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getKeywordCpc() {
return keywordCpc;
}
@JsonProperty(JSON_PROPERTY_KEYWORD_CPC)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setKeywordCpc(Long keywordCpc) {
this.keywordCpc = keywordCpc;
}
public AdGroupWebpageServiceBid cpc(Long cpc) {
this.cpc = cpc;
return this;
}
/**
* <div lang=\"ja\">最大入札価格です。<br>ADD時、このフィールドは省略可能となります。その際、デフォルト値は1となります。SET時、このフィールドは省略可能となります。</div> <div lang=\"en\">Max bid.<br>This field is optional in ADD and SET operation. The default value in ADD operation will be 1.</div>
* @return cpc
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "最大入札価格です。
ADD時、このフィールドは省略可能となります。その際、デフォルト値は1となります。SET時、このフィールドは省略可能となります。 Max bid.
This field is optional in ADD and SET operation. The default value in ADD operation will be 1. ")
@JsonProperty(JSON_PROPERTY_CPC)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getCpc() {
return cpc;
}
@JsonProperty(JSON_PROPERTY_CPC)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCpc(Long cpc) {
this.cpc = cpc;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdGroupWebpageServiceBid adGroupWebpageServiceBid = (AdGroupWebpageServiceBid) o;
return Objects.equals(this.adGroupCpc, adGroupWebpageServiceBid.adGroupCpc) &&
Objects.equals(this.bidSource, adGroupWebpageServiceBid.bidSource) &&
Objects.equals(this.keywordCpc, adGroupWebpageServiceBid.keywordCpc) &&
Objects.equals(this.cpc, adGroupWebpageServiceBid.cpc);
}
@Override
public int hashCode() {
return Objects.hash(adGroupCpc, bidSource, keywordCpc, cpc);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupWebpageServiceBid {\n");
sb.append(" adGroupCpc: ").append(toIndentedString(adGroupCpc)).append("\n");
sb.append(" bidSource: ").append(toIndentedString(bidSource)).append("\n");
sb.append(" keywordCpc: ").append(toIndentedString(keywordCpc)).append("\n");
sb.append(" cpc: ").append(toIndentedString(cpc)).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 ");
}
}