
jp.co.yahoo.adsdisplayapi.v15.model.AudienceListServiceAdActionDataSource 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: v15
*
*
* 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.v15.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.v15.model.AudienceListServiceEntity;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\"> AudienceListServiceAdActionDataSourceオブジェクトは、広告アクションデータソースを表します。<br> このフィールドは、ADD時に必須となり、SETおよびREMOVE時に無視されます。 </div> <div lang=\"en\"> AudienceListServiceAdActionDataSource object describes ad action data source.<br> This field is required in ADD operation, and will be ignored in SET and REMOVE operation. </div>
*/
@ApiModel(description = " AudienceListServiceAdActionDataSourceオブジェクトは、広告アクションデータソースを表します。
このフィールドは、ADD時に必須となり、SETおよびREMOVE時に無視されます。 AudienceListServiceAdActionDataSource object describes ad action data source.
This field is required in ADD operation, and will be ignored in SET and REMOVE operation. ")
@JsonPropertyOrder({
AudienceListServiceAdActionDataSource.JSON_PROPERTY_ENTITY,
AudienceListServiceAdActionDataSource.JSON_PROPERTY_IDS
})
@JsonTypeName("AudienceListServiceAdActionDataSource")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AudienceListServiceAdActionDataSource {
public static final String JSON_PROPERTY_ENTITY = "entity";
private AudienceListServiceEntity entity;
public static final String JSON_PROPERTY_IDS = "ids";
private List ids = null;
public AudienceListServiceAdActionDataSource() {
}
public AudienceListServiceAdActionDataSource entity(AudienceListServiceEntity entity) {
this.entity = entity;
return this;
}
/**
* Get entity
* @return entity
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ENTITY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AudienceListServiceEntity getEntity() {
return entity;
}
@JsonProperty(JSON_PROPERTY_ENTITY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEntity(AudienceListServiceEntity entity) {
this.entity = entity;
}
public AudienceListServiceAdActionDataSource ids(List ids) {
this.ids = ids;
return this;
}
public AudienceListServiceAdActionDataSource addIdsItem(Long idsItem) {
if (this.ids == null) {
this.ids = new ArrayList<>();
}
this.ids.add(idsItem);
return this;
}
/**
* <div lang=\"ja\">広告アクションデータソースのIdです。</div> <div lang=\"en\">Id of ad action data source.</div>
* @return ids
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "広告アクションデータソースのIdです。 Id of ad action data source. ")
@JsonProperty(JSON_PROPERTY_IDS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getIds() {
return ids;
}
@JsonProperty(JSON_PROPERTY_IDS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIds(List ids) {
this.ids = ids;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AudienceListServiceAdActionDataSource audienceListServiceAdActionDataSource = (AudienceListServiceAdActionDataSource) o;
return Objects.equals(this.entity, audienceListServiceAdActionDataSource.entity) &&
Objects.equals(this.ids, audienceListServiceAdActionDataSource.ids);
}
@Override
public int hashCode() {
return Objects.hash(entity, ids);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AudienceListServiceAdActionDataSource {\n");
sb.append(" entity: ").append(toIndentedString(entity)).append("\n");
sb.append(" ids: ").append(toIndentedString(ids)).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