![JAR search and dependency download from the Maven repository](/logo.png)
jp.co.yahoo.adsdisplayapi.v15.model.GuaranteedAdGroupAdServiceCarousel 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 com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\"> GuaranteedAdGroupAdServiceCarouselオブジェクトはカルーセル広告の詳細情報を表します。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> GuaranteedAdGroupAdServiceCarousel object describes the detailed information of carousel ad.<br> This field will be returned in the response, it will be ignored on input. </div>
*/
@ApiModel(description = " GuaranteedAdGroupAdServiceCarouselオブジェクトはカルーセル広告の詳細情報を表します。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 GuaranteedAdGroupAdServiceCarousel object describes the detailed information of carousel ad.
This field will be returned in the response, it will be ignored on input. ")
@JsonPropertyOrder({
GuaranteedAdGroupAdServiceCarousel.JSON_PROPERTY_DISPLAY_ORDER,
GuaranteedAdGroupAdServiceCarousel.JSON_PROPERTY_MEDIA_ID,
GuaranteedAdGroupAdServiceCarousel.JSON_PROPERTY_HEADLINE,
GuaranteedAdGroupAdServiceCarousel.JSON_PROPERTY_DESCRIPTION,
GuaranteedAdGroupAdServiceCarousel.JSON_PROPERTY_FINAL_URL,
GuaranteedAdGroupAdServiceCarousel.JSON_PROPERTY_SMARTPHONE_FINAL_URL,
GuaranteedAdGroupAdServiceCarousel.JSON_PROPERTY_DISAPPROVAL_REASON_CODES
})
@JsonTypeName("GuaranteedAdGroupAdServiceCarousel")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class GuaranteedAdGroupAdServiceCarousel {
public static final String JSON_PROPERTY_DISPLAY_ORDER = "displayOrder";
private Long displayOrder;
public static final String JSON_PROPERTY_MEDIA_ID = "mediaId";
private Long mediaId;
public static final String JSON_PROPERTY_HEADLINE = "headline";
private String headline;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;
public static final String JSON_PROPERTY_FINAL_URL = "finalUrl";
private String finalUrl;
public static final String JSON_PROPERTY_SMARTPHONE_FINAL_URL = "smartphoneFinalUrl";
private String smartphoneFinalUrl;
public static final String JSON_PROPERTY_DISAPPROVAL_REASON_CODES = "disapprovalReasonCodes";
private List disapprovalReasonCodes = null;
public GuaranteedAdGroupAdServiceCarousel() {
}
public GuaranteedAdGroupAdServiceCarousel displayOrder(Long displayOrder) {
this.displayOrder = displayOrder;
return this;
}
/**
* <div lang=\"ja\"> カルーセルの表示順です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。<br> ※指定しない場合は自動で設定されます。 </div> <div lang=\"en\"> Carousel display order.<br> This field will be returned in the response, it will be ignored on input.<br> *If not specified, it will be set automatically. </div>
* @return displayOrder
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " カルーセルの表示順です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
※指定しない場合は自動で設定されます。 Carousel display order.
This field will be returned in the response, it will be ignored on input.
*If not specified, it will be set automatically. ")
@JsonProperty(JSON_PROPERTY_DISPLAY_ORDER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getDisplayOrder() {
return displayOrder;
}
@JsonProperty(JSON_PROPERTY_DISPLAY_ORDER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisplayOrder(Long displayOrder) {
this.displayOrder = displayOrder;
}
public GuaranteedAdGroupAdServiceCarousel mediaId(Long mediaId) {
this.mediaId = mediaId;
return this;
}
/**
* <div lang=\"ja\"> メディアIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Media ID.<br> This field will be returned in the response, it will be ignored on input. </div>
* @return mediaId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " メディアIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Media ID.
This field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_MEDIA_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getMediaId() {
return mediaId;
}
@JsonProperty(JSON_PROPERTY_MEDIA_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMediaId(Long mediaId) {
this.mediaId = mediaId;
}
public GuaranteedAdGroupAdServiceCarousel headline(String headline) {
this.headline = headline;
return this;
}
/**
* <div lang=\"ja\"> 広告のタイトルです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Ad title.<br> This field will be returned in the response, it will be ignored on input. </div>
* @return headline
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 広告のタイトルです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Ad title.
This field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_HEADLINE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getHeadline() {
return headline;
}
@JsonProperty(JSON_PROPERTY_HEADLINE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHeadline(String headline) {
this.headline = headline;
}
public GuaranteedAdGroupAdServiceCarousel description(String description) {
this.description = description;
return this;
}
/**
* <div lang=\"ja\"> 広告の説明文です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Ad description.<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 広告の説明文です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Ad description.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDescription() {
return description;
}
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDescription(String description) {
this.description = description;
}
public GuaranteedAdGroupAdServiceCarousel finalUrl(String finalUrl) {
this.finalUrl = finalUrl;
return this;
}
/**
* <div lang=\"ja\">最終リンク先URLです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。<br> ※現在利用できません </div> <div lang=\"en\">Final URL.<br> This field will be returned in the response, it will be ignored on input.<br> * Not Available. </div>
* @return finalUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "最終リンク先URLです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
※現在利用できません Final URL.
This field will be returned in the response, it will be ignored on input.
* Not Available. ")
@JsonProperty(JSON_PROPERTY_FINAL_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFinalUrl() {
return finalUrl;
}
@JsonProperty(JSON_PROPERTY_FINAL_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFinalUrl(String finalUrl) {
this.finalUrl = finalUrl;
}
public GuaranteedAdGroupAdServiceCarousel smartphoneFinalUrl(String smartphoneFinalUrl) {
this.smartphoneFinalUrl = smartphoneFinalUrl;
return this;
}
/**
* <div lang=\"ja\">スマートフォン向けURLです。<br> finalUrlを指定するときのみ、任意で指定できます。<br> ※現在利用できません </div> <div lang=\"en\">Final URL (smartphone).<br> This field can be optionally specified only when specifying finalUrl.<br> * Not Available. </div>
* @return smartphoneFinalUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "スマートフォン向けURLです。
finalUrlを指定するときのみ、任意で指定できます。
※現在利用できません Final URL (smartphone).
This field can be optionally specified only when specifying finalUrl.
* Not Available. ")
@JsonProperty(JSON_PROPERTY_SMARTPHONE_FINAL_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSmartphoneFinalUrl() {
return smartphoneFinalUrl;
}
@JsonProperty(JSON_PROPERTY_SMARTPHONE_FINAL_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSmartphoneFinalUrl(String smartphoneFinalUrl) {
this.smartphoneFinalUrl = smartphoneFinalUrl;
}
public GuaranteedAdGroupAdServiceCarousel disapprovalReasonCodes(List disapprovalReasonCodes) {
this.disapprovalReasonCodes = disapprovalReasonCodes;
return this;
}
public GuaranteedAdGroupAdServiceCarousel addDisapprovalReasonCodesItem(String disapprovalReasonCodesItem) {
if (this.disapprovalReasonCodes == null) {
this.disapprovalReasonCodes = new ArrayList<>();
}
this.disapprovalReasonCodes.add(disapprovalReasonCodesItem);
return this;
}
/**
* <div lang=\"ja\"> 掲載拒否の理由です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Reject reason on editorial review.<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return disapprovalReasonCodes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 掲載拒否の理由です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Reject reason on editorial review.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_DISAPPROVAL_REASON_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getDisapprovalReasonCodes() {
return disapprovalReasonCodes;
}
@JsonProperty(JSON_PROPERTY_DISAPPROVAL_REASON_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisapprovalReasonCodes(List disapprovalReasonCodes) {
this.disapprovalReasonCodes = disapprovalReasonCodes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GuaranteedAdGroupAdServiceCarousel guaranteedAdGroupAdServiceCarousel = (GuaranteedAdGroupAdServiceCarousel) o;
return Objects.equals(this.displayOrder, guaranteedAdGroupAdServiceCarousel.displayOrder) &&
Objects.equals(this.mediaId, guaranteedAdGroupAdServiceCarousel.mediaId) &&
Objects.equals(this.headline, guaranteedAdGroupAdServiceCarousel.headline) &&
Objects.equals(this.description, guaranteedAdGroupAdServiceCarousel.description) &&
Objects.equals(this.finalUrl, guaranteedAdGroupAdServiceCarousel.finalUrl) &&
Objects.equals(this.smartphoneFinalUrl, guaranteedAdGroupAdServiceCarousel.smartphoneFinalUrl) &&
Objects.equals(this.disapprovalReasonCodes, guaranteedAdGroupAdServiceCarousel.disapprovalReasonCodes);
}
@Override
public int hashCode() {
return Objects.hash(displayOrder, mediaId, headline, description, finalUrl, smartphoneFinalUrl, disapprovalReasonCodes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GuaranteedAdGroupAdServiceCarousel {\n");
sb.append(" displayOrder: ").append(toIndentedString(displayOrder)).append("\n");
sb.append(" mediaId: ").append(toIndentedString(mediaId)).append("\n");
sb.append(" headline: ").append(toIndentedString(headline)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" finalUrl: ").append(toIndentedString(finalUrl)).append("\n");
sb.append(" smartphoneFinalUrl: ").append(toIndentedString(smartphoneFinalUrl)).append("\n");
sb.append(" disapprovalReasonCodes: ").append(toIndentedString(disapprovalReasonCodes)).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