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

jp.co.yahoo.adssearchapi.v14.model.LearningDataExclusion 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: v14 * * * 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.v14.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.v14.model.LearningDataExclusionServiceDevices; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">LearningDataExclusion オブジェクトは、自動入札の学習データ除外を表します。</div> <div lang=\"en\">LearningDataExclusion object describes learning data exclusion for autobidding information.</div> */ @ApiModel(description = "
LearningDataExclusion オブジェクトは、自動入札の学習データ除外を表します。
LearningDataExclusion object describes learning data exclusion for autobidding information.
") @JsonPropertyOrder({ LearningDataExclusion.JSON_PROPERTY_ACCOUNT_ID, LearningDataExclusion.JSON_PROPERTY_LEARNING_DATA_EXCLUSION_NAME, LearningDataExclusion.JSON_PROPERTY_DESCRIPTION, LearningDataExclusion.JSON_PROPERTY_LEARNING_DATA_EXCLUSION_ID, LearningDataExclusion.JSON_PROPERTY_DEVICES, LearningDataExclusion.JSON_PROPERTY_START_DATE_TIME, LearningDataExclusion.JSON_PROPERTY_END_DATE_TIME, LearningDataExclusion.JSON_PROPERTY_CAMPAIGN_IDS }) @JsonTypeName("LearningDataExclusion") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class LearningDataExclusion { public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; private Long accountId; public static final String JSON_PROPERTY_LEARNING_DATA_EXCLUSION_NAME = "learningDataExclusionName"; private String learningDataExclusionName; public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; public static final String JSON_PROPERTY_LEARNING_DATA_EXCLUSION_ID = "learningDataExclusionId"; private Long learningDataExclusionId; public static final String JSON_PROPERTY_DEVICES = "devices"; private List devices = null; public static final String JSON_PROPERTY_START_DATE_TIME = "startDateTime"; private String startDateTime; public static final String JSON_PROPERTY_END_DATE_TIME = "endDateTime"; private String endDateTime; public static final String JSON_PROPERTY_CAMPAIGN_IDS = "campaignIds"; private List campaignIds = null; public LearningDataExclusion() { } public LearningDataExclusion 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 LearningDataExclusion learningDataExclusionName(String learningDataExclusionName) { this.learningDataExclusionName = learningDataExclusionName; return this; } /** * <div lang=\"ja\">学習データ除外名です。<br> ADD時、このフィールドは必須となります。<br> ※128文字以内になります。</div> <div lang=\"en\">Learning Data Exclusion name.<br> This field is required in ADD operation.<br> *Up to 128 characters.</div> * @return learningDataExclusionName **/ @javax.annotation.Nullable @ApiModelProperty(value = "
学習データ除外名です。
ADD時、このフィールドは必須となります。
※128文字以内になります。
Learning Data Exclusion name.
This field is required in ADD operation.
*Up to 128 characters.
") @JsonProperty(JSON_PROPERTY_LEARNING_DATA_EXCLUSION_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getLearningDataExclusionName() { return learningDataExclusionName; } @JsonProperty(JSON_PROPERTY_LEARNING_DATA_EXCLUSION_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLearningDataExclusionName(String learningDataExclusionName) { this.learningDataExclusionName = learningDataExclusionName; } public LearningDataExclusion description(String description) { this.description = description; return this; } /** * <div lang=\"ja\">学習データ除外の説明です。<br> このフィールドは、省略可能となります。<br> ※500文字以内になります。</div> <div lang=\"en\">Learning Data Exclusion description.<br> This field is optional.<br> *Up to 500 characters.</div> * @return description **/ @javax.annotation.Nullable @ApiModelProperty(value = "
学習データ除外の説明です。
このフィールドは、省略可能となります。
※500文字以内になります。
Learning Data Exclusion description.
This field is optional.
*Up to 500 characters.
") @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getDescription() { return description; } @JsonProperty(JSON_PROPERTY_DESCRIPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDescription(String description) { this.description = description; } public LearningDataExclusion learningDataExclusionId(Long learningDataExclusionId) { this.learningDataExclusionId = learningDataExclusionId; return this; } /** * <div lang=\"ja\">学習データ除外IDです。<br> SET及びREMOVE時、このフィールドは必須です。</div> <div lang=\"en\">Learning Data Exclusion ID.<br> This field is required in SET and REMOVE operation.</div> * @return learningDataExclusionId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
学習データ除外IDです。
SET及びREMOVE時、このフィールドは必須です。
Learning Data Exclusion ID.
This field is required in SET and REMOVE operation.
") @JsonProperty(JSON_PROPERTY_LEARNING_DATA_EXCLUSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getLearningDataExclusionId() { return learningDataExclusionId; } @JsonProperty(JSON_PROPERTY_LEARNING_DATA_EXCLUSION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLearningDataExclusionId(Long learningDataExclusionId) { this.learningDataExclusionId = learningDataExclusionId; } public LearningDataExclusion devices(List devices) { this.devices = devices; return this; } public LearningDataExclusion addDevicesItem(LearningDataExclusionServiceDevices devicesItem) { if (this.devices == null) { this.devices = new ArrayList<>(); } this.devices.add(devicesItem); return this; } /** * Get devices * @return devices **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DEVICES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getDevices() { return devices; } @JsonProperty(JSON_PROPERTY_DEVICES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDevices(List devices) { this.devices = devices; } public LearningDataExclusion startDateTime(String startDateTime) { this.startDateTime = startDateTime; return this; } /** * <div lang=\"ja\">ルール適用開始日です。<br> ADD時、このフィールドは必須です。<br> ※YYYYMMDDHHmmss形式です。<br> ※リクエスト日は2037/12/30まで 指定可能です。<br> ※startDateTime〜endDateTimeが14日を超える場合はエラーになります。</div> <div lang=\"en\">Start date of rule setting.<br> This field is required in ADD operation.<br> *In YYYYMMDDHHmmss format<br> *Request date can be set up to 2037/12/30<br> *If startDateTime〜endDateTime exceeds 14 days, an error will occur.</div> * @return startDateTime **/ @javax.annotation.Nullable @ApiModelProperty(value = "
ルール適用開始日です。
ADD時、このフィールドは必須です。
※YYYYMMDDHHmmss形式です。
※リクエスト日は2037/12/30まで 指定可能です。
※startDateTime〜endDateTimeが14日を超える場合はエラーになります。
Start date of rule setting.
This field is required in ADD operation.
*In YYYYMMDDHHmmss format
*Request date can be set up to 2037/12/30
*If startDateTime〜endDateTime exceeds 14 days, an error will occur.
") @JsonProperty(JSON_PROPERTY_START_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getStartDateTime() { return startDateTime; } @JsonProperty(JSON_PROPERTY_START_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartDateTime(String startDateTime) { this.startDateTime = startDateTime; } public LearningDataExclusion endDateTime(String endDateTime) { this.endDateTime = endDateTime; return this; } /** * <div lang=\"ja\">ルール適用終了日です。<br> ADD時、このフィールドは必須です。<br> ※YYYYMMDDHHmmss形式です。<br> ※リクエスト日は2037/12/30まで 指定可能です。<br> ※startDateTime〜endDateTimeが14日を超える場合はエラーになります。</div> <div lang=\"en\">End date of rule setting.<br> This field is required in ADD operation.<br> *In YYYYMMDDHHmmss format<br> *Request date can be set up to 2037/12/30<br> *If startDateTime〜endDateTime exceeds 14 days, an error will occur.</div> * @return endDateTime **/ @javax.annotation.Nullable @ApiModelProperty(value = "
ルール適用終了日です。
ADD時、このフィールドは必須です。
※YYYYMMDDHHmmss形式です。
※リクエスト日は2037/12/30まで 指定可能です。
※startDateTime〜endDateTimeが14日を超える場合はエラーになります。
End date of rule setting.
This field is required in ADD operation.
*In YYYYMMDDHHmmss format
*Request date can be set up to 2037/12/30
*If startDateTime〜endDateTime exceeds 14 days, an error will occur.
") @JsonProperty(JSON_PROPERTY_END_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEndDateTime() { return endDateTime; } @JsonProperty(JSON_PROPERTY_END_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndDateTime(String endDateTime) { this.endDateTime = endDateTime; } public LearningDataExclusion campaignIds(List campaignIds) { this.campaignIds = campaignIds; return this; } public LearningDataExclusion addCampaignIdsItem(Long campaignIdsItem) { if (this.campaignIds == null) { this.campaignIds = new ArrayList<>(); } this.campaignIds.add(campaignIdsItem); return this; } /** * <div lang=\"ja\">キャンペーンIDです。<br> ADD時、このフィールドは必須となります。</div> <div lang=\"en\">Campaign ID.<br> This field is required in ADD operation.</div> * @return campaignIds **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンIDです。
ADD時、このフィールドは必須となります。
Campaign ID.
This field is required in ADD operation.
") @JsonProperty(JSON_PROPERTY_CAMPAIGN_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getCampaignIds() { return campaignIds; } @JsonProperty(JSON_PROPERTY_CAMPAIGN_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCampaignIds(List campaignIds) { this.campaignIds = campaignIds; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LearningDataExclusion learningDataExclusion = (LearningDataExclusion) o; return Objects.equals(this.accountId, learningDataExclusion.accountId) && Objects.equals(this.learningDataExclusionName, learningDataExclusion.learningDataExclusionName) && Objects.equals(this.description, learningDataExclusion.description) && Objects.equals(this.learningDataExclusionId, learningDataExclusion.learningDataExclusionId) && Objects.equals(this.devices, learningDataExclusion.devices) && Objects.equals(this.startDateTime, learningDataExclusion.startDateTime) && Objects.equals(this.endDateTime, learningDataExclusion.endDateTime) && Objects.equals(this.campaignIds, learningDataExclusion.campaignIds); } @Override public int hashCode() { return Objects.hash(accountId, learningDataExclusionName, description, learningDataExclusionId, devices, startDateTime, endDateTime, campaignIds); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class LearningDataExclusion {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" learningDataExclusionName: ").append(toIndentedString(learningDataExclusionName)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" learningDataExclusionId: ").append(toIndentedString(learningDataExclusionId)).append("\n"); sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append(" startDateTime: ").append(toIndentedString(startDateTime)).append("\n"); sb.append(" endDateTime: ").append(toIndentedString(endDateTime)).append("\n"); sb.append(" campaignIds: ").append(toIndentedString(campaignIds)).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