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

jp.co.yahoo.adssearchapi.v13.model.AccountTrackingUrl 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.AccountTrackingUrlServiceUrlApprovalStatus; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AccountTrackingUrlオブジェクトは、アカウントトラッキングの情報を表します。</div> <div lang=\"en\">AccountTrackingUrl object describes account tracking information.</div> */ @ApiModel(description = "
AccountTrackingUrlオブジェクトは、アカウントトラッキングの情報を表します。
AccountTrackingUrl object describes account tracking information.
") @JsonPropertyOrder({ AccountTrackingUrl.JSON_PROPERTY_ACCOUNT_ID, AccountTrackingUrl.JSON_PROPERTY_ACCOUNT_NAME, AccountTrackingUrl.JSON_PROPERTY_DISAPPROVAL_REASON_CODES, AccountTrackingUrl.JSON_PROPERTY_DISAPPROVAL_REVIEW_URL, AccountTrackingUrl.JSON_PROPERTY_IN_REVIEW_URL, AccountTrackingUrl.JSON_PROPERTY_TRACKING_URL, AccountTrackingUrl.JSON_PROPERTY_URL_APPROVAL_STATUS }) @JsonTypeName("AccountTrackingUrl") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AccountTrackingUrl { 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_DISAPPROVAL_REASON_CODES = "disapprovalReasonCodes"; private List disapprovalReasonCodes = null; public static final String JSON_PROPERTY_DISAPPROVAL_REVIEW_URL = "disapprovalReviewUrl"; private String disapprovalReviewUrl; public static final String JSON_PROPERTY_IN_REVIEW_URL = "inReviewUrl"; private String inReviewUrl; public static final String JSON_PROPERTY_TRACKING_URL = "trackingUrl"; private String trackingUrl; public static final String JSON_PROPERTY_URL_APPROVAL_STATUS = "urlApprovalStatus"; private AccountTrackingUrlServiceUrlApprovalStatus urlApprovalStatus; public AccountTrackingUrl() { } public AccountTrackingUrl 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 AccountTrackingUrl accountName(String accountName) { this.accountName = accountName; return this; } /** * <div lang=\"ja\">アカウント名です。</div> <div lang=\"en\">Account name.</div> * @return accountName **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウント名です。
Account name.
") @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 AccountTrackingUrl disapprovalReasonCodes(List disapprovalReasonCodes) { this.disapprovalReasonCodes = disapprovalReasonCodes; return this; } public AccountTrackingUrl addDisapprovalReasonCodesItem(String disapprovalReasonCodesItem) { if (this.disapprovalReasonCodes == null) { this.disapprovalReasonCodes = new ArrayList<>(); } this.disapprovalReasonCodes.add(disapprovalReasonCodesItem); return this; } /** * <div lang=\"ja\">審査否認理由コードです。</div> <div lang=\"en\">Code of disapproval reason.</div> * @return disapprovalReasonCodes **/ @javax.annotation.Nullable @ApiModelProperty(value = "
審査否認理由コードです。
Code of disapproval reason.
") @JsonProperty(JSON_PROPERTY_DISAPPROVAL_REASON_CODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getDisapprovalReasonCodes() { return disapprovalReasonCodes; } @JsonProperty(JSON_PROPERTY_DISAPPROVAL_REASON_CODES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisapprovalReasonCodes(List disapprovalReasonCodes) { this.disapprovalReasonCodes = disapprovalReasonCodes; } public AccountTrackingUrl disapprovalReviewUrl(String disapprovalReviewUrl) { this.disapprovalReviewUrl = disapprovalReviewUrl; return this; } /** * <div lang=\"ja\">審査否認されたトラッキングURLです。</div> <div lang=\"en\">Tracking URL that has been disapproved.</div> * @return disapprovalReviewUrl **/ @javax.annotation.Nullable @ApiModelProperty(value = "
審査否認されたトラッキングURLです。
Tracking URL that has been disapproved.
") @JsonProperty(JSON_PROPERTY_DISAPPROVAL_REVIEW_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getDisapprovalReviewUrl() { return disapprovalReviewUrl; } @JsonProperty(JSON_PROPERTY_DISAPPROVAL_REVIEW_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDisapprovalReviewUrl(String disapprovalReviewUrl) { this.disapprovalReviewUrl = disapprovalReviewUrl; } public AccountTrackingUrl inReviewUrl(String inReviewUrl) { this.inReviewUrl = inReviewUrl; return this; } /** * <div lang=\"ja\">審査中のトラッキングURLです。</div> <div lang=\"en\">Tracking URL that is in review.</div> * @return inReviewUrl **/ @javax.annotation.Nullable @ApiModelProperty(value = "
審査中のトラッキングURLです。
Tracking URL that is in review.
") @JsonProperty(JSON_PROPERTY_IN_REVIEW_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getInReviewUrl() { return inReviewUrl; } @JsonProperty(JSON_PROPERTY_IN_REVIEW_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setInReviewUrl(String inReviewUrl) { this.inReviewUrl = inReviewUrl; } public AccountTrackingUrl trackingUrl(String trackingUrl) { this.trackingUrl = trackingUrl; return this; } /** * <div lang=\"ja\">トラッキングURLです。<br> SET時、このフィールドは省略可能となります。<br> ※空で設定すると、既存のトラッキングURLは削除されます。</div> <div lang=\"en\">Tracking URL.<br> this field is optional in SET operation.<br> *When tag is set blank, existing Tracking URL will be deleted.</div> * @return trackingUrl **/ @javax.annotation.Nullable @ApiModelProperty(value = "
トラッキングURLです。
SET時、このフィールドは省略可能となります。
※空で設定すると、既存のトラッキングURLは削除されます。
Tracking URL.
this field is optional in SET operation.
*When tag is set blank, existing Tracking URL will be deleted.
") @JsonProperty(JSON_PROPERTY_TRACKING_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getTrackingUrl() { return trackingUrl; } @JsonProperty(JSON_PROPERTY_TRACKING_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrackingUrl(String trackingUrl) { this.trackingUrl = trackingUrl; } public AccountTrackingUrl urlApprovalStatus(AccountTrackingUrlServiceUrlApprovalStatus urlApprovalStatus) { this.urlApprovalStatus = urlApprovalStatus; return this; } /** * Get urlApprovalStatus * @return urlApprovalStatus **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_URL_APPROVAL_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AccountTrackingUrlServiceUrlApprovalStatus getUrlApprovalStatus() { return urlApprovalStatus; } @JsonProperty(JSON_PROPERTY_URL_APPROVAL_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrlApprovalStatus(AccountTrackingUrlServiceUrlApprovalStatus urlApprovalStatus) { this.urlApprovalStatus = urlApprovalStatus; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AccountTrackingUrl accountTrackingUrl = (AccountTrackingUrl) o; return Objects.equals(this.accountId, accountTrackingUrl.accountId) && Objects.equals(this.accountName, accountTrackingUrl.accountName) && Objects.equals(this.disapprovalReasonCodes, accountTrackingUrl.disapprovalReasonCodes) && Objects.equals(this.disapprovalReviewUrl, accountTrackingUrl.disapprovalReviewUrl) && Objects.equals(this.inReviewUrl, accountTrackingUrl.inReviewUrl) && Objects.equals(this.trackingUrl, accountTrackingUrl.trackingUrl) && Objects.equals(this.urlApprovalStatus, accountTrackingUrl.urlApprovalStatus); } @Override public int hashCode() { return Objects.hash(accountId, accountName, disapprovalReasonCodes, disapprovalReviewUrl, inReviewUrl, trackingUrl, urlApprovalStatus); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AccountTrackingUrl {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); sb.append(" disapprovalReasonCodes: ").append(toIndentedString(disapprovalReasonCodes)).append("\n"); sb.append(" disapprovalReviewUrl: ").append(toIndentedString(disapprovalReviewUrl)).append("\n"); sb.append(" inReviewUrl: ").append(toIndentedString(inReviewUrl)).append("\n"); sb.append(" trackingUrl: ").append(toIndentedString(trackingUrl)).append("\n"); sb.append(" urlApprovalStatus: ").append(toIndentedString(urlApprovalStatus)).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