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

jp.co.yahoo.adssearchapi.v13.model.AccountShared 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 com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AccountSharedオブジェクトは、アカウント内で共有できる対象外キーワードリストの情報を表します。</div> <div lang=\"en\">AccountShared object describes negative keyword list which can be shared within the account.</div> */ @ApiModel(description = "
AccountSharedオブジェクトは、アカウント内で共有できる対象外キーワードリストの情報を表します。
AccountShared object describes negative keyword list which can be shared within the account.
") @JsonPropertyOrder({ AccountShared.JSON_PROPERTY_ACCOUNT_ID, AccountShared.JSON_PROPERTY_MEMBER_COUNT, AccountShared.JSON_PROPERTY_NAME, AccountShared.JSON_PROPERTY_REFERENCE_COUNT, AccountShared.JSON_PROPERTY_SHARED_LIST_ID }) @JsonTypeName("AccountShared") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AccountShared { public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; private Long accountId; public static final String JSON_PROPERTY_MEMBER_COUNT = "memberCount"; private Integer memberCount; public static final String JSON_PROPERTY_NAME = "name"; private String name; public static final String JSON_PROPERTY_REFERENCE_COUNT = "referenceCount"; private Integer referenceCount; public static final String JSON_PROPERTY_SHARED_LIST_ID = "sharedListId"; private Long sharedListId; public AccountShared() { } public AccountShared accountId(Long accountId) { this.accountId = accountId; return this; } /** * <div lang=\"ja\">アカウントIDです。</div> <div lang=\"en\">Account ID.</div> * @return accountId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウントIDです。
Account ID.
") @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 AccountShared memberCount(Integer memberCount) { this.memberCount = memberCount; return this; } /** * <div lang=\"ja\">対象外キーワードリストに含まれるアイテム(検索対象外キーワード)数です。</div> <div lang=\"en\">Number of items on negative keyword list (keyword excluded on search).</div> * @return memberCount **/ @javax.annotation.Nullable @ApiModelProperty(value = "
対象外キーワードリストに含まれるアイテム(検索対象外キーワード)数です。
Number of items on negative keyword list (keyword excluded on search).
") @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getMemberCount() { return memberCount; } @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMemberCount(Integer memberCount) { this.memberCount = memberCount; } public AccountShared name(String name) { this.name = name; return this; } /** * <div lang=\"ja\">対象外キーワードリスト名です。<br>ADDおよびSET時、このフィールドは必須となります。</div> <div lang=\"en\">Negative keyword list name.<br>This field is required in ADD and SET operation.</div> * @return name **/ @javax.annotation.Nullable @ApiModelProperty(value = "
対象外キーワードリスト名です。
ADDおよびSET時、このフィールドは必須となります。
Negative keyword list name.
This field is required in ADD and SET operation.
") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; } @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setName(String name) { this.name = name; } public AccountShared referenceCount(Integer referenceCount) { this.referenceCount = referenceCount; return this; } /** * <div lang=\"ja\">対象外キーワードリストを使用している キャンペーン数です。</div> <div lang=\"en\">Number of campaigns which use negative keyword list.</div> * @return referenceCount **/ @javax.annotation.Nullable @ApiModelProperty(value = "
対象外キーワードリストを使用している キャンペーン数です。
Number of campaigns which use negative keyword list.
") @JsonProperty(JSON_PROPERTY_REFERENCE_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReferenceCount() { return referenceCount; } @JsonProperty(JSON_PROPERTY_REFERENCE_COUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReferenceCount(Integer referenceCount) { this.referenceCount = referenceCount; } public AccountShared sharedListId(Long sharedListId) { this.sharedListId = sharedListId; return this; } /** * <div lang=\"ja\">対象外キーワードリストIDです。<br>SETおよびREMOVE時、このフィールドは必須となります。</div> <div lang=\"en\">Negative keyword list ID.<br>This field is required in SET and REMOVE operation.</div> * @return sharedListId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
対象外キーワードリストIDです。
SETおよびREMOVE時、このフィールドは必須となります。
Negative keyword list ID.
This field is required in SET and REMOVE operation.
") @JsonProperty(JSON_PROPERTY_SHARED_LIST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getSharedListId() { return sharedListId; } @JsonProperty(JSON_PROPERTY_SHARED_LIST_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSharedListId(Long sharedListId) { this.sharedListId = sharedListId; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AccountShared accountShared = (AccountShared) o; return Objects.equals(this.accountId, accountShared.accountId) && Objects.equals(this.memberCount, accountShared.memberCount) && Objects.equals(this.name, accountShared.name) && Objects.equals(this.referenceCount, accountShared.referenceCount) && Objects.equals(this.sharedListId, accountShared.sharedListId); } @Override public int hashCode() { return Objects.hash(accountId, memberCount, name, referenceCount, sharedListId); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AccountShared {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" referenceCount: ").append(toIndentedString(referenceCount)).append("\n"); sb.append(" sharedListId: ").append(toIndentedString(sharedListId)).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