
com.tencent.ads.model.AdcreativeTemplatesGetAdcreativeTemplateListStruct 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;
/** 创意形式和投放权限数据结构 */
@ApiModel(description = "创意形式和投放权限数据结构")
public class AdcreativeTemplatesGetAdcreativeTemplateListStruct {
@SerializedName("adcreative_template_id")
private Long adcreativeTemplateId = null;
@SerializedName("adcreative_template_name")
private String adcreativeTemplateName = null;
@SerializedName("adcreative_template_description")
private String adcreativeTemplateDescription = null;
@SerializedName("adcreative_template_size")
private String adcreativeTemplateSize = null;
@SerializedName("adcreative_template_style")
private String adcreativeTemplateStyle = null;
@SerializedName("adcreative_template_appellation")
private String adcreativeTemplateAppellation = null;
@SerializedName("site_set")
private SiteSetDefinition siteSet = null;
@SerializedName("promoted_object_type")
private PromotedObjectTypeWithoutJd promotedObjectType = null;
@SerializedName("adcreative_sample_image_list")
private List adcreativeSampleImageList = null;
@SerializedName("ad_attributes")
private List adAttributes = null;
@SerializedName("adcreative_attributes")
private List adcreativeAttributes = null;
@SerializedName("adcreative_elements")
private List adcreativeElements = null;
@SerializedName("support_page_type")
private List supportPageType = null;
@SerializedName("landing_page_config")
private LandingPageConfig landingPageConfig = null;
@SerializedName("support_billing_spec_list")
private List supportBillingSpecList = null;
@SerializedName("support_dynamic_ability_spec_list")
private SupportDynamicAbilitySpecList supportDynamicAbilitySpecList = null;
@SerializedName("support_bid_mode_list")
private List supportBidModeList = null;
public AdcreativeTemplatesGetAdcreativeTemplateListStruct adcreativeTemplateId(
Long adcreativeTemplateId) {
this.adcreativeTemplateId = adcreativeTemplateId;
return this;
}
/**
* Get adcreativeTemplateId
*
* @return adcreativeTemplateId
*/
@ApiModelProperty(value = "")
public Long getAdcreativeTemplateId() {
return adcreativeTemplateId;
}
public void setAdcreativeTemplateId(Long adcreativeTemplateId) {
this.adcreativeTemplateId = adcreativeTemplateId;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct adcreativeTemplateName(
String adcreativeTemplateName) {
this.adcreativeTemplateName = adcreativeTemplateName;
return this;
}
/**
* Get adcreativeTemplateName
*
* @return adcreativeTemplateName
*/
@ApiModelProperty(value = "")
public String getAdcreativeTemplateName() {
return adcreativeTemplateName;
}
public void setAdcreativeTemplateName(String adcreativeTemplateName) {
this.adcreativeTemplateName = adcreativeTemplateName;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct adcreativeTemplateDescription(
String adcreativeTemplateDescription) {
this.adcreativeTemplateDescription = adcreativeTemplateDescription;
return this;
}
/**
* Get adcreativeTemplateDescription
*
* @return adcreativeTemplateDescription
*/
@ApiModelProperty(value = "")
public String getAdcreativeTemplateDescription() {
return adcreativeTemplateDescription;
}
public void setAdcreativeTemplateDescription(String adcreativeTemplateDescription) {
this.adcreativeTemplateDescription = adcreativeTemplateDescription;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct adcreativeTemplateSize(
String adcreativeTemplateSize) {
this.adcreativeTemplateSize = adcreativeTemplateSize;
return this;
}
/**
* Get adcreativeTemplateSize
*
* @return adcreativeTemplateSize
*/
@ApiModelProperty(value = "")
public String getAdcreativeTemplateSize() {
return adcreativeTemplateSize;
}
public void setAdcreativeTemplateSize(String adcreativeTemplateSize) {
this.adcreativeTemplateSize = adcreativeTemplateSize;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct adcreativeTemplateStyle(
String adcreativeTemplateStyle) {
this.adcreativeTemplateStyle = adcreativeTemplateStyle;
return this;
}
/**
* Get adcreativeTemplateStyle
*
* @return adcreativeTemplateStyle
*/
@ApiModelProperty(value = "")
public String getAdcreativeTemplateStyle() {
return adcreativeTemplateStyle;
}
public void setAdcreativeTemplateStyle(String adcreativeTemplateStyle) {
this.adcreativeTemplateStyle = adcreativeTemplateStyle;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct adcreativeTemplateAppellation(
String adcreativeTemplateAppellation) {
this.adcreativeTemplateAppellation = adcreativeTemplateAppellation;
return this;
}
/**
* Get adcreativeTemplateAppellation
*
* @return adcreativeTemplateAppellation
*/
@ApiModelProperty(value = "")
public String getAdcreativeTemplateAppellation() {
return adcreativeTemplateAppellation;
}
public void setAdcreativeTemplateAppellation(String adcreativeTemplateAppellation) {
this.adcreativeTemplateAppellation = adcreativeTemplateAppellation;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct siteSet(SiteSetDefinition siteSet) {
this.siteSet = siteSet;
return this;
}
/**
* Get siteSet
*
* @return siteSet
*/
@ApiModelProperty(value = "")
public SiteSetDefinition getSiteSet() {
return siteSet;
}
public void setSiteSet(SiteSetDefinition siteSet) {
this.siteSet = siteSet;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct promotedObjectType(
PromotedObjectTypeWithoutJd promotedObjectType) {
this.promotedObjectType = promotedObjectType;
return this;
}
/**
* Get promotedObjectType
*
* @return promotedObjectType
*/
@ApiModelProperty(value = "")
public PromotedObjectTypeWithoutJd getPromotedObjectType() {
return promotedObjectType;
}
public void setPromotedObjectType(PromotedObjectTypeWithoutJd promotedObjectType) {
this.promotedObjectType = promotedObjectType;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct adcreativeSampleImageList(
List adcreativeSampleImageList) {
this.adcreativeSampleImageList = adcreativeSampleImageList;
return this;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct addAdcreativeSampleImageListItem(
AdcreativeSampleImage adcreativeSampleImageListItem) {
if (this.adcreativeSampleImageList == null) {
this.adcreativeSampleImageList = new ArrayList();
}
this.adcreativeSampleImageList.add(adcreativeSampleImageListItem);
return this;
}
/**
* Get adcreativeSampleImageList
*
* @return adcreativeSampleImageList
*/
@ApiModelProperty(value = "")
public List getAdcreativeSampleImageList() {
return adcreativeSampleImageList;
}
public void setAdcreativeSampleImageList(List adcreativeSampleImageList) {
this.adcreativeSampleImageList = adcreativeSampleImageList;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct adAttributes(
List adAttributes) {
this.adAttributes = adAttributes;
return this;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct addAdAttributesItem(
AdcreativeElement adAttributesItem) {
if (this.adAttributes == null) {
this.adAttributes = new ArrayList();
}
this.adAttributes.add(adAttributesItem);
return this;
}
/**
* Get adAttributes
*
* @return adAttributes
*/
@ApiModelProperty(value = "")
public List getAdAttributes() {
return adAttributes;
}
public void setAdAttributes(List adAttributes) {
this.adAttributes = adAttributes;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct adcreativeAttributes(
List adcreativeAttributes) {
this.adcreativeAttributes = adcreativeAttributes;
return this;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct addAdcreativeAttributesItem(
AdcreativeElement adcreativeAttributesItem) {
if (this.adcreativeAttributes == null) {
this.adcreativeAttributes = new ArrayList();
}
this.adcreativeAttributes.add(adcreativeAttributesItem);
return this;
}
/**
* Get adcreativeAttributes
*
* @return adcreativeAttributes
*/
@ApiModelProperty(value = "")
public List getAdcreativeAttributes() {
return adcreativeAttributes;
}
public void setAdcreativeAttributes(List adcreativeAttributes) {
this.adcreativeAttributes = adcreativeAttributes;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct adcreativeElements(
List adcreativeElements) {
this.adcreativeElements = adcreativeElements;
return this;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct addAdcreativeElementsItem(
AdcreativeElement adcreativeElementsItem) {
if (this.adcreativeElements == null) {
this.adcreativeElements = new ArrayList();
}
this.adcreativeElements.add(adcreativeElementsItem);
return this;
}
/**
* Get adcreativeElements
*
* @return adcreativeElements
*/
@ApiModelProperty(value = "")
public List getAdcreativeElements() {
return adcreativeElements;
}
public void setAdcreativeElements(List adcreativeElements) {
this.adcreativeElements = adcreativeElements;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct supportPageType(
List supportPageType) {
this.supportPageType = supportPageType;
return this;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct addSupportPageTypeItem(
String supportPageTypeItem) {
if (this.supportPageType == null) {
this.supportPageType = new ArrayList();
}
this.supportPageType.add(supportPageTypeItem);
return this;
}
/**
* Get supportPageType
*
* @return supportPageType
*/
@ApiModelProperty(value = "")
public List getSupportPageType() {
return supportPageType;
}
public void setSupportPageType(List supportPageType) {
this.supportPageType = supportPageType;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct landingPageConfig(
LandingPageConfig landingPageConfig) {
this.landingPageConfig = landingPageConfig;
return this;
}
/**
* Get landingPageConfig
*
* @return landingPageConfig
*/
@ApiModelProperty(value = "")
public LandingPageConfig getLandingPageConfig() {
return landingPageConfig;
}
public void setLandingPageConfig(LandingPageConfig landingPageConfig) {
this.landingPageConfig = landingPageConfig;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct supportBillingSpecList(
List supportBillingSpecList) {
this.supportBillingSpecList = supportBillingSpecList;
return this;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct addSupportBillingSpecListItem(
SupportBillingSpec supportBillingSpecListItem) {
if (this.supportBillingSpecList == null) {
this.supportBillingSpecList = new ArrayList();
}
this.supportBillingSpecList.add(supportBillingSpecListItem);
return this;
}
/**
* Get supportBillingSpecList
*
* @return supportBillingSpecList
*/
@ApiModelProperty(value = "")
public List getSupportBillingSpecList() {
return supportBillingSpecList;
}
public void setSupportBillingSpecList(List supportBillingSpecList) {
this.supportBillingSpecList = supportBillingSpecList;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct supportDynamicAbilitySpecList(
SupportDynamicAbilitySpecList supportDynamicAbilitySpecList) {
this.supportDynamicAbilitySpecList = supportDynamicAbilitySpecList;
return this;
}
/**
* Get supportDynamicAbilitySpecList
*
* @return supportDynamicAbilitySpecList
*/
@ApiModelProperty(value = "")
public SupportDynamicAbilitySpecList getSupportDynamicAbilitySpecList() {
return supportDynamicAbilitySpecList;
}
public void setSupportDynamicAbilitySpecList(
SupportDynamicAbilitySpecList supportDynamicAbilitySpecList) {
this.supportDynamicAbilitySpecList = supportDynamicAbilitySpecList;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct supportBidModeList(
List supportBidModeList) {
this.supportBidModeList = supportBidModeList;
return this;
}
public AdcreativeTemplatesGetAdcreativeTemplateListStruct addSupportBidModeListItem(
String supportBidModeListItem) {
if (this.supportBidModeList == null) {
this.supportBidModeList = new ArrayList();
}
this.supportBidModeList.add(supportBidModeListItem);
return this;
}
/**
* Get supportBidModeList
*
* @return supportBidModeList
*/
@ApiModelProperty(value = "")
public List getSupportBidModeList() {
return supportBidModeList;
}
public void setSupportBidModeList(List supportBidModeList) {
this.supportBidModeList = supportBidModeList;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdcreativeTemplatesGetAdcreativeTemplateListStruct
adcreativeTemplatesGetAdcreativeTemplateListStruct =
(AdcreativeTemplatesGetAdcreativeTemplateListStruct) o;
return Objects.equals(
this.adcreativeTemplateId,
adcreativeTemplatesGetAdcreativeTemplateListStruct.adcreativeTemplateId)
&& Objects.equals(
this.adcreativeTemplateName,
adcreativeTemplatesGetAdcreativeTemplateListStruct.adcreativeTemplateName)
&& Objects.equals(
this.adcreativeTemplateDescription,
adcreativeTemplatesGetAdcreativeTemplateListStruct.adcreativeTemplateDescription)
&& Objects.equals(
this.adcreativeTemplateSize,
adcreativeTemplatesGetAdcreativeTemplateListStruct.adcreativeTemplateSize)
&& Objects.equals(
this.adcreativeTemplateStyle,
adcreativeTemplatesGetAdcreativeTemplateListStruct.adcreativeTemplateStyle)
&& Objects.equals(
this.adcreativeTemplateAppellation,
adcreativeTemplatesGetAdcreativeTemplateListStruct.adcreativeTemplateAppellation)
&& Objects.equals(this.siteSet, adcreativeTemplatesGetAdcreativeTemplateListStruct.siteSet)
&& Objects.equals(
this.promotedObjectType,
adcreativeTemplatesGetAdcreativeTemplateListStruct.promotedObjectType)
&& Objects.equals(
this.adcreativeSampleImageList,
adcreativeTemplatesGetAdcreativeTemplateListStruct.adcreativeSampleImageList)
&& Objects.equals(
this.adAttributes, adcreativeTemplatesGetAdcreativeTemplateListStruct.adAttributes)
&& Objects.equals(
this.adcreativeAttributes,
adcreativeTemplatesGetAdcreativeTemplateListStruct.adcreativeAttributes)
&& Objects.equals(
this.adcreativeElements,
adcreativeTemplatesGetAdcreativeTemplateListStruct.adcreativeElements)
&& Objects.equals(
this.supportPageType,
adcreativeTemplatesGetAdcreativeTemplateListStruct.supportPageType)
&& Objects.equals(
this.landingPageConfig,
adcreativeTemplatesGetAdcreativeTemplateListStruct.landingPageConfig)
&& Objects.equals(
this.supportBillingSpecList,
adcreativeTemplatesGetAdcreativeTemplateListStruct.supportBillingSpecList)
&& Objects.equals(
this.supportDynamicAbilitySpecList,
adcreativeTemplatesGetAdcreativeTemplateListStruct.supportDynamicAbilitySpecList)
&& Objects.equals(
this.supportBidModeList,
adcreativeTemplatesGetAdcreativeTemplateListStruct.supportBidModeList);
}
@Override
public int hashCode() {
return Objects.hash(
adcreativeTemplateId,
adcreativeTemplateName,
adcreativeTemplateDescription,
adcreativeTemplateSize,
adcreativeTemplateStyle,
adcreativeTemplateAppellation,
siteSet,
promotedObjectType,
adcreativeSampleImageList,
adAttributes,
adcreativeAttributes,
adcreativeElements,
supportPageType,
landingPageConfig,
supportBillingSpecList,
supportDynamicAbilitySpecList,
supportBidModeList);
}
@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