
com.tencent.ads.model.AdCreativeUpdateSpec 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 AdCreativeUpdateSpec {
@SerializedName("adcreative_name")
private String adcreativeName = null;
@SerializedName("adcreative_elements")
private DpAdcreativeCreativeElementsMp adcreativeElements = null;
@SerializedName("page_spec")
private DpPageSpec pageSpec = null;
@SerializedName("profile_id")
private Long profileId = null;
@SerializedName("profile_type")
private LocalProfileType profileType = null;
public AdCreativeUpdateSpec 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 AdCreativeUpdateSpec 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 AdCreativeUpdateSpec 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 AdCreativeUpdateSpec 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 AdCreativeUpdateSpec 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;
}
AdCreativeUpdateSpec adCreativeUpdateSpec = (AdCreativeUpdateSpec) o;
return Objects.equals(this.adcreativeName, adCreativeUpdateSpec.adcreativeName)
&& Objects.equals(this.adcreativeElements, adCreativeUpdateSpec.adcreativeElements)
&& Objects.equals(this.pageSpec, adCreativeUpdateSpec.pageSpec)
&& Objects.equals(this.profileId, adCreativeUpdateSpec.profileId)
&& Objects.equals(this.profileType, adCreativeUpdateSpec.profileType);
}
@Override
public int hashCode() {
return Objects.hash(adcreativeName, adcreativeElements, 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