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

com.tencent.ads.model.TopSliderSpec Maven / Gradle / Ivy

/*
 * Marketing API
 * Marketing API
 *
 * OpenAPI spec version: 1.3
 *
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.tencent.ads.model;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/** 顶部轮播图组件元素<br> 图片大小: 不超过300KB<br> 图片尺寸: 800*800 */
@ApiModel(description = "顶部轮播图组件元素
图片大小: 不超过300KB
图片尺寸: 800*800") public class TopSliderSpec { @SerializedName("image_id_list") private List imageIdList = null; @SerializedName("width") private Long width = null; @SerializedName("height") private Long height = null; public TopSliderSpec imageIdList(List imageIdList) { this.imageIdList = imageIdList; return this; } public TopSliderSpec addImageIdListItem(String imageIdListItem) { if (this.imageIdList == null) { this.imageIdList = new ArrayList(); } this.imageIdList.add(imageIdListItem); return this; } /** * Get imageIdList * * @return imageIdList */ @ApiModelProperty(value = "") public List getImageIdList() { return imageIdList; } public void setImageIdList(List imageIdList) { this.imageIdList = imageIdList; } public TopSliderSpec width(Long width) { this.width = width; return this; } /** * Get width * * @return width */ @ApiModelProperty(value = "") public Long getWidth() { return width; } public void setWidth(Long width) { this.width = width; } public TopSliderSpec height(Long height) { this.height = height; return this; } /** * Get height * * @return height */ @ApiModelProperty(value = "") public Long getHeight() { return height; } public void setHeight(Long height) { this.height = height; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } TopSliderSpec topSliderSpec = (TopSliderSpec) o; return Objects.equals(this.imageIdList, topSliderSpec.imageIdList) && Objects.equals(this.width, topSliderSpec.width) && Objects.equals(this.height, topSliderSpec.height); } @Override public int hashCode() { return Objects.hash(imageIdList, width, height); } @Override public String toString() { Gson gson = new Gson(); return gson.toJson(this); } /** * Convert the given object to string with each line indented by 4 spaces (except the first line). */ private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy