jp.co.yahoo.adssearchapi.v12.model.AccountManagementServiceInvoice 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\">AccountManagementServiceInvoiceオブジェクトは、後金支払情報を表します。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。</div> <div lang=\"en\">AccountManagementServiceInvoice object describes the invoice information.<br> This field is required in ADD operation, and will be optional in SET operation.</div>
*/
@ApiModel(description = "AccountManagementServiceInvoiceオブジェクトは、後金支払情報を表します。
このフィールドは、ADD時は必須となり、SET時は省略可能となります。 AccountManagementServiceInvoice object describes the invoice information.
This field is required in ADD operation, and will be optional in SET operation. ")
@JsonPropertyOrder({
AccountManagementServiceInvoice.JSON_PROPERTY_BUDGET_AMOUNT,
AccountManagementServiceInvoice.JSON_PROPERTY_END_DATE,
AccountManagementServiceInvoice.JSON_PROPERTY_START_DATE
})
@JsonTypeName("AccountManagementServiceInvoice")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AccountManagementServiceInvoice {
public static final String JSON_PROPERTY_BUDGET_AMOUNT = "budgetAmount";
private Long budgetAmount;
public static final String JSON_PROPERTY_END_DATE = "endDate";
private String endDate;
public static final String JSON_PROPERTY_START_DATE = "startDate";
private String startDate;
public AccountManagementServiceInvoice() {
}
public AccountManagementServiceInvoice budgetAmount(Long budgetAmount) {
this.budgetAmount = budgetAmount;
return this;
}
/**
* <div lang=\"ja\">金額です。<br> ※1,000単位、3,000以上999,999,999,999,000以内です。<br> このフィールドは、ADD時に必須となり、SET時に省略可能となります。</div> <div lang=\"en\">Budget amount.<br> * Amount must be more than 3,000 and less than 999,999,999,999,000. The unit is 1,000.<br> This field is required in ADD operation, and will be optional in SET operation.</div>
* @return budgetAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "金額です。
※1,000単位、3,000以上999,999,999,999,000以内です。
このフィールドは、ADD時に必須となり、SET時に省略可能となります。 Budget amount.
* Amount must be more than 3,000 and less than 999,999,999,999,000. The unit is 1,000.
This field is required in ADD operation, and will be optional in SET operation. ")
@JsonProperty(JSON_PROPERTY_BUDGET_AMOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getBudgetAmount() {
return budgetAmount;
}
@JsonProperty(JSON_PROPERTY_BUDGET_AMOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBudgetAmount(Long budgetAmount) {
this.budgetAmount = budgetAmount;
}
public AccountManagementServiceInvoice endDate(String endDate) {
this.endDate = endDate;
return this;
}
/**
* <div lang=\"ja\">終了日です。※YYYYMMDD形式です。<br> ADDおよびSET時、このフィールドは省略可能となります。その際、ADD時のデフォルト設定値は20371231となり、『設定なし』と同義となります。<br> 20371231を指定した場合も『設定なし』となります。<br>SET時に『設定なし』に設定する場合は、20371231を指定してください。</div> <div lang=\"en\">End date (YYYYMMDD).<br> This field is optional in ADD and SET operation. The default value in ADD operation will be 20371231. 20371231 will be considered as \"No setting.\"<br> In order to reset the endDate in SET operation, specify 20371231.</div>
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "終了日です。※YYYYMMDD形式です。
ADDおよびSET時、このフィールドは省略可能となります。その際、ADD時のデフォルト設定値は20371231となり、『設定なし』と同義となります。
20371231を指定した場合も『設定なし』となります。
SET時に『設定なし』に設定する場合は、20371231を指定してください。 End date (YYYYMMDD).
This field is optional in ADD and SET operation. The default value in ADD operation will be 20371231. 20371231 will be considered as \"No setting.\"
In order to reset the endDate in SET operation, specify 20371231. ")
@JsonProperty(JSON_PROPERTY_END_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEndDate() {
return endDate;
}
@JsonProperty(JSON_PROPERTY_END_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public AccountManagementServiceInvoice startDate(String startDate) {
this.startDate = startDate;
return this;
}
/**
* <div lang=\"ja\">開始日です。※YYYYMMDD形式です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。※自動でADD時の日付が登録されます。</div> <div lang=\"en\">Start date (YYYYMMDD).<br> Although this field will be returned in the response, it will be ignored on input. * This field will be automatically registered in ADD operation.</div>
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "開始日です。※YYYYMMDD形式です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。※自動でADD時の日付が登録されます。 Start date (YYYYMMDD).
Although this field will be returned in the response, it will be ignored on input. * This field will be automatically registered in ADD operation. ")
@JsonProperty(JSON_PROPERTY_START_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getStartDate() {
return startDate;
}
@JsonProperty(JSON_PROPERTY_START_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStartDate(String startDate) {
this.startDate = startDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AccountManagementServiceInvoice accountManagementServiceInvoice = (AccountManagementServiceInvoice) o;
return Objects.equals(this.budgetAmount, accountManagementServiceInvoice.budgetAmount) &&
Objects.equals(this.endDate, accountManagementServiceInvoice.endDate) &&
Objects.equals(this.startDate, accountManagementServiceInvoice.startDate);
}
@Override
public int hashCode() {
return Objects.hash(budgetAmount, endDate, startDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountManagementServiceInvoice {\n");
sb.append(" budgetAmount: ").append(toIndentedString(budgetAmount)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).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 ");
}
}