
jp.co.yahoo.adsdisplayapi.v14.model.RecommendationServiceCreateAd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-display-api-lib Show documentation
Show all versions of ads-display-api-lib Show documentation
Yahoo! JAPAN Ads Display Ads API library for Java
The newest version!
/*
* Yahoo!広告 ディスプレイ広告 API リファレンス / Yahoo! JAPAN Ads Display Ads API Reference
* Yahoo!広告 ディスプレイ広告 APIのWebサービスについて説明します。 Display 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.adsdisplayapi.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.adsdisplayapi.v14.model.RecommendationServiceCreateAdList;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">RecommendationServiceCreateAdオブジェクトは、広告の作成に関する最適化提案の情報を表します。</div> <div lang=\"en\">RecommendationServiceCreateAd object describes information about a recommendation for creating ads.</div>
*/
@ApiModel(description = "RecommendationServiceCreateAdオブジェクトは、広告の作成に関する最適化提案の情報を表します。 RecommendationServiceCreateAd object describes information about a recommendation for creating ads. ")
@JsonPropertyOrder({
RecommendationServiceCreateAd.JSON_PROPERTY_CREATE_AD_LIST
})
@JsonTypeName("RecommendationServiceCreateAd")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class RecommendationServiceCreateAd {
public static final String JSON_PROPERTY_CREATE_AD_LIST = "createAdList";
private List createAdList = null;
public RecommendationServiceCreateAd() {
}
public RecommendationServiceCreateAd createAdList(List createAdList) {
this.createAdList = createAdList;
return this;
}
public RecommendationServiceCreateAd addCreateAdListItem(RecommendationServiceCreateAdList createAdListItem) {
if (this.createAdList == null) {
this.createAdList = new ArrayList<>();
}
this.createAdList.add(createAdListItem);
return this;
}
/**
* Get createAdList
* @return createAdList
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CREATE_AD_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getCreateAdList() {
return createAdList;
}
@JsonProperty(JSON_PROPERTY_CREATE_AD_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCreateAdList(List createAdList) {
this.createAdList = createAdList;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RecommendationServiceCreateAd recommendationServiceCreateAd = (RecommendationServiceCreateAd) o;
return Objects.equals(this.createAdList, recommendationServiceCreateAd.createAdList);
}
@Override
public int hashCode() {
return Objects.hash(createAdList);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RecommendationServiceCreateAd {\n");
sb.append(" createAdList: ").append(toIndentedString(createAdList)).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 - 2025 Weber Informatics LLC | Privacy Policy