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

jp.co.yahoo.adssearchapi.v13.model.BalanceServicePage 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 java.util.ArrayList; import java.util.List; import jp.co.yahoo.adssearchapi.v13.model.BalanceServiceValue; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">BalancePageオブジェクトは、取得されるアカウント残高に関するエントリーを表します。</div> <div lang=\"en\">Account balance and a page of balance resulting from the query done by BalanceService.</div> */ @ApiModel(description = "
BalancePageオブジェクトは、取得されるアカウント残高に関するエントリーを表します。
Account balance and a page of balance resulting from the query done by BalanceService.
") @JsonPropertyOrder({ BalanceServicePage.JSON_PROPERTY_TOTAL_NUM_ENTRIES, BalanceServicePage.JSON_PROPERTY_VALUES }) @JsonTypeName("BalanceServicePage") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class BalanceServicePage { 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 BalanceServicePage() { } public BalanceServicePage totalNumEntries(Integer totalNumEntries) { this.totalNumEntries = totalNumEntries; return this; } /** * <div lang=\"ja\">取得される項目の総件数です。</div> <div lang=\"en\">The total number of retrieved entries.</div> * @return totalNumEntries **/ @javax.annotation.Nullable @ApiModelProperty(value = "
取得される項目の総件数です。
The total number of retrieved entries.
") @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 BalanceServicePage values(List values) { this.values = values; return this; } public BalanceServicePage addValuesItem(BalanceServiceValue valuesItem) { if (this.values == null) { this.values = new ArrayList<>(); } this.values.add(valuesItem); return this; } /** * <div lang=\"ja\">操作結果を含むアカウント情報の配列です。</div> <div lang=\"en\">List of balance.</div> * @return values **/ @javax.annotation.Nullable @ApiModelProperty(value = "
操作結果を含むアカウント情報の配列です。
List of balance.
") @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; } BalanceServicePage balanceServicePage = (BalanceServicePage) o; return Objects.equals(this.totalNumEntries, balanceServicePage.totalNumEntries) && Objects.equals(this.values, balanceServicePage.values); } @Override public int hashCode() { return Objects.hash(totalNumEntries, values); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class BalanceServicePage {\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 "); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy