All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.co.yahoo.adsdisplayapi.v14.model.DictionaryServiceMediaAdFormat Maven / Gradle / Ivy

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 com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">DictionaryServiceMediaAdFormatオブジェクトは、メディアフォーマットの情報を保持します。</div> <div lang=\"en\">DictionaryServiceMediaAdFormat object contains the information of media format.</div> */ @ApiModel(description = "
DictionaryServiceMediaAdFormatオブジェクトは、メディアフォーマットの情報を保持します。
DictionaryServiceMediaAdFormat object contains the information of media format.
") @JsonPropertyOrder({ DictionaryServiceMediaAdFormat.JSON_PROPERTY_AD_FORMAT, DictionaryServiceMediaAdFormat.JSON_PROPERTY_ASPECT, DictionaryServiceMediaAdFormat.JSON_PROPERTY_ASPECT_HEIGHT, DictionaryServiceMediaAdFormat.JSON_PROPERTY_ASPECT_RATIO, DictionaryServiceMediaAdFormat.JSON_PROPERTY_ASPECT_WIDTH, DictionaryServiceMediaAdFormat.JSON_PROPERTY_CAMPAIGN_BANNER, DictionaryServiceMediaAdFormat.JSON_PROPERTY_HEIGHT, DictionaryServiceMediaAdFormat.JSON_PROPERTY_LOGO, DictionaryServiceMediaAdFormat.JSON_PROPERTY_MAX_HEIGHT, DictionaryServiceMediaAdFormat.JSON_PROPERTY_MAX_WIDTH, DictionaryServiceMediaAdFormat.JSON_PROPERTY_SIZE, DictionaryServiceMediaAdFormat.JSON_PROPERTY_SIZE_TO, DictionaryServiceMediaAdFormat.JSON_PROPERTY_STATIC_IMAGE, DictionaryServiceMediaAdFormat.JSON_PROPERTY_THUMBNAIL, DictionaryServiceMediaAdFormat.JSON_PROPERTY_TRANSPARENT, DictionaryServiceMediaAdFormat.JSON_PROPERTY_WIDTH, DictionaryServiceMediaAdFormat.JSON_PROPERTY_RICH_FORMAT }) @JsonTypeName("DictionaryServiceMediaAdFormat") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class DictionaryServiceMediaAdFormat { public static final String JSON_PROPERTY_AD_FORMAT = "adFormat"; private String adFormat; public static final String JSON_PROPERTY_ASPECT = "aspect"; private Boolean aspect; public static final String JSON_PROPERTY_ASPECT_HEIGHT = "aspectHeight"; private Long aspectHeight; public static final String JSON_PROPERTY_ASPECT_RATIO = "aspectRatio"; private String aspectRatio; public static final String JSON_PROPERTY_ASPECT_WIDTH = "aspectWidth"; private Long aspectWidth; public static final String JSON_PROPERTY_CAMPAIGN_BANNER = "campaignBanner"; private Boolean campaignBanner; public static final String JSON_PROPERTY_HEIGHT = "height"; private Long height; public static final String JSON_PROPERTY_LOGO = "logo"; private Boolean logo; public static final String JSON_PROPERTY_MAX_HEIGHT = "maxHeight"; private Long maxHeight; public static final String JSON_PROPERTY_MAX_WIDTH = "maxWidth"; private Long maxWidth; public static final String JSON_PROPERTY_SIZE = "size"; private Long size; public static final String JSON_PROPERTY_SIZE_TO = "sizeTo"; private Long sizeTo; public static final String JSON_PROPERTY_STATIC_IMAGE = "staticImage"; private Boolean staticImage; public static final String JSON_PROPERTY_THUMBNAIL = "thumbnail"; private Boolean thumbnail; public static final String JSON_PROPERTY_TRANSPARENT = "transparent"; private Boolean transparent; public static final String JSON_PROPERTY_WIDTH = "width"; private Long width; public static final String JSON_PROPERTY_RICH_FORMAT = "richFormat"; private Boolean richFormat; public DictionaryServiceMediaAdFormat() { } public DictionaryServiceMediaAdFormat adFormat(String adFormat) { this.adFormat = adFormat; return this; } /** * <div lang=\"ja\"> ディスプレイ(画像)広告のフォーマットです。<br> ※YJ_1350_760, YJ_450_150は予約型広告専用のadFormatとなります。 </div> <div lang=\"en\"> Format of display (image) ads.<br> *YJ_1350_760 and YJ_450_150 are adFormat exclusive for Guaranteed ads. </div> * @return adFormat **/ @javax.annotation.Nullable @ApiModelProperty(value = "
ディスプレイ(画像)広告のフォーマットです。
※YJ_1350_760, YJ_450_150は予約型広告専用のadFormatとなります。
Format of display (image) ads.
*YJ_1350_760 and YJ_450_150 are adFormat exclusive for Guaranteed ads.
") @JsonProperty(JSON_PROPERTY_AD_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAdFormat() { return adFormat; } @JsonProperty(JSON_PROPERTY_AD_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdFormat(String adFormat) { this.adFormat = adFormat; } public DictionaryServiceMediaAdFormat aspect(Boolean aspect) { this.aspect = aspect; return this; } /** * <div lang=\"ja\">アスペクト比対応かどうかを示します。</div> <div lang=\"en\">This field indicates whether the aspect ratio is supported.</div> * @return aspect **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アスペクト比対応かどうかを示します。
This field indicates whether the aspect ratio is supported.
") @JsonProperty(JSON_PROPERTY_ASPECT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getAspect() { return aspect; } @JsonProperty(JSON_PROPERTY_ASPECT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAspect(Boolean aspect) { this.aspect = aspect; } public DictionaryServiceMediaAdFormat aspectHeight(Long aspectHeight) { this.aspectHeight = aspectHeight; return this; } /** * <div lang=\"ja\">画像アスペクト比:高さ [ratio]です。</div> <div lang=\"en\">Image aspect ratio: height [ratio]</div> * @return aspectHeight **/ @javax.annotation.Nullable @ApiModelProperty(value = "
画像アスペクト比:高さ [ratio]です。
Image aspect ratio: height [ratio]
") @JsonProperty(JSON_PROPERTY_ASPECT_HEIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getAspectHeight() { return aspectHeight; } @JsonProperty(JSON_PROPERTY_ASPECT_HEIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAspectHeight(Long aspectHeight) { this.aspectHeight = aspectHeight; } public DictionaryServiceMediaAdFormat aspectRatio(String aspectRatio) { this.aspectRatio = aspectRatio; return this; } /** * <div lang=\"ja\">アスペクト比です。</div> <div lang=\"en\">Aspect ratio.</div> * @return aspectRatio **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アスペクト比です。
Aspect ratio.
") @JsonProperty(JSON_PROPERTY_ASPECT_RATIO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAspectRatio() { return aspectRatio; } @JsonProperty(JSON_PROPERTY_ASPECT_RATIO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAspectRatio(String aspectRatio) { this.aspectRatio = aspectRatio; } public DictionaryServiceMediaAdFormat aspectWidth(Long aspectWidth) { this.aspectWidth = aspectWidth; return this; } /** * <div lang=\"ja\">画像アスペクト比:幅 [ratio]です。</div> <div lang=\"en\">Image aspect ratio: width [ratio]</div> * @return aspectWidth **/ @javax.annotation.Nullable @ApiModelProperty(value = "
画像アスペクト比:幅 [ratio]です。
Image aspect ratio: width [ratio]
") @JsonProperty(JSON_PROPERTY_ASPECT_WIDTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getAspectWidth() { return aspectWidth; } @JsonProperty(JSON_PROPERTY_ASPECT_WIDTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAspectWidth(Long aspectWidth) { this.aspectWidth = aspectWidth; } public DictionaryServiceMediaAdFormat campaignBanner(Boolean campaignBanner) { this.campaignBanner = campaignBanner; return this; } /** * <div lang=\"ja\">キャンペーンバナー画像である/キャンペーンバナー画像ではないことを示します。</div> <div lang=\"en\">This field indicates whether it is a campaign banner image or not.</div> * @return campaignBanner **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンバナー画像である/キャンペーンバナー画像ではないことを示します。
This field indicates whether it is a campaign banner image or not.
") @JsonProperty(JSON_PROPERTY_CAMPAIGN_BANNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getCampaignBanner() { return campaignBanner; } @JsonProperty(JSON_PROPERTY_CAMPAIGN_BANNER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCampaignBanner(Boolean campaignBanner) { this.campaignBanner = campaignBanner; } public DictionaryServiceMediaAdFormat height(Long height) { this.height = height; return this; } /** * <div lang=\"ja\">最小画像サイズ:高さ [pixel]です。</div> <div lang=\"en\">Minimum image size: height [pixel]</div> * @return height **/ @javax.annotation.Nullable @ApiModelProperty(value = "
最小画像サイズ:高さ [pixel]です。
Minimum image size: height [pixel]
") @JsonProperty(JSON_PROPERTY_HEIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getHeight() { return height; } @JsonProperty(JSON_PROPERTY_HEIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setHeight(Long height) { this.height = height; } public DictionaryServiceMediaAdFormat logo(Boolean logo) { this.logo = logo; return this; } /** * <div lang=\"ja\">ロゴ画像である/ロゴ画像ではないことを示します。</div> <div lang=\"en\">This field indicates whether it is a logo image or not.</div> * @return logo **/ @javax.annotation.Nullable @ApiModelProperty(value = "
ロゴ画像である/ロゴ画像ではないことを示します。
This field indicates whether it is a logo image or not.
") @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getLogo() { return logo; } @JsonProperty(JSON_PROPERTY_LOGO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLogo(Boolean logo) { this.logo = logo; } public DictionaryServiceMediaAdFormat maxHeight(Long maxHeight) { this.maxHeight = maxHeight; return this; } /** * <div lang=\"ja\">サイズ上限:高さ [pixel]です。</div> <div lang=\"en\">Size limit: height [pixel]</div> * @return maxHeight **/ @javax.annotation.Nullable @ApiModelProperty(value = "
サイズ上限:高さ [pixel]です。
Size limit: height [pixel]
") @JsonProperty(JSON_PROPERTY_MAX_HEIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getMaxHeight() { return maxHeight; } @JsonProperty(JSON_PROPERTY_MAX_HEIGHT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxHeight(Long maxHeight) { this.maxHeight = maxHeight; } public DictionaryServiceMediaAdFormat maxWidth(Long maxWidth) { this.maxWidth = maxWidth; return this; } /** * <div lang=\"ja\">サイズ上限:幅 [pixel]です。</div> <div lang=\"en\">Size limit: width [pixel]</div> * @return maxWidth **/ @javax.annotation.Nullable @ApiModelProperty(value = "
サイズ上限:幅 [pixel]です。
Size limit: width [pixel]
") @JsonProperty(JSON_PROPERTY_MAX_WIDTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getMaxWidth() { return maxWidth; } @JsonProperty(JSON_PROPERTY_MAX_WIDTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setMaxWidth(Long maxWidth) { this.maxWidth = maxWidth; } public DictionaryServiceMediaAdFormat size(Long size) { this.size = size; return this; } /** * <div lang=\"ja\">画像の最大容量:[byte]です。</div> <div lang=\"en\">Maximum image capacity: [byte]</div> * @return size **/ @javax.annotation.Nullable @ApiModelProperty(value = "
画像の最大容量:[byte]です。
Maximum image capacity: [byte]
") @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getSize() { return size; } @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSize(Long size) { this.size = size; } public DictionaryServiceMediaAdFormat sizeTo(Long sizeTo) { this.sizeTo = sizeTo; return this; } /** * <div lang=\"ja\">画像圧縮後の容量:[byte]です。</div> <div lang=\"en\">Image compression capacity: [byte]</div> * @return sizeTo **/ @javax.annotation.Nullable @ApiModelProperty(value = "
画像圧縮後の容量:[byte]です。
Image compression capacity: [byte]
") @JsonProperty(JSON_PROPERTY_SIZE_TO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getSizeTo() { return sizeTo; } @JsonProperty(JSON_PROPERTY_SIZE_TO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSizeTo(Long sizeTo) { this.sizeTo = sizeTo; } public DictionaryServiceMediaAdFormat staticImage(Boolean staticImage) { this.staticImage = staticImage; return this; } /** * <div lang=\"ja\">静止画用の画像かどうかを示します。</div> <div lang=\"en\">This field indicates whether it is a static image.</div> * @return staticImage **/ @javax.annotation.Nullable @ApiModelProperty(value = "
静止画用の画像かどうかを示します。
This field indicates whether it is a static image.
") @JsonProperty(JSON_PROPERTY_STATIC_IMAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getStaticImage() { return staticImage; } @JsonProperty(JSON_PROPERTY_STATIC_IMAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStaticImage(Boolean staticImage) { this.staticImage = staticImage; } public DictionaryServiceMediaAdFormat thumbnail(Boolean thumbnail) { this.thumbnail = thumbnail; return this; } /** * <div lang=\"ja\">サムネイル画像である/サムネイル画像ではないことを示します。</div> <div lang=\"en\">This field indicates whether it is a thumbnail image image or not.</div> * @return thumbnail **/ @javax.annotation.Nullable @ApiModelProperty(value = "
サムネイル画像である/サムネイル画像ではないことを示します。
This field indicates whether it is a thumbnail image image or not.
") @JsonProperty(JSON_PROPERTY_THUMBNAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getThumbnail() { return thumbnail; } @JsonProperty(JSON_PROPERTY_THUMBNAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setThumbnail(Boolean thumbnail) { this.thumbnail = thumbnail; } public DictionaryServiceMediaAdFormat transparent(Boolean transparent) { this.transparent = transparent; return this; } /** * <div lang=\"ja\">透過画像の許可/不許可を示します。</div> <div lang=\"en\">This field indicates whether transparent image is permitted.</div> * @return transparent **/ @javax.annotation.Nullable @ApiModelProperty(value = "
透過画像の許可/不許可を示します。
This field indicates whether transparent image is permitted.
") @JsonProperty(JSON_PROPERTY_TRANSPARENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getTransparent() { return transparent; } @JsonProperty(JSON_PROPERTY_TRANSPARENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTransparent(Boolean transparent) { this.transparent = transparent; } public DictionaryServiceMediaAdFormat width(Long width) { this.width = width; return this; } /** * <div lang=\"ja\">最小画像サイズ:幅 [pixel]です。</div> <div lang=\"en\">Minimum image size: width [pixel]</div> * @return width **/ @javax.annotation.Nullable @ApiModelProperty(value = "
最小画像サイズ:幅 [pixel]です。
Minimum image size: width [pixel]
") @JsonProperty(JSON_PROPERTY_WIDTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getWidth() { return width; } @JsonProperty(JSON_PROPERTY_WIDTH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWidth(Long width) { this.width = width; } public DictionaryServiceMediaAdFormat richFormat(Boolean richFormat) { this.richFormat = richFormat; return this; } /** * <div lang=\"ja\">リッチフォーマット用の画像かどうかを示します。</div> <div lang=\"en\">Indicates whether the image is for rich format.</div> * @return richFormat **/ @javax.annotation.Nullable @ApiModelProperty(value = "
リッチフォーマット用の画像かどうかを示します。
Indicates whether the image is for rich format.
") @JsonProperty(JSON_PROPERTY_RICH_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getRichFormat() { return richFormat; } @JsonProperty(JSON_PROPERTY_RICH_FORMAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setRichFormat(Boolean richFormat) { this.richFormat = richFormat; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } DictionaryServiceMediaAdFormat dictionaryServiceMediaAdFormat = (DictionaryServiceMediaAdFormat) o; return Objects.equals(this.adFormat, dictionaryServiceMediaAdFormat.adFormat) && Objects.equals(this.aspect, dictionaryServiceMediaAdFormat.aspect) && Objects.equals(this.aspectHeight, dictionaryServiceMediaAdFormat.aspectHeight) && Objects.equals(this.aspectRatio, dictionaryServiceMediaAdFormat.aspectRatio) && Objects.equals(this.aspectWidth, dictionaryServiceMediaAdFormat.aspectWidth) && Objects.equals(this.campaignBanner, dictionaryServiceMediaAdFormat.campaignBanner) && Objects.equals(this.height, dictionaryServiceMediaAdFormat.height) && Objects.equals(this.logo, dictionaryServiceMediaAdFormat.logo) && Objects.equals(this.maxHeight, dictionaryServiceMediaAdFormat.maxHeight) && Objects.equals(this.maxWidth, dictionaryServiceMediaAdFormat.maxWidth) && Objects.equals(this.size, dictionaryServiceMediaAdFormat.size) && Objects.equals(this.sizeTo, dictionaryServiceMediaAdFormat.sizeTo) && Objects.equals(this.staticImage, dictionaryServiceMediaAdFormat.staticImage) && Objects.equals(this.thumbnail, dictionaryServiceMediaAdFormat.thumbnail) && Objects.equals(this.transparent, dictionaryServiceMediaAdFormat.transparent) && Objects.equals(this.width, dictionaryServiceMediaAdFormat.width) && Objects.equals(this.richFormat, dictionaryServiceMediaAdFormat.richFormat); } @Override public int hashCode() { return Objects.hash(adFormat, aspect, aspectHeight, aspectRatio, aspectWidth, campaignBanner, height, logo, maxHeight, maxWidth, size, sizeTo, staticImage, thumbnail, transparent, width, richFormat); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DictionaryServiceMediaAdFormat {\n"); sb.append(" adFormat: ").append(toIndentedString(adFormat)).append("\n"); sb.append(" aspect: ").append(toIndentedString(aspect)).append("\n"); sb.append(" aspectHeight: ").append(toIndentedString(aspectHeight)).append("\n"); sb.append(" aspectRatio: ").append(toIndentedString(aspectRatio)).append("\n"); sb.append(" aspectWidth: ").append(toIndentedString(aspectWidth)).append("\n"); sb.append(" campaignBanner: ").append(toIndentedString(campaignBanner)).append("\n"); sb.append(" height: ").append(toIndentedString(height)).append("\n"); sb.append(" logo: ").append(toIndentedString(logo)).append("\n"); sb.append(" maxHeight: ").append(toIndentedString(maxHeight)).append("\n"); sb.append(" maxWidth: ").append(toIndentedString(maxWidth)).append("\n"); sb.append(" size: ").append(toIndentedString(size)).append("\n"); sb.append(" sizeTo: ").append(toIndentedString(sizeTo)).append("\n"); sb.append(" staticImage: ").append(toIndentedString(staticImage)).append("\n"); sb.append(" thumbnail: ").append(toIndentedString(thumbnail)).append("\n"); sb.append(" transparent: ").append(toIndentedString(transparent)).append("\n"); sb.append(" width: ").append(toIndentedString(width)).append("\n"); sb.append(" richFormat: ").append(toIndentedString(richFormat)).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