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

jp.co.yahoo.adssearchapi.v12.model.Account Maven / Gradle / Ivy

The 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: 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 jp.co.yahoo.adssearchapi.v12.model.AccountServiceAutoTaggingEnabled; import jp.co.yahoo.adssearchapi.v12.model.AccountServiceDeliveryStatus; import jp.co.yahoo.adssearchapi.v12.model.AccountServiceIsMccAccount; import jp.co.yahoo.adssearchapi.v12.model.AccountServiceIsTestAccount; import jp.co.yahoo.adssearchapi.v12.model.AccountServiceStatus; import jp.co.yahoo.adssearchapi.v12.model.AccountServiceType; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">Accountオブジェクトは、アカウントを表します。</div> <div lang=\"en\">Account object describes the account information.</div> */ @ApiModel(description = "
Accountオブジェクトは、アカウントを表します。
Account object describes the account information.
") @JsonPropertyOrder({ Account.JSON_PROPERTY_ACCOUNT_ID, Account.JSON_PROPERTY_ACCOUNT_NAME, Account.JSON_PROPERTY_ACCOUNT_STATUS, Account.JSON_PROPERTY_ACCOUNT_TYPE, Account.JSON_PROPERTY_AUTO_TAGGING_ENABLED, Account.JSON_PROPERTY_DELIVERY_STATUS, Account.JSON_PROPERTY_IS_TEST_ACCOUNT, Account.JSON_PROPERTY_START_DATE, Account.JSON_PROPERTY_END_DATE, Account.JSON_PROPERTY_IS_MCC_ACCOUNT, Account.JSON_PROPERTY_CONTACT_BIZ_ID }) @JsonTypeName("Account") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class Account { public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; private Long accountId; public static final String JSON_PROPERTY_ACCOUNT_NAME = "accountName"; private String accountName; public static final String JSON_PROPERTY_ACCOUNT_STATUS = "accountStatus"; private AccountServiceStatus accountStatus; public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; private AccountServiceType accountType; public static final String JSON_PROPERTY_AUTO_TAGGING_ENABLED = "autoTaggingEnabled"; private AccountServiceAutoTaggingEnabled autoTaggingEnabled; public static final String JSON_PROPERTY_DELIVERY_STATUS = "deliveryStatus"; private AccountServiceDeliveryStatus deliveryStatus; public static final String JSON_PROPERTY_IS_TEST_ACCOUNT = "isTestAccount"; private AccountServiceIsTestAccount isTestAccount; public static final String JSON_PROPERTY_START_DATE = "startDate"; private String startDate; public static final String JSON_PROPERTY_END_DATE = "endDate"; private String endDate; public static final String JSON_PROPERTY_IS_MCC_ACCOUNT = "isMccAccount"; private AccountServiceIsMccAccount isMccAccount; public static final String JSON_PROPERTY_CONTACT_BIZ_ID = "contactBizId"; private String contactBizId; public Account() { } public Account accountId(Long accountId) { this.accountId = accountId; return this; } /** * <div lang=\"ja\">アカウントIDです。<br> SET時、このフィールドは必須となります。</div> <div lang=\"en\">Account ID.<br> This field is required in SET operation.</div> * @return accountId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウントIDです。
SET時、このフィールドは必須となります。
Account ID.
This field is required in SET operation.
") @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getAccountId() { return accountId; } @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountId(Long accountId) { this.accountId = accountId; } public Account accountName(String accountName) { this.accountName = accountName; return this; } /** * <div lang=\"ja\">アカウント名です。<br> SET時、このフィールドは省略可能となります。</div> <div lang=\"en\">Account name.<br> This field is optional in SET operation.</div> * @return accountName **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウント名です。
SET時、このフィールドは省略可能となります。
Account name.
This field is optional in SET operation.
") @JsonProperty(JSON_PROPERTY_ACCOUNT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAccountName() { return accountName; } @JsonProperty(JSON_PROPERTY_ACCOUNT_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountName(String accountName) { this.accountName = accountName; } public Account accountStatus(AccountServiceStatus accountStatus) { this.accountStatus = accountStatus; return this; } /** * Get accountStatus * @return accountStatus **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AccountServiceStatus getAccountStatus() { return accountStatus; } @JsonProperty(JSON_PROPERTY_ACCOUNT_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountStatus(AccountServiceStatus accountStatus) { this.accountStatus = accountStatus; } public Account accountType(AccountServiceType accountType) { this.accountType = accountType; return this; } /** * Get accountType * @return accountType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AccountServiceType getAccountType() { return accountType; } @JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountType(AccountServiceType accountType) { this.accountType = accountType; } public Account autoTaggingEnabled(AccountServiceAutoTaggingEnabled autoTaggingEnabled) { this.autoTaggingEnabled = autoTaggingEnabled; return this; } /** * Get autoTaggingEnabled * @return autoTaggingEnabled **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AUTO_TAGGING_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AccountServiceAutoTaggingEnabled getAutoTaggingEnabled() { return autoTaggingEnabled; } @JsonProperty(JSON_PROPERTY_AUTO_TAGGING_ENABLED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAutoTaggingEnabled(AccountServiceAutoTaggingEnabled autoTaggingEnabled) { this.autoTaggingEnabled = autoTaggingEnabled; } public Account deliveryStatus(AccountServiceDeliveryStatus deliveryStatus) { this.deliveryStatus = deliveryStatus; return this; } /** * Get deliveryStatus * @return deliveryStatus **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DELIVERY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AccountServiceDeliveryStatus getDeliveryStatus() { return deliveryStatus; } @JsonProperty(JSON_PROPERTY_DELIVERY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDeliveryStatus(AccountServiceDeliveryStatus deliveryStatus) { this.deliveryStatus = deliveryStatus; } public Account isTestAccount(AccountServiceIsTestAccount isTestAccount) { this.isTestAccount = isTestAccount; return this; } /** * Get isTestAccount * @return isTestAccount **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_IS_TEST_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AccountServiceIsTestAccount getIsTestAccount() { return isTestAccount; } @JsonProperty(JSON_PROPERTY_IS_TEST_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIsTestAccount(AccountServiceIsTestAccount isTestAccount) { this.isTestAccount = isTestAccount; } public Account startDate(String startDate) { this.startDate = startDate; return this; } /** * <div lang=\"ja\">掲載開始日です。<br> 「yyyyMMdd」形式で表示されます。<br> SET時、このフィールドは無視されます。</div> <div lang=\"en\">Start date of ad serving.<br> This field will be ignored in SET operation.<br> It is displayed in &#39;yyyyMMdd&#39; format.</div> * @return startDate **/ @javax.annotation.Nullable @ApiModelProperty(value = "
掲載開始日です。
「yyyyMMdd」形式で表示されます。
SET時、このフィールドは無視されます。
Start date of ad serving.
This field will be ignored in SET operation.
It is displayed in 'yyyyMMdd' format.
") @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; } public Account endDate(String endDate) { this.endDate = endDate; return this; } /** * <div lang=\"ja\">掲載終了日です。<br> SET時、このフィールドは無視されます。<br>「yyyyMMdd」形式で表示されます。</div> <div lang=\"en\">End date of ad serving.<br>This field will be ignored in SET operation.<br> It is displayed in &#39;yyyyMMdd&#39; format.</div> * @return endDate **/ @javax.annotation.Nullable @ApiModelProperty(value = "
掲載終了日です。
SET時、このフィールドは無視されます。
「yyyyMMdd」形式で表示されます。
End date of ad serving.
This field will be ignored in SET operation.
It is displayed in 'yyyyMMdd' format.
") @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 Account isMccAccount(AccountServiceIsMccAccount isMccAccount) { this.isMccAccount = isMccAccount; return this; } /** * Get isMccAccount * @return isMccAccount **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_IS_MCC_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AccountServiceIsMccAccount getIsMccAccount() { return isMccAccount; } @JsonProperty(JSON_PROPERTY_IS_MCC_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setIsMccAccount(AccountServiceIsMccAccount isMccAccount) { this.isMccAccount = isMccAccount; } public Account contactBizId(String contactBizId) { this.contactBizId = contactBizId; return this; } /** * <div lang=\"ja\">アカウント管理者のYahoo! JAPANビジネスIDです。<br> MCCアカウントの場合、このフィールドは返却されず、リクエストの際も無視されます。<br> テストアカウントの場合、このフィールドは更新できません。</div> <div lang=\"en\">Contact Business ID.<br> If isManagerAccount is \"TRUE\", this field will not be returned and will be ignored on request.<br> If isTestAccount is \"TRUE\", this field cannot be set.</div> * @return contactBizId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウント管理者のYahoo! JAPANビジネスIDです。
MCCアカウントの場合、このフィールドは返却されず、リクエストの際も無視されます。
テストアカウントの場合、このフィールドは更新できません。
Contact Business ID.
If isManagerAccount is \"TRUE\", this field will not be returned and will be ignored on request.
If isTestAccount is \"TRUE\", this field cannot be set.
") @JsonProperty(JSON_PROPERTY_CONTACT_BIZ_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getContactBizId() { return contactBizId; } @JsonProperty(JSON_PROPERTY_CONTACT_BIZ_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setContactBizId(String contactBizId) { this.contactBizId = contactBizId; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Account account = (Account) o; return Objects.equals(this.accountId, account.accountId) && Objects.equals(this.accountName, account.accountName) && Objects.equals(this.accountStatus, account.accountStatus) && Objects.equals(this.accountType, account.accountType) && Objects.equals(this.autoTaggingEnabled, account.autoTaggingEnabled) && Objects.equals(this.deliveryStatus, account.deliveryStatus) && Objects.equals(this.isTestAccount, account.isTestAccount) && Objects.equals(this.startDate, account.startDate) && Objects.equals(this.endDate, account.endDate) && Objects.equals(this.isMccAccount, account.isMccAccount) && Objects.equals(this.contactBizId, account.contactBizId); } @Override public int hashCode() { return Objects.hash(accountId, accountName, accountStatus, accountType, autoTaggingEnabled, deliveryStatus, isTestAccount, startDate, endDate, isMccAccount, contactBizId); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Account {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); sb.append(" accountStatus: ").append(toIndentedString(accountStatus)).append("\n"); sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); sb.append(" autoTaggingEnabled: ").append(toIndentedString(autoTaggingEnabled)).append("\n"); sb.append(" deliveryStatus: ").append(toIndentedString(deliveryStatus)).append("\n"); sb.append(" isTestAccount: ").append(toIndentedString(isTestAccount)).append("\n"); sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); sb.append(" isMccAccount: ").append(toIndentedString(isMccAccount)).append("\n"); sb.append(" contactBizId: ").append(toIndentedString(contactBizId)).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