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

jp.co.yahoo.adssearchapi.v12.model.ConversionTrackerServiceAppConversion 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: 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 jp.co.yahoo.adssearchapi.v12.model.ConversionTrackerServiceAppConversionType; import jp.co.yahoo.adssearchapi.v12.model.ConversionTrackerServiceAppPlatform; import jp.co.yahoo.adssearchapi.v12.model.ConversionTrackerServiceAppPostbackUrl; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">ConversionTrackerServiceAppConversionオブジェクトは、アプリコンバージョン測定タグやタグごとのパフォーマンスデータなどのアプリコンバージョン設定を表します。<br> このフィールドは、ADDおよびSET時に省略可能となります。<br> ※ADD時、conversionTrackerTypeがAPP_CONVERSIONの場合は必須です。</div> <div lang=\"en\">ConversionTrackerServiceAppConversion object describes the App ConversionTracker settings such as App ConversionTag and performance data by tag.<br> This field is optional in ADD and SET operation.<br> *If the conversionTrackerType is APP_CONVERSION, this field will be required in ADD operation.</div> */ @ApiModel(description = "
ConversionTrackerServiceAppConversionオブジェクトは、アプリコンバージョン測定タグやタグごとのパフォーマンスデータなどのアプリコンバージョン設定を表します。
このフィールドは、ADDおよびSET時に省略可能となります。
※ADD時、conversionTrackerTypeがAPP_CONVERSIONの場合は必須です。
ConversionTrackerServiceAppConversion object describes the App ConversionTracker settings such as App ConversionTag and performance data by tag.
This field is optional in ADD and SET operation.
*If the conversionTrackerType is APP_CONVERSION, this field will be required in ADD operation.
") @JsonPropertyOrder({ ConversionTrackerServiceAppConversion.JSON_PROPERTY_APP_CONVERSION_TYPE, ConversionTrackerServiceAppConversion.JSON_PROPERTY_APP_ID, ConversionTrackerServiceAppConversion.JSON_PROPERTY_APP_PLATFORM, ConversionTrackerServiceAppConversion.JSON_PROPERTY_APP_POSTBACK_URL, ConversionTrackerServiceAppConversion.JSON_PROPERTY_SNIPPET_ID, ConversionTrackerServiceAppConversion.JSON_PROPERTY_SNIPPET_LABEL }) @JsonTypeName("ConversionTrackerServiceAppConversion") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class ConversionTrackerServiceAppConversion { public static final String JSON_PROPERTY_APP_CONVERSION_TYPE = "appConversionType"; private ConversionTrackerServiceAppConversionType appConversionType; public static final String JSON_PROPERTY_APP_ID = "appId"; private String appId; public static final String JSON_PROPERTY_APP_PLATFORM = "appPlatform"; private ConversionTrackerServiceAppPlatform appPlatform; public static final String JSON_PROPERTY_APP_POSTBACK_URL = "appPostbackUrl"; private ConversionTrackerServiceAppPostbackUrl appPostbackUrl; public static final String JSON_PROPERTY_SNIPPET_ID = "snippetId"; private Long snippetId; public static final String JSON_PROPERTY_SNIPPET_LABEL = "snippetLabel"; private String snippetLabel; public ConversionTrackerServiceAppConversion() { } public ConversionTrackerServiceAppConversion appConversionType(ConversionTrackerServiceAppConversionType appConversionType) { this.appConversionType = appConversionType; return this; } /** * Get appConversionType * @return appConversionType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APP_CONVERSION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ConversionTrackerServiceAppConversionType getAppConversionType() { return appConversionType; } @JsonProperty(JSON_PROPERTY_APP_CONVERSION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppConversionType(ConversionTrackerServiceAppConversionType appConversionType) { this.appConversionType = appConversionType; } public ConversionTrackerServiceAppConversion appId(String appId) { this.appId = appId; return this; } /** * <div lang=\"ja\">アプリケーションIDです。<br> このフィールドは、ADD時に省略可能となり、SET時は無視されます。</div> <div lang=\"en\">Application ID.<br> This field is optional in ADD operation, and will be ignored in SET operation.</div> * @return appId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アプリケーションIDです。
このフィールドは、ADD時に省略可能となり、SET時は無視されます。
Application ID.
This field is optional in ADD operation, and will be ignored in SET operation.
") @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAppId() { return appId; } @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppId(String appId) { this.appId = appId; } public ConversionTrackerServiceAppConversion appPlatform(ConversionTrackerServiceAppPlatform appPlatform) { this.appPlatform = appPlatform; return this; } /** * Get appPlatform * @return appPlatform **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APP_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ConversionTrackerServiceAppPlatform getAppPlatform() { return appPlatform; } @JsonProperty(JSON_PROPERTY_APP_PLATFORM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppPlatform(ConversionTrackerServiceAppPlatform appPlatform) { this.appPlatform = appPlatform; } public ConversionTrackerServiceAppConversion appPostbackUrl(ConversionTrackerServiceAppPostbackUrl appPostbackUrl) { this.appPostbackUrl = appPostbackUrl; return this; } /** * Get appPostbackUrl * @return appPostbackUrl **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APP_POSTBACK_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ConversionTrackerServiceAppPostbackUrl getAppPostbackUrl() { return appPostbackUrl; } @JsonProperty(JSON_PROPERTY_APP_POSTBACK_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppPostbackUrl(ConversionTrackerServiceAppPostbackUrl appPostbackUrl) { this.appPostbackUrl = appPostbackUrl; } public ConversionTrackerServiceAppConversion snippetId(Long snippetId) { this.snippetId = snippetId; return this; } /** * <div lang=\"ja\">コンバージョンIDです。</div> <div lang=\"en\">Conversion ID.</div> * @return snippetId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
コンバージョンIDです。
Conversion ID.
") @JsonProperty(JSON_PROPERTY_SNIPPET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getSnippetId() { return snippetId; } @JsonProperty(JSON_PROPERTY_SNIPPET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSnippetId(Long snippetId) { this.snippetId = snippetId; } public ConversionTrackerServiceAppConversion snippetLabel(String snippetLabel) { this.snippetLabel = snippetLabel; return this; } /** * <div lang=\"ja\">コンバージョントラッカーラベルです。</div> <div lang=\"en\">Conversion tracker label.</div> * @return snippetLabel **/ @javax.annotation.Nullable @ApiModelProperty(value = "
コンバージョントラッカーラベルです。
Conversion tracker label.
") @JsonProperty(JSON_PROPERTY_SNIPPET_LABEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSnippetLabel() { return snippetLabel; } @JsonProperty(JSON_PROPERTY_SNIPPET_LABEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSnippetLabel(String snippetLabel) { this.snippetLabel = snippetLabel; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ConversionTrackerServiceAppConversion conversionTrackerServiceAppConversion = (ConversionTrackerServiceAppConversion) o; return Objects.equals(this.appConversionType, conversionTrackerServiceAppConversion.appConversionType) && Objects.equals(this.appId, conversionTrackerServiceAppConversion.appId) && Objects.equals(this.appPlatform, conversionTrackerServiceAppConversion.appPlatform) && Objects.equals(this.appPostbackUrl, conversionTrackerServiceAppConversion.appPostbackUrl) && Objects.equals(this.snippetId, conversionTrackerServiceAppConversion.snippetId) && Objects.equals(this.snippetLabel, conversionTrackerServiceAppConversion.snippetLabel); } @Override public int hashCode() { return Objects.hash(appConversionType, appId, appPlatform, appPostbackUrl, snippetId, snippetLabel); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ConversionTrackerServiceAppConversion {\n"); sb.append(" appConversionType: ").append(toIndentedString(appConversionType)).append("\n"); sb.append(" appId: ").append(toIndentedString(appId)).append("\n"); sb.append(" appPlatform: ").append(toIndentedString(appPlatform)).append("\n"); sb.append(" appPostbackUrl: ").append(toIndentedString(appPostbackUrl)).append("\n"); sb.append(" snippetId: ").append(toIndentedString(snippetId)).append("\n"); sb.append(" snippetLabel: ").append(toIndentedString(snippetLabel)).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