jp.co.yahoo.adssearchapi.v14.model.AdGroupRetargetingListServiceCriterionTargetList 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 com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">AdGroupRetargetingListServiceCriterionTargetListは、ターゲットリスト情報を保持するオブジェクトです。<br> このフィールドは、いずれの場合でも必須です。</div> <div lang=\"en\">AdGroupRetargetingListServiceCriterionTargetList is an object that holds target list information.<br> This field is required in any cases.</div>
*/
@ApiModel(description = "AdGroupRetargetingListServiceCriterionTargetListは、ターゲットリスト情報を保持するオブジェクトです。
このフィールドは、いずれの場合でも必須です。 AdGroupRetargetingListServiceCriterionTargetList is an object that holds target list information.
This field is required in any cases. ")
@JsonPropertyOrder({
AdGroupRetargetingListServiceCriterionTargetList.JSON_PROPERTY_RETARGETING_TRACK_ID,
AdGroupRetargetingListServiceCriterionTargetList.JSON_PROPERTY_TARGET_LIST_ID,
AdGroupRetargetingListServiceCriterionTargetList.JSON_PROPERTY_TARGET_LIST_NAME
})
@JsonTypeName("AdGroupRetargetingListServiceCriterionTargetList")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupRetargetingListServiceCriterionTargetList {
public static final String JSON_PROPERTY_RETARGETING_TRACK_ID = "retargetingTrackId";
private Long retargetingTrackId;
public static final String JSON_PROPERTY_TARGET_LIST_ID = "targetListId";
private Long targetListId;
public static final String JSON_PROPERTY_TARGET_LIST_NAME = "targetListName";
private String targetListName;
public AdGroupRetargetingListServiceCriterionTargetList() {
}
public AdGroupRetargetingListServiceCriterionTargetList retargetingTrackId(Long retargetingTrackId) {
this.retargetingTrackId = retargetingTrackId;
return this;
}
/**
* <div lang=\"ja\">リターゲティングトラックIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Retargeting track ID.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return retargetingTrackId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "リターゲティングトラックIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Retargeting track ID.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_RETARGETING_TRACK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getRetargetingTrackId() {
return retargetingTrackId;
}
@JsonProperty(JSON_PROPERTY_RETARGETING_TRACK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRetargetingTrackId(Long retargetingTrackId) {
this.retargetingTrackId = retargetingTrackId;
}
public AdGroupRetargetingListServiceCriterionTargetList targetListId(Long targetListId) {
this.targetListId = targetListId;
return this;
}
/**
* <div lang=\"ja\">ターゲットリストIDです。<br> このフィールドは、いずれの場合でも必須です。</div> <div lang=\"en\">Target list ID.<br> This field is required in any cases.</div>
* @return targetListId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ターゲットリストIDです。
このフィールドは、いずれの場合でも必須です。 Target list ID.
This field is required in any cases. ")
@JsonProperty(JSON_PROPERTY_TARGET_LIST_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getTargetListId() {
return targetListId;
}
@JsonProperty(JSON_PROPERTY_TARGET_LIST_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTargetListId(Long targetListId) {
this.targetListId = targetListId;
}
public AdGroupRetargetingListServiceCriterionTargetList targetListName(String targetListName) {
this.targetListName = targetListName;
return this;
}
/**
* <div lang=\"ja\">ターゲットリスト名です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Target list name.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return targetListName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ターゲットリスト名です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Target list name.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_TARGET_LIST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTargetListName() {
return targetListName;
}
@JsonProperty(JSON_PROPERTY_TARGET_LIST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTargetListName(String targetListName) {
this.targetListName = targetListName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdGroupRetargetingListServiceCriterionTargetList adGroupRetargetingListServiceCriterionTargetList = (AdGroupRetargetingListServiceCriterionTargetList) o;
return Objects.equals(this.retargetingTrackId, adGroupRetargetingListServiceCriterionTargetList.retargetingTrackId) &&
Objects.equals(this.targetListId, adGroupRetargetingListServiceCriterionTargetList.targetListId) &&
Objects.equals(this.targetListName, adGroupRetargetingListServiceCriterionTargetList.targetListName);
}
@Override
public int hashCode() {
return Objects.hash(retargetingTrackId, targetListId, targetListName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupRetargetingListServiceCriterionTargetList {\n");
sb.append(" retargetingTrackId: ").append(toIndentedString(retargetingTrackId)).append("\n");
sb.append(" targetListId: ").append(toIndentedString(targetListId)).append("\n");
sb.append(" targetListName: ").append(toIndentedString(targetListName)).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 ");
}
}