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

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

There is a newer version: 8.1.1-spring5
Show 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.AdGroupBidMultiplierServicePlatformType; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AdGroupBidMultiplierオブジェクトは、入札価格調整率を表します。</div> <div lang=\"en\">Container for bid multiplier.</div> */ @ApiModel(description = "
AdGroupBidMultiplierオブジェクトは、入札価格調整率を表します。
Container for bid multiplier.
") @JsonPropertyOrder({ AdGroupBidMultiplier.JSON_PROPERTY_ACCOUNT_ID, AdGroupBidMultiplier.JSON_PROPERTY_AD_GROUP_ID, AdGroupBidMultiplier.JSON_PROPERTY_BID_MULTIPLIER, AdGroupBidMultiplier.JSON_PROPERTY_CAMPAIGN_ID, AdGroupBidMultiplier.JSON_PROPERTY_PLATFORM_TYPE }) @JsonTypeName("AdGroupBidMultiplier") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AdGroupBidMultiplier { public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; private Long accountId; public static final String JSON_PROPERTY_AD_GROUP_ID = "adGroupId"; private Long adGroupId; public static final String JSON_PROPERTY_BID_MULTIPLIER = "bidMultiplier"; private Double bidMultiplier; public static final String JSON_PROPERTY_CAMPAIGN_ID = "campaignId"; private Long campaignId; public static final String JSON_PROPERTY_PLATFORM_TYPE = "platformType"; private AdGroupBidMultiplierServicePlatformType platformType; public AdGroupBidMultiplier() { } public AdGroupBidMultiplier accountId(Long accountId) { this.accountId = accountId; return this; } /** * <div lang=\"ja\">アカウントIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Account ID.<br> Although this field will be returned in the response, it will be ignored on input.</div> * @return accountId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウントIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
Account ID.
Although this field will be returned in the response, it will be ignored on input.
") @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 AdGroupBidMultiplier adGroupId(Long adGroupId) { this.adGroupId = adGroupId; return this; } /** * <div lang=\"ja\">広告グループIDです。<br> SETおよびREMOVE時、このフィールドは必須となります。</div> <div lang=\"en\">Ad group ID.<br> This field is required in SET and REMOVE operation.</div> * @return adGroupId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
広告グループIDです。
SETおよびREMOVE時、このフィールドは必須となります。
Ad group ID.
This field is required in SET and REMOVE operation.
") @JsonProperty(JSON_PROPERTY_AD_GROUP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getAdGroupId() { return adGroupId; } @JsonProperty(JSON_PROPERTY_AD_GROUP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdGroupId(Long adGroupId) { this.adGroupId = adGroupId; } public AdGroupBidMultiplier bidMultiplier(Double bidMultiplier) { this.bidMultiplier = bidMultiplier; return this; } /** * <div lang=\"ja\">入札価格調整率です。0~10.00まで指定できます。0を指定した場合、広告は配信されません。<br> また、入札価格調整率の値は小数点第二位まで指定可能です。<br> SET時、このフィールドは必須となります。</div> <div lang=\"en\">Bid adjustment rate.<br> Can be specified between 0 to 10.00.<br> When specified &#39;0&#39;, the ad will not be delivered.<br> Bid adjustment rate can be specified up to two decimal places.<br> This field is required in SET operation.</div> * @return bidMultiplier **/ @javax.annotation.Nullable @ApiModelProperty(value = "
入札価格調整率です。0~10.00まで指定できます。0を指定した場合、広告は配信されません。
また、入札価格調整率の値は小数点第二位まで指定可能です。
SET時、このフィールドは必須となります。
Bid adjustment rate.
Can be specified between 0 to 10.00.
When specified '0', the ad will not be delivered.
Bid adjustment rate can be specified up to two decimal places.
This field is required in SET operation.
") @JsonProperty(JSON_PROPERTY_BID_MULTIPLIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getBidMultiplier() { return bidMultiplier; } @JsonProperty(JSON_PROPERTY_BID_MULTIPLIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBidMultiplier(Double bidMultiplier) { this.bidMultiplier = bidMultiplier; } public AdGroupBidMultiplier campaignId(Long campaignId) { this.campaignId = campaignId; return this; } /** * <div lang=\"ja\">キャンペーンIDです。<br> SETおよびREMOVE時、このフィールドは必須となります。</div> <div lang=\"en\">Campaign ID.<br> This field is required in SET and REMOVE operation.</div> * @return campaignId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンIDです。
SETおよびREMOVE時、このフィールドは必須となります。
Campaign ID.
This field is required in SET and REMOVE operation.
") @JsonProperty(JSON_PROPERTY_CAMPAIGN_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getCampaignId() { return campaignId; } @JsonProperty(JSON_PROPERTY_CAMPAIGN_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } public AdGroupBidMultiplier platformType(AdGroupBidMultiplierServicePlatformType platformType) { this.platformType = platformType; return this; } /** * Get platformType * @return platformType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AdGroupBidMultiplierServicePlatformType getPlatformType() { return platformType; } @JsonProperty(JSON_PROPERTY_PLATFORM_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformType(AdGroupBidMultiplierServicePlatformType platformType) { this.platformType = platformType; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AdGroupBidMultiplier adGroupBidMultiplier = (AdGroupBidMultiplier) o; return Objects.equals(this.accountId, adGroupBidMultiplier.accountId) && Objects.equals(this.adGroupId, adGroupBidMultiplier.adGroupId) && Objects.equals(this.bidMultiplier, adGroupBidMultiplier.bidMultiplier) && Objects.equals(this.campaignId, adGroupBidMultiplier.campaignId) && Objects.equals(this.platformType, adGroupBidMultiplier.platformType); } @Override public int hashCode() { return Objects.hash(accountId, adGroupId, bidMultiplier, campaignId, platformType); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AdGroupBidMultiplier {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" adGroupId: ").append(toIndentedString(adGroupId)).append("\n"); sb.append(" bidMultiplier: ").append(toIndentedString(bidMultiplier)).append("\n"); sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n"); sb.append(" platformType: ").append(toIndentedString(platformType)).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