jp.co.yahoo.adssearchapi.v14.model.ConversionTrackerServicePage 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: v14
*
*
* 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.v14.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 java.util.ArrayList;
import java.util.List;
import jp.co.yahoo.adssearchapi.v14.model.ConversionTrackerServiceValue;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">ConversionTrackerServicePageオブジェクトは、取得されるコンバージョン設定のエントリーを表します。</div> <div lang=\"en\">ConversionTrackerServicePage object shows entry of ConversionTracker.</div>
*/
@ApiModel(description = "ConversionTrackerServicePageオブジェクトは、取得されるコンバージョン設定のエントリーを表します。 ConversionTrackerServicePage object shows entry of ConversionTracker. ")
@JsonPropertyOrder({
ConversionTrackerServicePage.JSON_PROPERTY_TOTAL_ALL_CONVERSION_VALUE,
ConversionTrackerServicePage.JSON_PROPERTY_TOTAL_ALL_CONVERSIONS,
ConversionTrackerServicePage.JSON_PROPERTY_TOTAL_CONVERSION_VALUE,
ConversionTrackerServicePage.JSON_PROPERTY_TOTAL_CONVERSIONS,
ConversionTrackerServicePage.JSON_PROPERTY_TOTAL_NUM_ENTRIES,
ConversionTrackerServicePage.JSON_PROPERTY_VALUES
})
@JsonTypeName("ConversionTrackerServicePage")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ConversionTrackerServicePage {
public static final String JSON_PROPERTY_TOTAL_ALL_CONVERSION_VALUE = "totalAllConversionValue";
private String totalAllConversionValue;
public static final String JSON_PROPERTY_TOTAL_ALL_CONVERSIONS = "totalAllConversions";
private Long totalAllConversions;
public static final String JSON_PROPERTY_TOTAL_CONVERSION_VALUE = "totalConversionValue";
private String totalConversionValue;
public static final String JSON_PROPERTY_TOTAL_CONVERSIONS = "totalConversions";
private Long totalConversions;
public static final String JSON_PROPERTY_TOTAL_NUM_ENTRIES = "totalNumEntries";
private Integer totalNumEntries;
public static final String JSON_PROPERTY_VALUES = "values";
private List values = null;
public ConversionTrackerServicePage() {
}
public ConversionTrackerServicePage totalAllConversionValue(String totalAllConversionValue) {
this.totalAllConversionValue = totalAllConversionValue;
return this;
}
/**
* <div lang=\"ja\">自動入札設定の対象コンバージョン値と、対象外コンバージョン値の合計です。</div> <div lang=\"en\">Total value of conversions on auto bidding setting and the value of conversions not on auto bidding setting.</div>
* @return totalAllConversionValue
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "自動入札設定の対象コンバージョン値と、対象外コンバージョン値の合計です。 Total value of conversions on auto bidding setting and the value of conversions not on auto bidding setting. ")
@JsonProperty(JSON_PROPERTY_TOTAL_ALL_CONVERSION_VALUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTotalAllConversionValue() {
return totalAllConversionValue;
}
@JsonProperty(JSON_PROPERTY_TOTAL_ALL_CONVERSION_VALUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalAllConversionValue(String totalAllConversionValue) {
this.totalAllConversionValue = totalAllConversionValue;
}
public ConversionTrackerServicePage totalAllConversions(Long totalAllConversions) {
this.totalAllConversions = totalAllConversions;
return this;
}
/**
* <div lang=\"ja\">自動入札設定の対象コンバージョン数と、対象外コンバージョン数の合計です。</div> <div lang=\"en\">Total value of conversions on auto bidding setting and the value of conversions not on auto bidding setting.</div>
* @return totalAllConversions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "自動入札設定の対象コンバージョン数と、対象外コンバージョン数の合計です。 Total value of conversions on auto bidding setting and the value of conversions not on auto bidding setting. ")
@JsonProperty(JSON_PROPERTY_TOTAL_ALL_CONVERSIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getTotalAllConversions() {
return totalAllConversions;
}
@JsonProperty(JSON_PROPERTY_TOTAL_ALL_CONVERSIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalAllConversions(Long totalAllConversions) {
this.totalAllConversions = totalAllConversions;
}
public ConversionTrackerServicePage totalConversionValue(String totalConversionValue) {
this.totalConversionValue = totalConversionValue;
return this;
}
/**
* <div lang=\"ja\">自動入札設定の対象コンバージョン値の合計です。</div> <div lang=\"en\">Total value of conversions on auto bidding setting.</div>
* @return totalConversionValue
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "自動入札設定の対象コンバージョン値の合計です。 Total value of conversions on auto bidding setting. ")
@JsonProperty(JSON_PROPERTY_TOTAL_CONVERSION_VALUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTotalConversionValue() {
return totalConversionValue;
}
@JsonProperty(JSON_PROPERTY_TOTAL_CONVERSION_VALUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalConversionValue(String totalConversionValue) {
this.totalConversionValue = totalConversionValue;
}
public ConversionTrackerServicePage totalConversions(Long totalConversions) {
this.totalConversions = totalConversions;
return this;
}
/**
* <div lang=\"ja\">自動入札設定の対象コンバージョン数の合計です。</div> <div lang=\"en\">Total value of conversions on auto bidding setting.</div>
* @return totalConversions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "自動入札設定の対象コンバージョン数の合計です。 Total value of conversions on auto bidding setting. ")
@JsonProperty(JSON_PROPERTY_TOTAL_CONVERSIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getTotalConversions() {
return totalConversions;
}
@JsonProperty(JSON_PROPERTY_TOTAL_CONVERSIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalConversions(Long totalConversions) {
this.totalConversions = totalConversions;
}
public ConversionTrackerServicePage totalNumEntries(Integer totalNumEntries) {
this.totalNumEntries = totalNumEntries;
return this;
}
/**
* <div lang=\"ja\">取得される項目の総件数です。</div> <div lang=\"en\">Total number of entries in the result that this page is a part of.</div>
* @return totalNumEntries
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "取得される項目の総件数です。 Total number of entries in the result that this page is a part of. ")
@JsonProperty(JSON_PROPERTY_TOTAL_NUM_ENTRIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getTotalNumEntries() {
return totalNumEntries;
}
@JsonProperty(JSON_PROPERTY_TOTAL_NUM_ENTRIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalNumEntries(Integer totalNumEntries) {
this.totalNumEntries = totalNumEntries;
}
public ConversionTrackerServicePage values(List values) {
this.values = values;
return this;
}
public ConversionTrackerServicePage addValuesItem(ConversionTrackerServiceValue valuesItem) {
if (this.values == null) {
this.values = new ArrayList<>();
}
this.values.add(valuesItem);
return this;
}
/**
* Get values
* @return values
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_VALUES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getValues() {
return values;
}
@JsonProperty(JSON_PROPERTY_VALUES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setValues(List values) {
this.values = values;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConversionTrackerServicePage conversionTrackerServicePage = (ConversionTrackerServicePage) o;
return Objects.equals(this.totalAllConversionValue, conversionTrackerServicePage.totalAllConversionValue) &&
Objects.equals(this.totalAllConversions, conversionTrackerServicePage.totalAllConversions) &&
Objects.equals(this.totalConversionValue, conversionTrackerServicePage.totalConversionValue) &&
Objects.equals(this.totalConversions, conversionTrackerServicePage.totalConversions) &&
Objects.equals(this.totalNumEntries, conversionTrackerServicePage.totalNumEntries) &&
Objects.equals(this.values, conversionTrackerServicePage.values);
}
@Override
public int hashCode() {
return Objects.hash(totalAllConversionValue, totalAllConversions, totalConversionValue, totalConversions, totalNumEntries, values);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConversionTrackerServicePage {\n");
sb.append(" totalAllConversionValue: ").append(toIndentedString(totalAllConversionValue)).append("\n");
sb.append(" totalAllConversions: ").append(toIndentedString(totalAllConversions)).append("\n");
sb.append(" totalConversionValue: ").append(toIndentedString(totalConversionValue)).append("\n");
sb.append(" totalConversions: ").append(toIndentedString(totalConversions)).append("\n");
sb.append(" totalNumEntries: ").append(toIndentedString(totalNumEntries)).append("\n");
sb.append(" values: ").append(toIndentedString(values)).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 ");
}
}