jp.co.yahoo.adssearchapi.v12.model.AdGroupServiceBiddingKeywordCpcRange 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 com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">AdGroupServiceBiddingKeywordCpcRangeは、入札価格による検索対象範囲を表します。</div> <div lang=\"en\">AdGroupServiceBiddingKeywordCpcRange represents the search range by bid price.</div>
*/
@ApiModel(description = "AdGroupServiceBiddingKeywordCpcRangeは、入札価格による検索対象範囲を表します。 AdGroupServiceBiddingKeywordCpcRange represents the search range by bid price. ")
@JsonPropertyOrder({
AdGroupServiceBiddingKeywordCpcRange.JSON_PROPERTY_MIN,
AdGroupServiceBiddingKeywordCpcRange.JSON_PROPERTY_MAX
})
@JsonTypeName("AdGroupServiceBiddingKeywordCpcRange")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupServiceBiddingKeywordCpcRange {
public static final String JSON_PROPERTY_MIN = "min";
private Long min;
public static final String JSON_PROPERTY_MAX = "max";
private Long max;
public AdGroupServiceBiddingKeywordCpcRange() {
}
public AdGroupServiceBiddingKeywordCpcRange min(Long min) {
this.min = min;
return this;
}
/**
* <div lang=\"ja\">検索対象範囲の最小値です。</div> <div lang=\"en\">This is the minimum value of the search range.</div>
* @return min
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "検索対象範囲の最小値です。 This is the minimum value of the search range. ")
@JsonProperty(JSON_PROPERTY_MIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getMin() {
return min;
}
@JsonProperty(JSON_PROPERTY_MIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMin(Long min) {
this.min = min;
}
public AdGroupServiceBiddingKeywordCpcRange max(Long max) {
this.max = max;
return this;
}
/**
* <div lang=\"ja\">検索対象範囲の最大値です。</div> <div lang=\"en\">This is the maximum value of the search range.</div>
* @return max
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "検索対象範囲の最大値です。 This is the maximum value of the search range. ")
@JsonProperty(JSON_PROPERTY_MAX)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getMax() {
return max;
}
@JsonProperty(JSON_PROPERTY_MAX)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMax(Long max) {
this.max = max;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdGroupServiceBiddingKeywordCpcRange adGroupServiceBiddingKeywordCpcRange = (AdGroupServiceBiddingKeywordCpcRange) o;
return Objects.equals(this.min, adGroupServiceBiddingKeywordCpcRange.min) &&
Objects.equals(this.max, adGroupServiceBiddingKeywordCpcRange.max);
}
@Override
public int hashCode() {
return Objects.hash(min, max);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupServiceBiddingKeywordCpcRange {\n");
sb.append(" min: ").append(toIndentedString(min)).append("\n");
sb.append(" max: ").append(toIndentedString(max)).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 ");
}
}