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

jp.co.yahoo.adssearchapi.v14.model.CampaignAssetServiceList 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.CampaignAsset; import jp.co.yahoo.adssearchapi.v14.model.CampaignAssetServiceType; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">CampaignAssetServiceListオブジェクトは、キャンペーンとアセット間の設定情報を表します。</div> <div lang=\"en\">CampaignAssetServiceList object describes configuration information between campaign and assets.</div> */ @ApiModel(description = "
CampaignAssetServiceListオブジェクトは、キャンペーンとアセット間の設定情報を表します。
CampaignAssetServiceList object describes configuration information between campaign and assets.
") @JsonPropertyOrder({ CampaignAssetServiceList.JSON_PROPERTY_CAMPAIGN_ASSETS, CampaignAssetServiceList.JSON_PROPERTY_CAMPAIGN_ID, CampaignAssetServiceList.JSON_PROPERTY_TYPE }) @JsonTypeName("CampaignAssetServiceList") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class CampaignAssetServiceList { public static final String JSON_PROPERTY_CAMPAIGN_ASSETS = "campaignAssets"; private List campaignAssets = null; public static final String JSON_PROPERTY_CAMPAIGN_ID = "campaignId"; private Long campaignId; public static final String JSON_PROPERTY_TYPE = "type"; private CampaignAssetServiceType type; public CampaignAssetServiceList() { } public CampaignAssetServiceList campaignAssets(List campaignAssets) { this.campaignAssets = campaignAssets; return this; } public CampaignAssetServiceList addCampaignAssetsItem(CampaignAsset campaignAssetsItem) { if (this.campaignAssets == null) { this.campaignAssets = new ArrayList<>(); } this.campaignAssets.add(campaignAssetsItem); return this; } /** * Get campaignAssets * @return campaignAssets **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CAMPAIGN_ASSETS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getCampaignAssets() { return campaignAssets; } @JsonProperty(JSON_PROPERTY_CAMPAIGN_ASSETS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCampaignAssets(List campaignAssets) { this.campaignAssets = campaignAssets; } public CampaignAssetServiceList campaignId(Long campaignId) { this.campaignId = campaignId; return this; } /** * <div lang=\"ja\">キャンペーンIDです。<br> REPLACE時、このフィールドは必須です。</div> <div lang=\"en\">Campaign ID.<br> This field is required in REPLACE operation.</div> * @return campaignId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンIDです。
REPLACE時、このフィールドは必須です。
Campaign ID.
This field is required in REPLACE 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 CampaignAssetServiceList type(CampaignAssetServiceType type) { this.type = type; return this; } /** * Get type * @return type **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignAssetServiceType getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(CampaignAssetServiceType type) { this.type = type; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } CampaignAssetServiceList campaignAssetServiceList = (CampaignAssetServiceList) o; return Objects.equals(this.campaignAssets, campaignAssetServiceList.campaignAssets) && Objects.equals(this.campaignId, campaignAssetServiceList.campaignId) && Objects.equals(this.type, campaignAssetServiceList.type); } @Override public int hashCode() { return Objects.hash(campaignAssets, campaignId, type); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignAssetServiceList {\n"); sb.append(" campaignAssets: ").append(toIndentedString(campaignAssets)).append("\n"); sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).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