jp.co.yahoo.adssearchapi.v13.model.PageFeedAssetSet 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: 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 com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">PageFeedAssetSetオブジェクトは、ページフィードアセットセットの情報を格納します。</div> <div lang=\"en\">PageFeedAssetSet object stores page feed asset set information.</div>
*/
@ApiModel(description = "PageFeedAssetSetオブジェクトは、ページフィードアセットセットの情報を格納します。 PageFeedAssetSet object stores page feed asset set information. ")
@JsonPropertyOrder({
PageFeedAssetSet.JSON_PROPERTY_ACCOUNT_ID,
PageFeedAssetSet.JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID,
PageFeedAssetSet.JSON_PROPERTY_PAGE_FEED_ASSET_SET_NAME,
PageFeedAssetSet.JSON_PROPERTY_DOMAIN
})
@JsonTypeName("PageFeedAssetSet")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class PageFeedAssetSet {
public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId";
private Long accountId;
public static final String JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID = "pageFeedAssetSetId";
private Long pageFeedAssetSetId;
public static final String JSON_PROPERTY_PAGE_FEED_ASSET_SET_NAME = "pageFeedAssetSetName";
private String pageFeedAssetSetName;
public static final String JSON_PROPERTY_DOMAIN = "domain";
private String domain;
public PageFeedAssetSet() {
}
public PageFeedAssetSet 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 PageFeedAssetSet pageFeedAssetSetId(Long pageFeedAssetSetId) {
this.pageFeedAssetSetId = pageFeedAssetSetId;
return this;
}
/**
* <div lang=\"ja\">ページフィードアセットセットIDです。<br> このフィールドは、SETおよびREMOVE時に必須となり、ADD時は無視されます。</div> <div lang=\"en\">PageFeedAssetSet ID.<br> This field is required in SET and REMOVE operation, and will be ignored in ADD operation.</div>
* @return pageFeedAssetSetId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ページフィードアセットセットIDです。
このフィールドは、SETおよびREMOVE時に必須となり、ADD時は無視されます。 PageFeedAssetSet ID.
This field is required in SET and REMOVE operation, and will be ignored in ADD operation. ")
@JsonProperty(JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPageFeedAssetSetId() {
return pageFeedAssetSetId;
}
@JsonProperty(JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPageFeedAssetSetId(Long pageFeedAssetSetId) {
this.pageFeedAssetSetId = pageFeedAssetSetId;
}
public PageFeedAssetSet pageFeedAssetSetName(String pageFeedAssetSetName) {
this.pageFeedAssetSetName = pageFeedAssetSetName;
return this;
}
/**
* <div lang=\"ja\">ページフィードアセットセット名です。<br> このフィールドは、ADDおよびSET時に必須となり、REMOVE時に無視されます。</div> <div lang=\"en\">PageFeedAssetSet name.<br> This field is required in ADD and SET operation, and will be ignored in REMOVE operation.</div>
* @return pageFeedAssetSetName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ページフィードアセットセット名です。
このフィールドは、ADDおよびSET時に必須となり、REMOVE時に無視されます。 PageFeedAssetSet name.
This field is required in ADD and SET operation, and will be ignored in REMOVE operation. ")
@JsonProperty(JSON_PROPERTY_PAGE_FEED_ASSET_SET_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPageFeedAssetSetName() {
return pageFeedAssetSetName;
}
@JsonProperty(JSON_PROPERTY_PAGE_FEED_ASSET_SET_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPageFeedAssetSetName(String pageFeedAssetSetName) {
this.pageFeedAssetSetName = pageFeedAssetSetName;
}
public PageFeedAssetSet domain(String domain) {
this.domain = domain;
return this;
}
/**
* <div lang=\"ja\">ドメインです。<br> このフィールドは、ADD時に必須となり、SETおよびREMOVE時に無視されます。</div> <div lang=\"en\">Domain.<br> This field is required in ADD operation, and will be ignored in SET and REMOVE operation.</div>
* @return domain
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ドメインです。
このフィールドは、ADD時に必須となり、SETおよびREMOVE時に無視されます。 Domain.
This field is required in ADD operation, and will be ignored in SET and REMOVE operation. ")
@JsonProperty(JSON_PROPERTY_DOMAIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDomain() {
return domain;
}
@JsonProperty(JSON_PROPERTY_DOMAIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDomain(String domain) {
this.domain = domain;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PageFeedAssetSet pageFeedAssetSet = (PageFeedAssetSet) o;
return Objects.equals(this.accountId, pageFeedAssetSet.accountId) &&
Objects.equals(this.pageFeedAssetSetId, pageFeedAssetSet.pageFeedAssetSetId) &&
Objects.equals(this.pageFeedAssetSetName, pageFeedAssetSet.pageFeedAssetSetName) &&
Objects.equals(this.domain, pageFeedAssetSet.domain);
}
@Override
public int hashCode() {
return Objects.hash(accountId, pageFeedAssetSetId, pageFeedAssetSetName, domain);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PageFeedAssetSet {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" pageFeedAssetSetId: ").append(toIndentedString(pageFeedAssetSetId)).append("\n");
sb.append(" pageFeedAssetSetName: ").append(toIndentedString(pageFeedAssetSetName)).append("\n");
sb.append(" domain: ").append(toIndentedString(domain)).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 ");
}
}