![JAR search and dependency download from the Maven repository](/logo.png)
jp.co.yahoo.adsdisplayapi.v15.model.AccountTrackingUrl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-display-api-lib Show documentation
Show all versions of ads-display-api-lib Show documentation
Yahoo! JAPAN Ads Display Ads API library for Java
The newest version!
/*
* Yahoo!広告 ディスプレイ広告 API リファレンス / Yahoo! JAPAN Ads Display Ads API Reference
* Yahoo!広告 ディスプレイ広告 APIのWebサービスについて説明します。 Display Ads API Web Services supported in Yahoo! JAPAN Ads API.
*
* The version of the OpenAPI document: v15
*
*
* 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.adsdisplayapi.v15.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.adsdisplayapi.v15.model.AccountTrackingUrlServiceIsRemoveFlg;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">AccountTrackingUrlオブジェクトは、トラッキングの情報を表します。</div> <div lang=\"en\">AccountTrackingUrl object describes tracking information.</div>
*/
@ApiModel(description = "AccountTrackingUrlオブジェクトは、トラッキングの情報を表します。 AccountTrackingUrl object describes tracking information. ")
@JsonPropertyOrder({
AccountTrackingUrl.JSON_PROPERTY_ACCOUNT_ID,
AccountTrackingUrl.JSON_PROPERTY_ACCOUNT_NAME,
AccountTrackingUrl.JSON_PROPERTY_TRACKING_URL,
AccountTrackingUrl.JSON_PROPERTY_IS_REMOVE_TRACKING_URL
})
@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_TRACKING_URL = "trackingUrl";
private String trackingUrl;
public static final String JSON_PROPERTY_IS_REMOVE_TRACKING_URL = "isRemoveTrackingUrl";
private AccountTrackingUrlServiceIsRemoveFlg isRemoveTrackingUrl;
public AccountTrackingUrl() {
}
public AccountTrackingUrl accountId(Long accountId) {
this.accountId = accountId;
return this;
}
/**
* <div lang=\"ja\">アカウントIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Account ID.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "アカウントIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Account ID.
Although this field will be returned in the response, it will be ignored on input. ")
@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\">アカウント名です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Account name.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return accountName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "アカウント名です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Account name.
Although this field will be returned in the response, it will be ignored on input. ")
@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 trackingUrl(String trackingUrl) {
this.trackingUrl = trackingUrl;
return this;
}
/**
* <div lang=\"ja\">トラッキングURLです。<br> SET時、このフィールドは省略可能となります。</div> <div lang=\"en\">Tracking URL.<br> this field is optional in SET operation.</div>
* @return trackingUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "トラッキングURLです。
SET時、このフィールドは省略可能となります。 Tracking URL.
this field is optional in SET operation. ")
@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 isRemoveTrackingUrl(AccountTrackingUrlServiceIsRemoveFlg isRemoveTrackingUrl) {
this.isRemoveTrackingUrl = isRemoveTrackingUrl;
return this;
}
/**
* Get isRemoveTrackingUrl
* @return isRemoveTrackingUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_IS_REMOVE_TRACKING_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AccountTrackingUrlServiceIsRemoveFlg getIsRemoveTrackingUrl() {
return isRemoveTrackingUrl;
}
@JsonProperty(JSON_PROPERTY_IS_REMOVE_TRACKING_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsRemoveTrackingUrl(AccountTrackingUrlServiceIsRemoveFlg isRemoveTrackingUrl) {
this.isRemoveTrackingUrl = isRemoveTrackingUrl;
}
@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.trackingUrl, accountTrackingUrl.trackingUrl) &&
Objects.equals(this.isRemoveTrackingUrl, accountTrackingUrl.isRemoveTrackingUrl);
}
@Override
public int hashCode() {
return Objects.hash(accountId, accountName, trackingUrl, isRemoveTrackingUrl);
}
@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(" trackingUrl: ").append(toIndentedString(trackingUrl)).append("\n");
sb.append(" isRemoveTrackingUrl: ").append(toIndentedString(isRemoveTrackingUrl)).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 - 2025 Weber Informatics LLC | Privacy Policy