jp.co.yahoo.adssearchapi.v14.model.ConversionTrackerServiceAppEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-search-api-lib Show documentation
Show all versions of ads-search-api-lib Show documentation
Yahoo! JAPAN Ads Search Ads API library for Java
/*
* Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
* Yahoo!広告 検索広告 APIのWebサービスについて説明します。 Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
*
* 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.ConversionTrackerServiceAppLinkPlatform;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">ConversionTrackerServiceAppEventオブジェクトは、アプリコンバージョン測定タグやタグごとのパフォーマンスデータなどのアプリコンバージョン設定を表します。</div> <div lang=\"en\">ConversionTrackerServiceAppConversion object describes the app ConversionTracker settings such as App ConversionTag and performance data by tag.</div>
*/
@ApiModel(description = "ConversionTrackerServiceAppEventオブジェクトは、アプリコンバージョン測定タグやタグごとのパフォーマンスデータなどのアプリコンバージョン設定を表します。 ConversionTrackerServiceAppConversion object describes the app ConversionTracker settings such as App ConversionTag and performance data by tag. ")
@JsonPropertyOrder({
ConversionTrackerServiceAppEvent.JSON_PROPERTY_CONVERSION_TRACKER_TRACK_ID,
ConversionTrackerServiceAppEvent.JSON_PROPERTY_APP_VENDOR_ID,
ConversionTrackerServiceAppEvent.JSON_PROPERTY_APP_ID,
ConversionTrackerServiceAppEvent.JSON_PROPERTY_APP_LINK_PLATFORM,
ConversionTrackerServiceAppEvent.JSON_PROPERTY_APP_EVENT_TYPE
})
@JsonTypeName("ConversionTrackerServiceAppEvent")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ConversionTrackerServiceAppEvent {
public static final String JSON_PROPERTY_CONVERSION_TRACKER_TRACK_ID = "conversionTrackerTrackId";
private Long conversionTrackerTrackId;
public static final String JSON_PROPERTY_APP_VENDOR_ID = "appVendorId";
private String appVendorId;
public static final String JSON_PROPERTY_APP_ID = "appId";
private String appId;
public static final String JSON_PROPERTY_APP_LINK_PLATFORM = "appLinkPlatform";
private ConversionTrackerServiceAppLinkPlatform appLinkPlatform;
public static final String JSON_PROPERTY_APP_EVENT_TYPE = "appEventType";
private String appEventType;
public ConversionTrackerServiceAppEvent() {
}
public ConversionTrackerServiceAppEvent conversionTrackerTrackId(Long conversionTrackerTrackId) {
this.conversionTrackerTrackId = conversionTrackerTrackId;
return this;
}
/**
* <div lang=\"ja\">トラッキング用コンバージョントラッカーIDです。</div> <div lang=\"en\">ConversionTracker ID for tracking.</div>
* @return conversionTrackerTrackId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "トラッキング用コンバージョントラッカーIDです。 ConversionTracker ID for tracking. ")
@JsonProperty(JSON_PROPERTY_CONVERSION_TRACKER_TRACK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getConversionTrackerTrackId() {
return conversionTrackerTrackId;
}
@JsonProperty(JSON_PROPERTY_CONVERSION_TRACKER_TRACK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setConversionTrackerTrackId(Long conversionTrackerTrackId) {
this.conversionTrackerTrackId = conversionTrackerTrackId;
}
public ConversionTrackerServiceAppEvent appVendorId(String appVendorId) {
this.appVendorId = appVendorId;
return this;
}
/**
* <div lang=\"ja\">アプリ計測ベンダー識別子です。</div> <div lang=\"en\">Application vendor ID.</div>
* @return appVendorId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "アプリ計測ベンダー識別子です。 Application vendor ID. ")
@JsonProperty(JSON_PROPERTY_APP_VENDOR_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAppVendorId() {
return appVendorId;
}
@JsonProperty(JSON_PROPERTY_APP_VENDOR_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAppVendorId(String appVendorId) {
this.appVendorId = appVendorId;
}
public ConversionTrackerServiceAppEvent appId(String appId) {
this.appId = appId;
return this;
}
/**
* <div lang=\"ja\">アプリケーションIDです。</div> <div lang=\"en\">Application ID.</div>
* @return appId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "アプリケーションIDです。 Application ID. ")
@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 ConversionTrackerServiceAppEvent appLinkPlatform(ConversionTrackerServiceAppLinkPlatform appLinkPlatform) {
this.appLinkPlatform = appLinkPlatform;
return this;
}
/**
* Get appLinkPlatform
* @return appLinkPlatform
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_APP_LINK_PLATFORM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ConversionTrackerServiceAppLinkPlatform getAppLinkPlatform() {
return appLinkPlatform;
}
@JsonProperty(JSON_PROPERTY_APP_LINK_PLATFORM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAppLinkPlatform(ConversionTrackerServiceAppLinkPlatform appLinkPlatform) {
this.appLinkPlatform = appLinkPlatform;
}
public ConversionTrackerServiceAppEvent appEventType(String appEventType) {
this.appEventType = appEventType;
return this;
}
/**
* <div lang=\"ja\">アプリイベントタイプです。</div> <div lang=\"en\">Application event type.</div>
* @return appEventType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "アプリイベントタイプです。 Application event type. ")
@JsonProperty(JSON_PROPERTY_APP_EVENT_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAppEventType() {
return appEventType;
}
@JsonProperty(JSON_PROPERTY_APP_EVENT_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAppEventType(String appEventType) {
this.appEventType = appEventType;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConversionTrackerServiceAppEvent conversionTrackerServiceAppEvent = (ConversionTrackerServiceAppEvent) o;
return Objects.equals(this.conversionTrackerTrackId, conversionTrackerServiceAppEvent.conversionTrackerTrackId) &&
Objects.equals(this.appVendorId, conversionTrackerServiceAppEvent.appVendorId) &&
Objects.equals(this.appId, conversionTrackerServiceAppEvent.appId) &&
Objects.equals(this.appLinkPlatform, conversionTrackerServiceAppEvent.appLinkPlatform) &&
Objects.equals(this.appEventType, conversionTrackerServiceAppEvent.appEventType);
}
@Override
public int hashCode() {
return Objects.hash(conversionTrackerTrackId, appVendorId, appId, appLinkPlatform, appEventType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConversionTrackerServiceAppEvent {\n");
sb.append(" conversionTrackerTrackId: ").append(toIndentedString(conversionTrackerTrackId)).append("\n");
sb.append(" appVendorId: ").append(toIndentedString(appVendorId)).append("\n");
sb.append(" appId: ").append(toIndentedString(appId)).append("\n");
sb.append(" appLinkPlatform: ").append(toIndentedString(appLinkPlatform)).append("\n");
sb.append(" appEventType: ").append(toIndentedString(appEventType)).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 ");
}
}