jp.co.yahoo.adssearchapi.v14.model.RetargetingListServiceLogicalTargetList 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 java.util.ArrayList;
import java.util.List;
import jp.co.yahoo.adssearchapi.v14.model.RetargetingListServiceLogicalGroup;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">RetargetingListServiceLogicalTargetListは、組合せターゲットリストの情報を保持するオブジェクトです。<br> このフィールドは、省略可能となります。<br> ※targetListTypeがLOGICALの場合、このフィールドは必須となります。</div> <div lang=\"en\">RetargetingListServiceLogicalTargetList is an object that holds the combination target list information.<br> This field is optional.<br> If the targetListType is LOGICAL, this field is required.</div>
*/
@ApiModel(description = "RetargetingListServiceLogicalTargetListは、組合せターゲットリストの情報を保持するオブジェクトです。
このフィールドは、省略可能となります。
※targetListTypeがLOGICALの場合、このフィールドは必須となります。 RetargetingListServiceLogicalTargetList is an object that holds the combination target list information.
This field is optional.
If the targetListType is LOGICAL, this field is required. ")
@JsonPropertyOrder({
RetargetingListServiceLogicalTargetList.JSON_PROPERTY_LOGICAL_GROUP
})
@JsonTypeName("RetargetingListServiceLogicalTargetList")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class RetargetingListServiceLogicalTargetList {
public static final String JSON_PROPERTY_LOGICAL_GROUP = "logicalGroup";
private List logicalGroup = null;
public RetargetingListServiceLogicalTargetList() {
}
public RetargetingListServiceLogicalTargetList logicalGroup(List logicalGroup) {
this.logicalGroup = logicalGroup;
return this;
}
public RetargetingListServiceLogicalTargetList addLogicalGroupItem(RetargetingListServiceLogicalGroup logicalGroupItem) {
if (this.logicalGroup == null) {
this.logicalGroup = new ArrayList<>();
}
this.logicalGroup.add(logicalGroupItem);
return this;
}
/**
* Get logicalGroup
* @return logicalGroup
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_LOGICAL_GROUP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getLogicalGroup() {
return logicalGroup;
}
@JsonProperty(JSON_PROPERTY_LOGICAL_GROUP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLogicalGroup(List logicalGroup) {
this.logicalGroup = logicalGroup;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RetargetingListServiceLogicalTargetList retargetingListServiceLogicalTargetList = (RetargetingListServiceLogicalTargetList) o;
return Objects.equals(this.logicalGroup, retargetingListServiceLogicalTargetList.logicalGroup);
}
@Override
public int hashCode() {
return Objects.hash(logicalGroup);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RetargetingListServiceLogicalTargetList {\n");
sb.append(" logicalGroup: ").append(toIndentedString(logicalGroup)).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 ");
}
}