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

jp.co.yahoo.adssearchapi.v14.model.CampaignServiceDynamicAdsForSearchSetting 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.CampaignServiceDasUseUrlsType; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\"> CampaignServiceDynamicAdsForSearchSettingは、動的検索連動型広告に関する検索条件を表します。<br> ADD時、settingTypeがDYNAMIC_ADS_FOR_SEARCH_SETTINGの場合、必須となり、それ以外では省略可能となります。 </div> <div lang=\"en\"> CampaignServiceDynamicAdsForSearchSetting displays search condition for Dynamic ads for search.<br> This field is optional. However, in ADD operation, this field is required only when settingType is 'DYNAMIC_ADS_FOR_SEARCH_SETTING', and it is optional when settingType is the others. </div> */ @ApiModel(description = "
CampaignServiceDynamicAdsForSearchSettingは、動的検索連動型広告に関する検索条件を表します。
ADD時、settingTypeがDYNAMIC_ADS_FOR_SEARCH_SETTINGの場合、必須となり、それ以外では省略可能となります。
CampaignServiceDynamicAdsForSearchSetting displays search condition for Dynamic ads for search.
This field is optional. However, in ADD operation, this field is required only when settingType is 'DYNAMIC_ADS_FOR_SEARCH_SETTING', and it is optional when settingType is the others.
") @JsonPropertyOrder({ CampaignServiceDynamicAdsForSearchSetting.JSON_PROPERTY_FEED_IDS, CampaignServiceDynamicAdsForSearchSetting.JSON_PROPERTY_PAGE_FEED_ASSET_SET_IDS, CampaignServiceDynamicAdsForSearchSetting.JSON_PROPERTY_DOMAIN, CampaignServiceDynamicAdsForSearchSetting.JSON_PROPERTY_DAS_USE_URLS_TYPE }) @JsonTypeName("CampaignServiceDynamicAdsForSearchSetting") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class CampaignServiceDynamicAdsForSearchSetting { public static final String JSON_PROPERTY_FEED_IDS = "feedIds"; private List feedIds = null; public static final String JSON_PROPERTY_PAGE_FEED_ASSET_SET_IDS = "pageFeedAssetSetIds"; private List pageFeedAssetSetIds = null; public static final String JSON_PROPERTY_DOMAIN = "domain"; private String domain; public static final String JSON_PROPERTY_DAS_USE_URLS_TYPE = "dasUseUrlsType"; private CampaignServiceDasUseUrlsType dasUseUrlsType; public CampaignServiceDynamicAdsForSearchSetting() { } public CampaignServiceDynamicAdsForSearchSetting feedIds(List feedIds) { this.feedIds = feedIds; return this; } public CampaignServiceDynamicAdsForSearchSetting addFeedIdsItem(Long feedIdsItem) { if (this.feedIds == null) { this.feedIds = new ArrayList<>(); } this.feedIds.add(feedIdsItem); return this; } /** * <div lang=\"ja\"> キャンペーンで使用するページフィードIDです。<br> ※現在このフィールドは参照のみ可能です。ページフィードを設定する場合は、pageFeedAssetSetIdsをご利用ください。 </div> <div lang=\"en\"> Page Feed ID for campaign.<br> *Currently, this field is read-only. To set up page feeds, please use pageFeedAssetSetIds. </div> * @return feedIds **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンで使用するページフィードIDです。
※現在このフィールドは参照のみ可能です。ページフィードを設定する場合は、pageFeedAssetSetIdsをご利用ください。
Page Feed ID for campaign.
*Currently, this field is read-only. To set up page feeds, please use pageFeedAssetSetIds.
") @JsonProperty(JSON_PROPERTY_FEED_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFeedIds() { return feedIds; } @JsonProperty(JSON_PROPERTY_FEED_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFeedIds(List feedIds) { this.feedIds = feedIds; } public CampaignServiceDynamicAdsForSearchSetting pageFeedAssetSetIds(List pageFeedAssetSetIds) { this.pageFeedAssetSetIds = pageFeedAssetSetIds; return this; } public CampaignServiceDynamicAdsForSearchSetting addPageFeedAssetSetIdsItem(Long pageFeedAssetSetIdsItem) { if (this.pageFeedAssetSetIds == null) { this.pageFeedAssetSetIds = new ArrayList<>(); } this.pageFeedAssetSetIds.add(pageFeedAssetSetIdsItem); return this; } /** * <div lang=\"ja\"> キャンペーンで使用するページフィードアセットセットIDです。<br> ADD時およびSET時、DasUseUrlsTypeがUSE_SUPPLIED_URLS_ONLYまたはDOMAIN_AND_SUPPLIED_URLSの場合、このフィールドは必須となります。 </div> <div lang=\"en\"> PageFeedAssetSet ID for campaign.<br> In ADD and SET operation, If DasUseUrlsType is USE_SUPPLIED_URLS_ONLY or DOMAIN_AND_SUPPLIED_URLS, this field is required. </div> * @return pageFeedAssetSetIds **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンで使用するページフィードアセットセットIDです。
ADD時およびSET時、DasUseUrlsTypeがUSE_SUPPLIED_URLS_ONLYまたはDOMAIN_AND_SUPPLIED_URLSの場合、このフィールドは必須となります。
PageFeedAssetSet ID for campaign.
In ADD and SET operation, If DasUseUrlsType is USE_SUPPLIED_URLS_ONLY or DOMAIN_AND_SUPPLIED_URLS, this field is required.
") @JsonProperty(JSON_PROPERTY_PAGE_FEED_ASSET_SET_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPageFeedAssetSetIds() { return pageFeedAssetSetIds; } @JsonProperty(JSON_PROPERTY_PAGE_FEED_ASSET_SET_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPageFeedAssetSetIds(List pageFeedAssetSetIds) { this.pageFeedAssetSetIds = pageFeedAssetSetIds; } public CampaignServiceDynamicAdsForSearchSetting domain(String domain) { this.domain = domain; return this; } /** * <div lang=\"ja\"> ドメインです。<br> ADDおよびSET時、DasUseUrlsTypeがTOP_DOMAIN_ONLYまたはDOMAIN_AND_SUPPLIED_URLSの場合、このフィールドは必須となります。 </div> <div lang=\"en\"> Domain.<br> If DasUseUrlsType is TOP_DOMAIN_ONLY or DOMAIN_AND_SUPPLIED_URLS, this field is required in ADD and SET operation. </div> * @return domain **/ @javax.annotation.Nullable @ApiModelProperty(value = "
ドメインです。
ADDおよびSET時、DasUseUrlsTypeがTOP_DOMAIN_ONLYまたはDOMAIN_AND_SUPPLIED_URLSの場合、このフィールドは必須となります。
Domain.
If DasUseUrlsType is TOP_DOMAIN_ONLY or DOMAIN_AND_SUPPLIED_URLS, this field is required in ADD and SET 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; } public CampaignServiceDynamicAdsForSearchSetting dasUseUrlsType(CampaignServiceDasUseUrlsType dasUseUrlsType) { this.dasUseUrlsType = dasUseUrlsType; return this; } /** * Get dasUseUrlsType * @return dasUseUrlsType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DAS_USE_URLS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceDasUseUrlsType getDasUseUrlsType() { return dasUseUrlsType; } @JsonProperty(JSON_PROPERTY_DAS_USE_URLS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDasUseUrlsType(CampaignServiceDasUseUrlsType dasUseUrlsType) { this.dasUseUrlsType = dasUseUrlsType; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } CampaignServiceDynamicAdsForSearchSetting campaignServiceDynamicAdsForSearchSetting = (CampaignServiceDynamicAdsForSearchSetting) o; return Objects.equals(this.feedIds, campaignServiceDynamicAdsForSearchSetting.feedIds) && Objects.equals(this.pageFeedAssetSetIds, campaignServiceDynamicAdsForSearchSetting.pageFeedAssetSetIds) && Objects.equals(this.domain, campaignServiceDynamicAdsForSearchSetting.domain) && Objects.equals(this.dasUseUrlsType, campaignServiceDynamicAdsForSearchSetting.dasUseUrlsType); } @Override public int hashCode() { return Objects.hash(feedIds, pageFeedAssetSetIds, domain, dasUseUrlsType); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignServiceDynamicAdsForSearchSetting {\n"); sb.append(" feedIds: ").append(toIndentedString(feedIds)).append("\n"); sb.append(" pageFeedAssetSetIds: ").append(toIndentedString(pageFeedAssetSetIds)).append("\n"); sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); sb.append(" dasUseUrlsType: ").append(toIndentedString(dasUseUrlsType)).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