jp.co.yahoo.adssearchapi.v12.model.CampaignServiceBudgetAmountRange 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\">CampaignServiceBudgetAmountRangeは、予算利用金額による検索対象範囲を表します。</div> <div lang=\"en\">CampaignServiceBudgetAmountRange represents the search range by budget amount.</div>
*/
@ApiModel(description = "CampaignServiceBudgetAmountRangeは、予算利用金額による検索対象範囲を表します。 CampaignServiceBudgetAmountRange represents the search range by budget amount. ")
@JsonPropertyOrder({
CampaignServiceBudgetAmountRange.JSON_PROPERTY_MIN,
CampaignServiceBudgetAmountRange.JSON_PROPERTY_MAX
})
@JsonTypeName("CampaignServiceBudgetAmountRange")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class CampaignServiceBudgetAmountRange {
public static final String JSON_PROPERTY_MIN = "min";
private Long min;
public static final String JSON_PROPERTY_MAX = "max";
private Long max;
public CampaignServiceBudgetAmountRange() {
}
public CampaignServiceBudgetAmountRange 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 CampaignServiceBudgetAmountRange 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;
}
CampaignServiceBudgetAmountRange campaignServiceBudgetAmountRange = (CampaignServiceBudgetAmountRange) o;
return Objects.equals(this.min, campaignServiceBudgetAmountRange.min) &&
Objects.equals(this.max, campaignServiceBudgetAmountRange.max);
}
@Override
public int hashCode() {
return Objects.hash(min, max);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CampaignServiceBudgetAmountRange {\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 ");
}
}