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

jp.co.yahoo.adssearchapi.v12.model.CampaignSharedSet 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 com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">CampaignSharedSetは、キャンペーンと対象外キーワードリストの関連付け情報を保持するオブジェクトです。</div> <div lang=\"en\">CampaignSharedSet is object to hold setup information between negative keyword list and campaign.</div> */ @ApiModel(description = "
CampaignSharedSetは、キャンペーンと対象外キーワードリストの関連付け情報を保持するオブジェクトです。
CampaignSharedSet is object to hold setup information between negative keyword list and campaign.
") @JsonPropertyOrder({ CampaignSharedSet.JSON_PROPERTY_ACCOUNT_ID, CampaignSharedSet.JSON_PROPERTY_CAMPAIGN_ID, CampaignSharedSet.JSON_PROPERTY_CAMPAIGN_NAME, CampaignSharedSet.JSON_PROPERTY_SHARED_LIST_ID, CampaignSharedSet.JSON_PROPERTY_SHARED_LIST_NAME }) @JsonTypeName("CampaignSharedSet") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class CampaignSharedSet { public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; private Long accountId; public static final String JSON_PROPERTY_CAMPAIGN_ID = "campaignId"; private Long campaignId; public static final String JSON_PROPERTY_CAMPAIGN_NAME = "campaignName"; private String campaignName; public static final String JSON_PROPERTY_SHARED_LIST_ID = "sharedListId"; private Long sharedListId; public static final String JSON_PROPERTY_SHARED_LIST_NAME = "sharedListName"; private String sharedListName; public CampaignSharedSet() { } public CampaignSharedSet 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 CampaignSharedSet campaignId(Long campaignId) { this.campaignId = campaignId; return this; } /** * <div lang=\"ja\">キャンペーンIDです。<br> ADD時およびREMOVE時、このフィールドは必須です。</div> <div lang=\"en\">Campaign ID.<br> This field is required in ADD and REMOVE operation.</div> * @return campaignId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンIDです。
ADD時およびREMOVE時、このフィールドは必須です。
Campaign ID.
This field is required in ADD and REMOVE operation.
") @JsonProperty(JSON_PROPERTY_CAMPAIGN_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getCampaignId() { return campaignId; } @JsonProperty(JSON_PROPERTY_CAMPAIGN_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } public CampaignSharedSet campaignName(String campaignName) { this.campaignName = campaignName; return this; } /** * <div lang=\"ja\">キャンペーン名です。</div> <div lang=\"en\">Campaign name.</div> * @return campaignName **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーン名です。
Campaign name.
") @JsonProperty(JSON_PROPERTY_CAMPAIGN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCampaignName() { return campaignName; } @JsonProperty(JSON_PROPERTY_CAMPAIGN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCampaignName(String campaignName) { this.campaignName = campaignName; } public CampaignSharedSet sharedListId(Long sharedListId) { this.sharedListId = sharedListId; return this; } /** * <div lang=\"ja\">アカウントの対象外キーワードリストIDです。<br> ADD時およびREMOVE時、このフィールドは必須です。</div> <div lang=\"en\">Negative keyword list ID of the account.<br> This field is required in ADD and REMOVE operation.</div> * @return sharedListId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウントの対象外キーワードリストIDです。
ADD時およびREMOVE時、このフィールドは必須です。
Negative keyword list ID of the account.
This field is required in ADD 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; } public CampaignSharedSet sharedListName(String sharedListName) { this.sharedListName = sharedListName; return this; } /** * <div lang=\"ja\">アカウントの対象外キーワードリスト名です。</div> <div lang=\"en\">Negative keyword list name of the account.</div> * @return sharedListName **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウントの対象外キーワードリスト名です。
Negative keyword list name of the account.
") @JsonProperty(JSON_PROPERTY_SHARED_LIST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSharedListName() { return sharedListName; } @JsonProperty(JSON_PROPERTY_SHARED_LIST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSharedListName(String sharedListName) { this.sharedListName = sharedListName; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } CampaignSharedSet campaignSharedSet = (CampaignSharedSet) o; return Objects.equals(this.accountId, campaignSharedSet.accountId) && Objects.equals(this.campaignId, campaignSharedSet.campaignId) && Objects.equals(this.campaignName, campaignSharedSet.campaignName) && Objects.equals(this.sharedListId, campaignSharedSet.sharedListId) && Objects.equals(this.sharedListName, campaignSharedSet.sharedListName); } @Override public int hashCode() { return Objects.hash(accountId, campaignId, campaignName, sharedListId, sharedListName); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignSharedSet {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n"); sb.append(" campaignName: ").append(toIndentedString(campaignName)).append("\n"); sb.append(" sharedListId: ").append(toIndentedString(sharedListId)).append("\n"); sb.append(" sharedListName: ").append(toIndentedString(sharedListName)).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