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

jp.co.yahoo.adssearchapi.v14.model.CampaignTargetServicePlatformTarget 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 jp.co.yahoo.adssearchapi.v14.model.CampaignTargetServicePlatformType; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">CampaignTargetServicePlatformTargetオブジェクトは、デバイス設定を表します。<br> このフィールドは、ADD時およびSET時に省略可能となります。<br> ※TargetTypeがPLATFORMの場合、このフィールドはADD時に必須となります。</div> <div lang=\"en\">CampaignTargetServicePlatformTarget object describes device setting.<br> This field is optional in ADD and SET operation.<br> *If targetType is PLATFORM, this field is required in ADD operation.</div> */ @ApiModel(description = "
CampaignTargetServicePlatformTargetオブジェクトは、デバイス設定を表します。
このフィールドは、ADD時およびSET時に省略可能となります。
※TargetTypeがPLATFORMの場合、このフィールドはADD時に必須となります。
CampaignTargetServicePlatformTarget object describes device setting.
This field is optional in ADD and SET operation.
*If targetType is PLATFORM, this field is required in ADD operation.
") @JsonPropertyOrder({ CampaignTargetServicePlatformTarget.JSON_PROPERTY_PLATFORM_TYPE }) @JsonTypeName("CampaignTargetServicePlatformTarget") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class CampaignTargetServicePlatformTarget { public static final String JSON_PROPERTY_PLATFORM_TYPE = "platformType"; private CampaignTargetServicePlatformType platformType; public CampaignTargetServicePlatformTarget() { } public CampaignTargetServicePlatformTarget platformType(CampaignTargetServicePlatformType platformType) { this.platformType = platformType; return this; } /** * Get platformType * @return platformType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PLATFORM_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignTargetServicePlatformType getPlatformType() { return platformType; } @JsonProperty(JSON_PROPERTY_PLATFORM_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPlatformType(CampaignTargetServicePlatformType platformType) { this.platformType = platformType; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } CampaignTargetServicePlatformTarget campaignTargetServicePlatformTarget = (CampaignTargetServicePlatformTarget) o; return Objects.equals(this.platformType, campaignTargetServicePlatformTarget.platformType); } @Override public int hashCode() { return Objects.hash(platformType); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignTargetServicePlatformTarget {\n"); sb.append(" platformType: ").append(toIndentedString(platformType)).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