
com.tencent.ads.model.AdCreativeGetSpec 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.Objects;
/** 拉取创意结构 */
@ApiModel(description = "拉取创意结构")
public class AdCreativeGetSpec {
@SerializedName("adcreative_id")
private Long adcreativeId = null;
@SerializedName("adcreative_name")
private String adcreativeName = null;
@SerializedName("adcreative_template_id")
private Long adcreativeTemplateId = null;
@SerializedName("adcreative_elements")
private DpAdcreativeCreativeElementsMp adcreativeElements = null;
@SerializedName("page_type")
private DestinationType pageType = null;
@SerializedName("page_spec")
private DpPageSpec pageSpec = null;
@SerializedName("profile_id")
private Long profileId = null;
@SerializedName("profile_type")
private LocalProfileType profileType = null;
public AdCreativeGetSpec adcreativeId(Long adcreativeId) {
this.adcreativeId = adcreativeId;
return this;
}
/**
* Get adcreativeId
*
* @return adcreativeId
*/
@ApiModelProperty(value = "")
public Long getAdcreativeId() {
return adcreativeId;
}
public void setAdcreativeId(Long adcreativeId) {
this.adcreativeId = adcreativeId;
}
public AdCreativeGetSpec adcreativeName(String adcreativeName) {
this.adcreativeName = adcreativeName;
return this;
}
/**
* Get adcreativeName
*
* @return adcreativeName
*/
@ApiModelProperty(value = "")
public String getAdcreativeName() {
return adcreativeName;
}
public void setAdcreativeName(String adcreativeName) {
this.adcreativeName = adcreativeName;
}
public AdCreativeGetSpec 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 AdCreativeGetSpec adcreativeElements(DpAdcreativeCreativeElementsMp adcreativeElements) {
this.adcreativeElements = adcreativeElements;
return this;
}
/**
* Get adcreativeElements
*
* @return adcreativeElements
*/
@ApiModelProperty(value = "")
public DpAdcreativeCreativeElementsMp getAdcreativeElements() {
return adcreativeElements;
}
public void setAdcreativeElements(DpAdcreativeCreativeElementsMp adcreativeElements) {
this.adcreativeElements = adcreativeElements;
}
public AdCreativeGetSpec pageType(DestinationType pageType) {
this.pageType = pageType;
return this;
}
/**
* Get pageType
*
* @return pageType
*/
@ApiModelProperty(value = "")
public DestinationType getPageType() {
return pageType;
}
public void setPageType(DestinationType pageType) {
this.pageType = pageType;
}
public AdCreativeGetSpec pageSpec(DpPageSpec pageSpec) {
this.pageSpec = pageSpec;
return this;
}
/**
* Get pageSpec
*
* @return pageSpec
*/
@ApiModelProperty(value = "")
public DpPageSpec getPageSpec() {
return pageSpec;
}
public void setPageSpec(DpPageSpec pageSpec) {
this.pageSpec = pageSpec;
}
public AdCreativeGetSpec profileId(Long profileId) {
this.profileId = profileId;
return this;
}
/**
* Get profileId
*
* @return profileId
*/
@ApiModelProperty(value = "")
public Long getProfileId() {
return profileId;
}
public void setProfileId(Long profileId) {
this.profileId = profileId;
}
public AdCreativeGetSpec profileType(LocalProfileType profileType) {
this.profileType = profileType;
return this;
}
/**
* Get profileType
*
* @return profileType
*/
@ApiModelProperty(value = "")
public LocalProfileType getProfileType() {
return profileType;
}
public void setProfileType(LocalProfileType profileType) {
this.profileType = profileType;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdCreativeGetSpec adCreativeGetSpec = (AdCreativeGetSpec) o;
return Objects.equals(this.adcreativeId, adCreativeGetSpec.adcreativeId)
&& Objects.equals(this.adcreativeName, adCreativeGetSpec.adcreativeName)
&& Objects.equals(this.adcreativeTemplateId, adCreativeGetSpec.adcreativeTemplateId)
&& Objects.equals(this.adcreativeElements, adCreativeGetSpec.adcreativeElements)
&& Objects.equals(this.pageType, adCreativeGetSpec.pageType)
&& Objects.equals(this.pageSpec, adCreativeGetSpec.pageSpec)
&& Objects.equals(this.profileId, adCreativeGetSpec.profileId)
&& Objects.equals(this.profileType, adCreativeGetSpec.profileType);
}
@Override
public int hashCode() {
return Objects.hash(
adcreativeId,
adcreativeName,
adcreativeTemplateId,
adcreativeElements,
pageType,
pageSpec,
profileId,
profileType);
}
@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