All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencent.ads.model.DynamicCreativesGetListStruct 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 DynamicCreativesGetListStruct {
  @SerializedName("dynamic_creative_id")
  private Long dynamicCreativeId = null;

  @SerializedName("outer_adcreative_id")
  private Long outerAdcreativeId = null;

  @SerializedName("dynamic_creative_name")
  private String dynamicCreativeName = null;

  @SerializedName("dynamic_creative_template_id")
  private Long dynamicCreativeTemplateId = null;

  @SerializedName("dynamic_creative_elements")
  private DynamicCreativeElementsRead dynamicCreativeElements = null;

  @SerializedName("page_type")
  private PageTypeRead pageType = null;

  @SerializedName("page_spec")
  private DynamicCreativePageSpec pageSpec = null;

  @SerializedName("deep_link_url")
  private String deepLinkUrl = null;

  @SerializedName("automatic_site_enabled")
  private Boolean automaticSiteEnabled = null;

  @SerializedName("site_set")
  private List siteSet = null;

  @SerializedName("promoted_object_type")
  private PromotedObjectType promotedObjectType = null;

  @SerializedName("promoted_object_id")
  private String promotedObjectId = null;

  @SerializedName("profile_id")
  private Long profileId = null;

  @SerializedName("created_time")
  private Long createdTime = null;

  @SerializedName("last_modified_time")
  private Long lastModifiedTime = null;

  @SerializedName("dynamic_adcreative_spec")
  private DynamicAdcreativeSpecForDc dynamicAdcreativeSpec = null;

  @SerializedName("is_deleted")
  private Boolean isDeleted = null;

  @SerializedName("campaign_type")
  private CampaignType campaignType = null;

  @SerializedName("impression_tracking_url")
  private String impressionTrackingUrl = null;

  @SerializedName("click_tracking_url")
  private String clickTrackingUrl = null;

  @SerializedName("feeds_video_comment_switch")
  private Boolean feedsVideoCommentSwitch = null;

  @SerializedName("union_market_switch")
  private Boolean unionMarketSwitch = null;

  @SerializedName("video_end_page")
  private VideoEndPageSpec videoEndPage = null;

  @SerializedName("barrage_list")
  private List barrageList = null;

  @SerializedName("dynamic_creative_group_used")
  private DynamicCreativeGroupUsed dynamicCreativeGroupUsed = null;

  @SerializedName("app_gift_pack_code")
  private AppGiftPackCode appGiftPackCode = null;

  @SerializedName("enable_breakthrough_siteset")
  private Boolean enableBreakthroughSiteset = null;

  @SerializedName("creative_template_version_type")
  private CreativeTemplateVersionType creativeTemplateVersionType = null;

  public DynamicCreativesGetListStruct dynamicCreativeId(Long dynamicCreativeId) {
    this.dynamicCreativeId = dynamicCreativeId;
    return this;
  }

  /**
   * Get dynamicCreativeId
   *
   * @return dynamicCreativeId
   */
  @ApiModelProperty(value = "")
  public Long getDynamicCreativeId() {
    return dynamicCreativeId;
  }

  public void setDynamicCreativeId(Long dynamicCreativeId) {
    this.dynamicCreativeId = dynamicCreativeId;
  }

  public DynamicCreativesGetListStruct outerAdcreativeId(Long outerAdcreativeId) {
    this.outerAdcreativeId = outerAdcreativeId;
    return this;
  }

  /**
   * Get outerAdcreativeId
   *
   * @return outerAdcreativeId
   */
  @ApiModelProperty(value = "")
  public Long getOuterAdcreativeId() {
    return outerAdcreativeId;
  }

  public void setOuterAdcreativeId(Long outerAdcreativeId) {
    this.outerAdcreativeId = outerAdcreativeId;
  }

  public DynamicCreativesGetListStruct dynamicCreativeName(String dynamicCreativeName) {
    this.dynamicCreativeName = dynamicCreativeName;
    return this;
  }

  /**
   * Get dynamicCreativeName
   *
   * @return dynamicCreativeName
   */
  @ApiModelProperty(value = "")
  public String getDynamicCreativeName() {
    return dynamicCreativeName;
  }

  public void setDynamicCreativeName(String dynamicCreativeName) {
    this.dynamicCreativeName = dynamicCreativeName;
  }

  public DynamicCreativesGetListStruct dynamicCreativeTemplateId(Long dynamicCreativeTemplateId) {
    this.dynamicCreativeTemplateId = dynamicCreativeTemplateId;
    return this;
  }

  /**
   * Get dynamicCreativeTemplateId
   *
   * @return dynamicCreativeTemplateId
   */
  @ApiModelProperty(value = "")
  public Long getDynamicCreativeTemplateId() {
    return dynamicCreativeTemplateId;
  }

  public void setDynamicCreativeTemplateId(Long dynamicCreativeTemplateId) {
    this.dynamicCreativeTemplateId = dynamicCreativeTemplateId;
  }

  public DynamicCreativesGetListStruct dynamicCreativeElements(
      DynamicCreativeElementsRead dynamicCreativeElements) {
    this.dynamicCreativeElements = dynamicCreativeElements;
    return this;
  }

  /**
   * Get dynamicCreativeElements
   *
   * @return dynamicCreativeElements
   */
  @ApiModelProperty(value = "")
  public DynamicCreativeElementsRead getDynamicCreativeElements() {
    return dynamicCreativeElements;
  }

  public void setDynamicCreativeElements(DynamicCreativeElementsRead dynamicCreativeElements) {
    this.dynamicCreativeElements = dynamicCreativeElements;
  }

  public DynamicCreativesGetListStruct 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 DynamicCreativesGetListStruct pageSpec(DynamicCreativePageSpec pageSpec) {
    this.pageSpec = pageSpec;
    return this;
  }

  /**
   * Get pageSpec
   *
   * @return pageSpec
   */
  @ApiModelProperty(value = "")
  public DynamicCreativePageSpec getPageSpec() {
    return pageSpec;
  }

  public void setPageSpec(DynamicCreativePageSpec pageSpec) {
    this.pageSpec = pageSpec;
  }

  public DynamicCreativesGetListStruct deepLinkUrl(String deepLinkUrl) {
    this.deepLinkUrl = deepLinkUrl;
    return this;
  }

  /**
   * Get deepLinkUrl
   *
   * @return deepLinkUrl
   */
  @ApiModelProperty(value = "")
  public String getDeepLinkUrl() {
    return deepLinkUrl;
  }

  public void setDeepLinkUrl(String deepLinkUrl) {
    this.deepLinkUrl = deepLinkUrl;
  }

  public DynamicCreativesGetListStruct automaticSiteEnabled(Boolean automaticSiteEnabled) {
    this.automaticSiteEnabled = automaticSiteEnabled;
    return this;
  }

  /**
   * Get automaticSiteEnabled
   *
   * @return automaticSiteEnabled
   */
  @ApiModelProperty(value = "")
  public Boolean isAutomaticSiteEnabled() {
    return automaticSiteEnabled;
  }

  public void setAutomaticSiteEnabled(Boolean automaticSiteEnabled) {
    this.automaticSiteEnabled = automaticSiteEnabled;
  }

  public DynamicCreativesGetListStruct siteSet(List siteSet) {
    this.siteSet = siteSet;
    return this;
  }

  public DynamicCreativesGetListStruct addSiteSetItem(String siteSetItem) {
    if (this.siteSet == null) {
      this.siteSet = new ArrayList();
    }
    this.siteSet.add(siteSetItem);
    return this;
  }

  /**
   * Get siteSet
   *
   * @return siteSet
   */
  @ApiModelProperty(value = "")
  public List getSiteSet() {
    return siteSet;
  }

  public void setSiteSet(List siteSet) {
    this.siteSet = siteSet;
  }

  public DynamicCreativesGetListStruct promotedObjectType(PromotedObjectType promotedObjectType) {
    this.promotedObjectType = promotedObjectType;
    return this;
  }

  /**
   * Get promotedObjectType
   *
   * @return promotedObjectType
   */
  @ApiModelProperty(value = "")
  public PromotedObjectType getPromotedObjectType() {
    return promotedObjectType;
  }

  public void setPromotedObjectType(PromotedObjectType promotedObjectType) {
    this.promotedObjectType = promotedObjectType;
  }

  public DynamicCreativesGetListStruct 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 DynamicCreativesGetListStruct 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 DynamicCreativesGetListStruct 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 DynamicCreativesGetListStruct 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 DynamicCreativesGetListStruct dynamicAdcreativeSpec(
      DynamicAdcreativeSpecForDc dynamicAdcreativeSpec) {
    this.dynamicAdcreativeSpec = dynamicAdcreativeSpec;
    return this;
  }

  /**
   * Get dynamicAdcreativeSpec
   *
   * @return dynamicAdcreativeSpec
   */
  @ApiModelProperty(value = "")
  public DynamicAdcreativeSpecForDc getDynamicAdcreativeSpec() {
    return dynamicAdcreativeSpec;
  }

  public void setDynamicAdcreativeSpec(DynamicAdcreativeSpecForDc dynamicAdcreativeSpec) {
    this.dynamicAdcreativeSpec = dynamicAdcreativeSpec;
  }

  public DynamicCreativesGetListStruct isDeleted(Boolean isDeleted) {
    this.isDeleted = isDeleted;
    return this;
  }

  /**
   * Get isDeleted
   *
   * @return isDeleted
   */
  @ApiModelProperty(value = "")
  public Boolean isIsDeleted() {
    return isDeleted;
  }

  public void setIsDeleted(Boolean isDeleted) {
    this.isDeleted = isDeleted;
  }

  public DynamicCreativesGetListStruct campaignType(CampaignType campaignType) {
    this.campaignType = campaignType;
    return this;
  }

  /**
   * Get campaignType
   *
   * @return campaignType
   */
  @ApiModelProperty(value = "")
  public CampaignType getCampaignType() {
    return campaignType;
  }

  public void setCampaignType(CampaignType campaignType) {
    this.campaignType = campaignType;
  }

  public DynamicCreativesGetListStruct impressionTrackingUrl(String impressionTrackingUrl) {
    this.impressionTrackingUrl = impressionTrackingUrl;
    return this;
  }

  /**
   * Get impressionTrackingUrl
   *
   * @return impressionTrackingUrl
   */
  @ApiModelProperty(value = "")
  public String getImpressionTrackingUrl() {
    return impressionTrackingUrl;
  }

  public void setImpressionTrackingUrl(String impressionTrackingUrl) {
    this.impressionTrackingUrl = impressionTrackingUrl;
  }

  public DynamicCreativesGetListStruct clickTrackingUrl(String clickTrackingUrl) {
    this.clickTrackingUrl = clickTrackingUrl;
    return this;
  }

  /**
   * Get clickTrackingUrl
   *
   * @return clickTrackingUrl
   */
  @ApiModelProperty(value = "")
  public String getClickTrackingUrl() {
    return clickTrackingUrl;
  }

  public void setClickTrackingUrl(String clickTrackingUrl) {
    this.clickTrackingUrl = clickTrackingUrl;
  }

  public DynamicCreativesGetListStruct feedsVideoCommentSwitch(Boolean feedsVideoCommentSwitch) {
    this.feedsVideoCommentSwitch = feedsVideoCommentSwitch;
    return this;
  }

  /**
   * Get feedsVideoCommentSwitch
   *
   * @return feedsVideoCommentSwitch
   */
  @ApiModelProperty(value = "")
  public Boolean isFeedsVideoCommentSwitch() {
    return feedsVideoCommentSwitch;
  }

  public void setFeedsVideoCommentSwitch(Boolean feedsVideoCommentSwitch) {
    this.feedsVideoCommentSwitch = feedsVideoCommentSwitch;
  }

  public DynamicCreativesGetListStruct unionMarketSwitch(Boolean unionMarketSwitch) {
    this.unionMarketSwitch = unionMarketSwitch;
    return this;
  }

  /**
   * Get unionMarketSwitch
   *
   * @return unionMarketSwitch
   */
  @ApiModelProperty(value = "")
  public Boolean isUnionMarketSwitch() {
    return unionMarketSwitch;
  }

  public void setUnionMarketSwitch(Boolean unionMarketSwitch) {
    this.unionMarketSwitch = unionMarketSwitch;
  }

  public DynamicCreativesGetListStruct videoEndPage(VideoEndPageSpec videoEndPage) {
    this.videoEndPage = videoEndPage;
    return this;
  }

  /**
   * Get videoEndPage
   *
   * @return videoEndPage
   */
  @ApiModelProperty(value = "")
  public VideoEndPageSpec getVideoEndPage() {
    return videoEndPage;
  }

  public void setVideoEndPage(VideoEndPageSpec videoEndPage) {
    this.videoEndPage = videoEndPage;
  }

  public DynamicCreativesGetListStruct barrageList(List barrageList) {
    this.barrageList = barrageList;
    return this;
  }

  public DynamicCreativesGetListStruct addBarrageListItem(BarrageListReadStruct barrageListItem) {
    if (this.barrageList == null) {
      this.barrageList = new ArrayList();
    }
    this.barrageList.add(barrageListItem);
    return this;
  }

  /**
   * Get barrageList
   *
   * @return barrageList
   */
  @ApiModelProperty(value = "")
  public List getBarrageList() {
    return barrageList;
  }

  public void setBarrageList(List barrageList) {
    this.barrageList = barrageList;
  }

  public DynamicCreativesGetListStruct dynamicCreativeGroupUsed(
      DynamicCreativeGroupUsed dynamicCreativeGroupUsed) {
    this.dynamicCreativeGroupUsed = dynamicCreativeGroupUsed;
    return this;
  }

  /**
   * Get dynamicCreativeGroupUsed
   *
   * @return dynamicCreativeGroupUsed
   */
  @ApiModelProperty(value = "")
  public DynamicCreativeGroupUsed getDynamicCreativeGroupUsed() {
    return dynamicCreativeGroupUsed;
  }

  public void setDynamicCreativeGroupUsed(DynamicCreativeGroupUsed dynamicCreativeGroupUsed) {
    this.dynamicCreativeGroupUsed = dynamicCreativeGroupUsed;
  }

  public DynamicCreativesGetListStruct appGiftPackCode(AppGiftPackCode appGiftPackCode) {
    this.appGiftPackCode = appGiftPackCode;
    return this;
  }

  /**
   * Get appGiftPackCode
   *
   * @return appGiftPackCode
   */
  @ApiModelProperty(value = "")
  public AppGiftPackCode getAppGiftPackCode() {
    return appGiftPackCode;
  }

  public void setAppGiftPackCode(AppGiftPackCode appGiftPackCode) {
    this.appGiftPackCode = appGiftPackCode;
  }

  public DynamicCreativesGetListStruct enableBreakthroughSiteset(
      Boolean enableBreakthroughSiteset) {
    this.enableBreakthroughSiteset = enableBreakthroughSiteset;
    return this;
  }

  /**
   * Get enableBreakthroughSiteset
   *
   * @return enableBreakthroughSiteset
   */
  @ApiModelProperty(value = "")
  public Boolean isEnableBreakthroughSiteset() {
    return enableBreakthroughSiteset;
  }

  public void setEnableBreakthroughSiteset(Boolean enableBreakthroughSiteset) {
    this.enableBreakthroughSiteset = enableBreakthroughSiteset;
  }

  public DynamicCreativesGetListStruct creativeTemplateVersionType(
      CreativeTemplateVersionType creativeTemplateVersionType) {
    this.creativeTemplateVersionType = creativeTemplateVersionType;
    return this;
  }

  /**
   * Get creativeTemplateVersionType
   *
   * @return creativeTemplateVersionType
   */
  @ApiModelProperty(value = "")
  public CreativeTemplateVersionType getCreativeTemplateVersionType() {
    return creativeTemplateVersionType;
  }

  public void setCreativeTemplateVersionType(
      CreativeTemplateVersionType creativeTemplateVersionType) {
    this.creativeTemplateVersionType = creativeTemplateVersionType;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DynamicCreativesGetListStruct dynamicCreativesGetListStruct = (DynamicCreativesGetListStruct) o;
    return Objects.equals(this.dynamicCreativeId, dynamicCreativesGetListStruct.dynamicCreativeId)
        && Objects.equals(this.outerAdcreativeId, dynamicCreativesGetListStruct.outerAdcreativeId)
        && Objects.equals(
            this.dynamicCreativeName, dynamicCreativesGetListStruct.dynamicCreativeName)
        && Objects.equals(
            this.dynamicCreativeTemplateId, dynamicCreativesGetListStruct.dynamicCreativeTemplateId)
        && Objects.equals(
            this.dynamicCreativeElements, dynamicCreativesGetListStruct.dynamicCreativeElements)
        && Objects.equals(this.pageType, dynamicCreativesGetListStruct.pageType)
        && Objects.equals(this.pageSpec, dynamicCreativesGetListStruct.pageSpec)
        && Objects.equals(this.deepLinkUrl, dynamicCreativesGetListStruct.deepLinkUrl)
        && Objects.equals(
            this.automaticSiteEnabled, dynamicCreativesGetListStruct.automaticSiteEnabled)
        && Objects.equals(this.siteSet, dynamicCreativesGetListStruct.siteSet)
        && Objects.equals(this.promotedObjectType, dynamicCreativesGetListStruct.promotedObjectType)
        && Objects.equals(this.promotedObjectId, dynamicCreativesGetListStruct.promotedObjectId)
        && Objects.equals(this.profileId, dynamicCreativesGetListStruct.profileId)
        && Objects.equals(this.createdTime, dynamicCreativesGetListStruct.createdTime)
        && Objects.equals(this.lastModifiedTime, dynamicCreativesGetListStruct.lastModifiedTime)
        && Objects.equals(
            this.dynamicAdcreativeSpec, dynamicCreativesGetListStruct.dynamicAdcreativeSpec)
        && Objects.equals(this.isDeleted, dynamicCreativesGetListStruct.isDeleted)
        && Objects.equals(this.campaignType, dynamicCreativesGetListStruct.campaignType)
        && Objects.equals(
            this.impressionTrackingUrl, dynamicCreativesGetListStruct.impressionTrackingUrl)
        && Objects.equals(this.clickTrackingUrl, dynamicCreativesGetListStruct.clickTrackingUrl)
        && Objects.equals(
            this.feedsVideoCommentSwitch, dynamicCreativesGetListStruct.feedsVideoCommentSwitch)
        && Objects.equals(this.unionMarketSwitch, dynamicCreativesGetListStruct.unionMarketSwitch)
        && Objects.equals(this.videoEndPage, dynamicCreativesGetListStruct.videoEndPage)
        && Objects.equals(this.barrageList, dynamicCreativesGetListStruct.barrageList)
        && Objects.equals(
            this.dynamicCreativeGroupUsed, dynamicCreativesGetListStruct.dynamicCreativeGroupUsed)
        && Objects.equals(this.appGiftPackCode, dynamicCreativesGetListStruct.appGiftPackCode)
        && Objects.equals(
            this.enableBreakthroughSiteset, dynamicCreativesGetListStruct.enableBreakthroughSiteset)
        && Objects.equals(
            this.creativeTemplateVersionType,
            dynamicCreativesGetListStruct.creativeTemplateVersionType);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        dynamicCreativeId,
        outerAdcreativeId,
        dynamicCreativeName,
        dynamicCreativeTemplateId,
        dynamicCreativeElements,
        pageType,
        pageSpec,
        deepLinkUrl,
        automaticSiteEnabled,
        siteSet,
        promotedObjectType,
        promotedObjectId,
        profileId,
        createdTime,
        lastModifiedTime,
        dynamicAdcreativeSpec,
        isDeleted,
        campaignType,
        impressionTrackingUrl,
        clickTrackingUrl,
        feedsVideoCommentSwitch,
        unionMarketSwitch,
        videoEndPage,
        barrageList,
        dynamicCreativeGroupUsed,
        appGiftPackCode,
        enableBreakthroughSiteset,
        creativeTemplateVersionType);
  }

  @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