
com.tencent.ads.model.WechatPagesGetListStruct 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 WechatPagesGetListStruct {
@SerializedName("page_id")
private Long pageId = null;
@SerializedName("page_name")
private String pageName = null;
@SerializedName("created_time")
private Long createdTime = null;
@SerializedName("last_modified_time")
private Long lastModifiedTime = null;
@SerializedName("page_template_id")
private Long pageTemplateId = null;
@SerializedName("share_content_spec")
private ShareContentSpec shareContentSpec = null;
@SerializedName("preview_url")
private String previewUrl = null;
@SerializedName("page_type")
private PageTypeRead pageType = null;
@SerializedName("source_type")
private WechatPageSourceType sourceType = null;
@SerializedName("video_resource_status")
private WechatPageResourceStatus videoResourceStatus = null;
@SerializedName("canvas_type")
private CanvasType canvasType = null;
@SerializedName("owner_uid")
private Long ownerUid = null;
@SerializedName("page_status")
private PageStatus pageStatus = null;
@SerializedName("page_elements_spec_list")
private List pageElementsSpecList = null;
public WechatPagesGetListStruct 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 WechatPagesGetListStruct 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 WechatPagesGetListStruct 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 WechatPagesGetListStruct 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 WechatPagesGetListStruct pageTemplateId(Long pageTemplateId) {
this.pageTemplateId = pageTemplateId;
return this;
}
/**
* Get pageTemplateId
*
* @return pageTemplateId
*/
@ApiModelProperty(value = "")
public Long getPageTemplateId() {
return pageTemplateId;
}
public void setPageTemplateId(Long pageTemplateId) {
this.pageTemplateId = pageTemplateId;
}
public WechatPagesGetListStruct shareContentSpec(ShareContentSpec shareContentSpec) {
this.shareContentSpec = shareContentSpec;
return this;
}
/**
* Get shareContentSpec
*
* @return shareContentSpec
*/
@ApiModelProperty(value = "")
public ShareContentSpec getShareContentSpec() {
return shareContentSpec;
}
public void setShareContentSpec(ShareContentSpec shareContentSpec) {
this.shareContentSpec = shareContentSpec;
}
public WechatPagesGetListStruct 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 WechatPagesGetListStruct pageType(PageTypeRead pageType) {
this.pageType = pageType;
return this;
}
/**
* Get pageType
*
* @return pageType
*/
@ApiModelProperty(value = "")
public PageTypeRead getPageType() {
return pageType;
}
public void setPageType(PageTypeRead pageType) {
this.pageType = pageType;
}
public WechatPagesGetListStruct sourceType(WechatPageSourceType sourceType) {
this.sourceType = sourceType;
return this;
}
/**
* Get sourceType
*
* @return sourceType
*/
@ApiModelProperty(value = "")
public WechatPageSourceType getSourceType() {
return sourceType;
}
public void setSourceType(WechatPageSourceType sourceType) {
this.sourceType = sourceType;
}
public WechatPagesGetListStruct videoResourceStatus(
WechatPageResourceStatus videoResourceStatus) {
this.videoResourceStatus = videoResourceStatus;
return this;
}
/**
* Get videoResourceStatus
*
* @return videoResourceStatus
*/
@ApiModelProperty(value = "")
public WechatPageResourceStatus getVideoResourceStatus() {
return videoResourceStatus;
}
public void setVideoResourceStatus(WechatPageResourceStatus videoResourceStatus) {
this.videoResourceStatus = videoResourceStatus;
}
public WechatPagesGetListStruct canvasType(CanvasType canvasType) {
this.canvasType = canvasType;
return this;
}
/**
* Get canvasType
*
* @return canvasType
*/
@ApiModelProperty(value = "")
public CanvasType getCanvasType() {
return canvasType;
}
public void setCanvasType(CanvasType canvasType) {
this.canvasType = canvasType;
}
public WechatPagesGetListStruct 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 WechatPagesGetListStruct 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 WechatPagesGetListStruct pageElementsSpecList(
List pageElementsSpecList) {
this.pageElementsSpecList = pageElementsSpecList;
return this;
}
public WechatPagesGetListStruct addPageElementsSpecListItem(
PageElementsStruct pageElementsSpecListItem) {
if (this.pageElementsSpecList == null) {
this.pageElementsSpecList = new ArrayList();
}
this.pageElementsSpecList.add(pageElementsSpecListItem);
return this;
}
/**
* Get pageElementsSpecList
*
* @return pageElementsSpecList
*/
@ApiModelProperty(value = "")
public List getPageElementsSpecList() {
return pageElementsSpecList;
}
public void setPageElementsSpecList(List pageElementsSpecList) {
this.pageElementsSpecList = pageElementsSpecList;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WechatPagesGetListStruct wechatPagesGetListStruct = (WechatPagesGetListStruct) o;
return Objects.equals(this.pageId, wechatPagesGetListStruct.pageId)
&& Objects.equals(this.pageName, wechatPagesGetListStruct.pageName)
&& Objects.equals(this.createdTime, wechatPagesGetListStruct.createdTime)
&& Objects.equals(this.lastModifiedTime, wechatPagesGetListStruct.lastModifiedTime)
&& Objects.equals(this.pageTemplateId, wechatPagesGetListStruct.pageTemplateId)
&& Objects.equals(this.shareContentSpec, wechatPagesGetListStruct.shareContentSpec)
&& Objects.equals(this.previewUrl, wechatPagesGetListStruct.previewUrl)
&& Objects.equals(this.pageType, wechatPagesGetListStruct.pageType)
&& Objects.equals(this.sourceType, wechatPagesGetListStruct.sourceType)
&& Objects.equals(this.videoResourceStatus, wechatPagesGetListStruct.videoResourceStatus)
&& Objects.equals(this.canvasType, wechatPagesGetListStruct.canvasType)
&& Objects.equals(this.ownerUid, wechatPagesGetListStruct.ownerUid)
&& Objects.equals(this.pageStatus, wechatPagesGetListStruct.pageStatus)
&& Objects.equals(this.pageElementsSpecList, wechatPagesGetListStruct.pageElementsSpecList);
}
@Override
public int hashCode() {
return Objects.hash(
pageId,
pageName,
createdTime,
lastModifiedTime,
pageTemplateId,
shareContentSpec,
previewUrl,
pageType,
sourceType,
videoResourceStatus,
canvasType,
ownerUid,
pageStatus,
pageElementsSpecList);
}
@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