com.tencent.ads.model.Extra Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marketing-api-java-sdk Show documentation
Show all versions of marketing-api-java-sdk Show documentation
Tencent Ads Mareting-Api Java Sdk
/*
* 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.Objects;
/** 模板扩展信息 */
@ApiModel(description = "模板扩展信息")
public class Extra {
@SerializedName("cover_image_template_id")
private Long coverImageTemplateId = null;
@SerializedName("cover_image_template_intro_url")
private String coverImageTemplateIntroUrl = null;
@SerializedName("image_template_id")
private Long imageTemplateId = null;
@SerializedName("image_template_intro_url")
private String imageTemplateIntroUrl = null;
@SerializedName("desc")
private String desc = null;
@SerializedName("floating_zone_name")
private String floatingZoneName = null;
@SerializedName("floating_zone_desc")
private String floatingZoneDesc = null;
public Extra coverImageTemplateId(Long coverImageTemplateId) {
this.coverImageTemplateId = coverImageTemplateId;
return this;
}
/**
* Get coverImageTemplateId
*
* @return coverImageTemplateId
*/
@ApiModelProperty(value = "")
public Long getCoverImageTemplateId() {
return coverImageTemplateId;
}
public void setCoverImageTemplateId(Long coverImageTemplateId) {
this.coverImageTemplateId = coverImageTemplateId;
}
public Extra coverImageTemplateIntroUrl(String coverImageTemplateIntroUrl) {
this.coverImageTemplateIntroUrl = coverImageTemplateIntroUrl;
return this;
}
/**
* Get coverImageTemplateIntroUrl
*
* @return coverImageTemplateIntroUrl
*/
@ApiModelProperty(value = "")
public String getCoverImageTemplateIntroUrl() {
return coverImageTemplateIntroUrl;
}
public void setCoverImageTemplateIntroUrl(String coverImageTemplateIntroUrl) {
this.coverImageTemplateIntroUrl = coverImageTemplateIntroUrl;
}
public Extra imageTemplateId(Long imageTemplateId) {
this.imageTemplateId = imageTemplateId;
return this;
}
/**
* Get imageTemplateId
*
* @return imageTemplateId
*/
@ApiModelProperty(value = "")
public Long getImageTemplateId() {
return imageTemplateId;
}
public void setImageTemplateId(Long imageTemplateId) {
this.imageTemplateId = imageTemplateId;
}
public Extra imageTemplateIntroUrl(String imageTemplateIntroUrl) {
this.imageTemplateIntroUrl = imageTemplateIntroUrl;
return this;
}
/**
* Get imageTemplateIntroUrl
*
* @return imageTemplateIntroUrl
*/
@ApiModelProperty(value = "")
public String getImageTemplateIntroUrl() {
return imageTemplateIntroUrl;
}
public void setImageTemplateIntroUrl(String imageTemplateIntroUrl) {
this.imageTemplateIntroUrl = imageTemplateIntroUrl;
}
public Extra desc(String desc) {
this.desc = desc;
return this;
}
/**
* Get desc
*
* @return desc
*/
@ApiModelProperty(value = "")
public String getDesc() {
return desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
public Extra floatingZoneName(String floatingZoneName) {
this.floatingZoneName = floatingZoneName;
return this;
}
/**
* Get floatingZoneName
*
* @return floatingZoneName
*/
@ApiModelProperty(value = "")
public String getFloatingZoneName() {
return floatingZoneName;
}
public void setFloatingZoneName(String floatingZoneName) {
this.floatingZoneName = floatingZoneName;
}
public Extra floatingZoneDesc(String floatingZoneDesc) {
this.floatingZoneDesc = floatingZoneDesc;
return this;
}
/**
* Get floatingZoneDesc
*
* @return floatingZoneDesc
*/
@ApiModelProperty(value = "")
public String getFloatingZoneDesc() {
return floatingZoneDesc;
}
public void setFloatingZoneDesc(String floatingZoneDesc) {
this.floatingZoneDesc = floatingZoneDesc;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Extra extra = (Extra) o;
return Objects.equals(this.coverImageTemplateId, extra.coverImageTemplateId)
&& Objects.equals(this.coverImageTemplateIntroUrl, extra.coverImageTemplateIntroUrl)
&& Objects.equals(this.imageTemplateId, extra.imageTemplateId)
&& Objects.equals(this.imageTemplateIntroUrl, extra.imageTemplateIntroUrl)
&& Objects.equals(this.desc, extra.desc)
&& Objects.equals(this.floatingZoneName, extra.floatingZoneName)
&& Objects.equals(this.floatingZoneDesc, extra.floatingZoneDesc);
}
@Override
public int hashCode() {
return Objects.hash(
coverImageTemplateId,
coverImageTemplateIntroUrl,
imageTemplateId,
imageTemplateIntroUrl,
desc,
floatingZoneName,
floatingZoneDesc);
}
@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 ");
}
}