
com.tencent.ads.model.PagesGetListStruct 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 PagesGetListStruct {
@SerializedName("page_id")
private Long pageId = null;
@SerializedName("page_name")
private String pageName = null;
@SerializedName("preview_url")
private String previewUrl = null;
@SerializedName("created_time")
private Long createdTime = null;
@SerializedName("last_modified_time")
private Long lastModifiedTime = null;
@SerializedName("promoted_object_id")
private String promotedObjectId = null;
@SerializedName("product_catalog_id")
private Long productCatalogId = null;
@SerializedName("page_type")
private DestinationTypeRead pageType = null;
@SerializedName("playable_type")
private PlayableType playableType = null;
@SerializedName("page_status")
private PageStatus pageStatus = null;
@SerializedName("fengye_sub_type")
private LandingPageFengyeSubType fengyeSubType = null;
@SerializedName("owner_uid")
private Long ownerUid = null;
@SerializedName("quote_creative_material")
private Boolean quoteCreativeMaterial = null;
public PagesGetListStruct pageId(Long pageId) {
this.pageId = pageId;
return this;
}
/**
* Get pageId
*
* @return pageId
*/
@ApiModelProperty(value = "")
public Long getPageId() {
return pageId;
}
public void setPageId(Long pageId) {
this.pageId = pageId;
}
public PagesGetListStruct pageName(String pageName) {
this.pageName = pageName;
return this;
}
/**
* Get pageName
*
* @return pageName
*/
@ApiModelProperty(value = "")
public String getPageName() {
return pageName;
}
public void setPageName(String pageName) {
this.pageName = pageName;
}
public PagesGetListStruct previewUrl(String previewUrl) {
this.previewUrl = previewUrl;
return this;
}
/**
* Get previewUrl
*
* @return previewUrl
*/
@ApiModelProperty(value = "")
public String getPreviewUrl() {
return previewUrl;
}
public void setPreviewUrl(String previewUrl) {
this.previewUrl = previewUrl;
}
public PagesGetListStruct createdTime(Long createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* Get createdTime
*
* @return createdTime
*/
@ApiModelProperty(value = "")
public Long getCreatedTime() {
return createdTime;
}
public void setCreatedTime(Long createdTime) {
this.createdTime = createdTime;
}
public PagesGetListStruct lastModifiedTime(Long lastModifiedTime) {
this.lastModifiedTime = lastModifiedTime;
return this;
}
/**
* Get lastModifiedTime
*
* @return lastModifiedTime
*/
@ApiModelProperty(value = "")
public Long getLastModifiedTime() {
return lastModifiedTime;
}
public void setLastModifiedTime(Long lastModifiedTime) {
this.lastModifiedTime = lastModifiedTime;
}
public PagesGetListStruct promotedObjectId(String promotedObjectId) {
this.promotedObjectId = promotedObjectId;
return this;
}
/**
* Get promotedObjectId
*
* @return promotedObjectId
*/
@ApiModelProperty(value = "")
public String getPromotedObjectId() {
return promotedObjectId;
}
public void setPromotedObjectId(String promotedObjectId) {
this.promotedObjectId = promotedObjectId;
}
public PagesGetListStruct productCatalogId(Long productCatalogId) {
this.productCatalogId = productCatalogId;
return this;
}
/**
* Get productCatalogId
*
* @return productCatalogId
*/
@ApiModelProperty(value = "")
public Long getProductCatalogId() {
return productCatalogId;
}
public void setProductCatalogId(Long productCatalogId) {
this.productCatalogId = productCatalogId;
}
public PagesGetListStruct pageType(DestinationTypeRead pageType) {
this.pageType = pageType;
return this;
}
/**
* Get pageType
*
* @return pageType
*/
@ApiModelProperty(value = "")
public DestinationTypeRead getPageType() {
return pageType;
}
public void setPageType(DestinationTypeRead pageType) {
this.pageType = pageType;
}
public PagesGetListStruct playableType(PlayableType playableType) {
this.playableType = playableType;
return this;
}
/**
* Get playableType
*
* @return playableType
*/
@ApiModelProperty(value = "")
public PlayableType getPlayableType() {
return playableType;
}
public void setPlayableType(PlayableType playableType) {
this.playableType = playableType;
}
public PagesGetListStruct pageStatus(PageStatus pageStatus) {
this.pageStatus = pageStatus;
return this;
}
/**
* Get pageStatus
*
* @return pageStatus
*/
@ApiModelProperty(value = "")
public PageStatus getPageStatus() {
return pageStatus;
}
public void setPageStatus(PageStatus pageStatus) {
this.pageStatus = pageStatus;
}
public PagesGetListStruct fengyeSubType(LandingPageFengyeSubType fengyeSubType) {
this.fengyeSubType = fengyeSubType;
return this;
}
/**
* Get fengyeSubType
*
* @return fengyeSubType
*/
@ApiModelProperty(value = "")
public LandingPageFengyeSubType getFengyeSubType() {
return fengyeSubType;
}
public void setFengyeSubType(LandingPageFengyeSubType fengyeSubType) {
this.fengyeSubType = fengyeSubType;
}
public PagesGetListStruct ownerUid(Long ownerUid) {
this.ownerUid = ownerUid;
return this;
}
/**
* Get ownerUid
*
* @return ownerUid
*/
@ApiModelProperty(value = "")
public Long getOwnerUid() {
return ownerUid;
}
public void setOwnerUid(Long ownerUid) {
this.ownerUid = ownerUid;
}
public PagesGetListStruct quoteCreativeMaterial(Boolean quoteCreativeMaterial) {
this.quoteCreativeMaterial = quoteCreativeMaterial;
return this;
}
/**
* Get quoteCreativeMaterial
*
* @return quoteCreativeMaterial
*/
@ApiModelProperty(value = "")
public Boolean isQuoteCreativeMaterial() {
return quoteCreativeMaterial;
}
public void setQuoteCreativeMaterial(Boolean quoteCreativeMaterial) {
this.quoteCreativeMaterial = quoteCreativeMaterial;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PagesGetListStruct pagesGetListStruct = (PagesGetListStruct) o;
return Objects.equals(this.pageId, pagesGetListStruct.pageId)
&& Objects.equals(this.pageName, pagesGetListStruct.pageName)
&& Objects.equals(this.previewUrl, pagesGetListStruct.previewUrl)
&& Objects.equals(this.createdTime, pagesGetListStruct.createdTime)
&& Objects.equals(this.lastModifiedTime, pagesGetListStruct.lastModifiedTime)
&& Objects.equals(this.promotedObjectId, pagesGetListStruct.promotedObjectId)
&& Objects.equals(this.productCatalogId, pagesGetListStruct.productCatalogId)
&& Objects.equals(this.pageType, pagesGetListStruct.pageType)
&& Objects.equals(this.playableType, pagesGetListStruct.playableType)
&& Objects.equals(this.pageStatus, pagesGetListStruct.pageStatus)
&& Objects.equals(this.fengyeSubType, pagesGetListStruct.fengyeSubType)
&& Objects.equals(this.ownerUid, pagesGetListStruct.ownerUid)
&& Objects.equals(this.quoteCreativeMaterial, pagesGetListStruct.quoteCreativeMaterial);
}
@Override
public int hashCode() {
return Objects.hash(
pageId,
pageName,
previewUrl,
createdTime,
lastModifiedTime,
promotedObjectId,
productCatalogId,
pageType,
playableType,
pageStatus,
fengyeSubType,
ownerUid,
quoteCreativeMaterial);
}
@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