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

com.tencent.ads.model.DetailCreativeDetailStruct 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 DetailCreativeDetailStruct {
  @SerializedName("is_video")
  private Boolean isVideo = null;

  @SerializedName("is_wechat_moment")
  private Boolean isWechatMoment = null;

  @SerializedName("play_duration")
  private String playDuration = null;

  @SerializedName("play_progress")
  private String playProgress = null;

  @SerializedName("ctr_level")
  private CtrLevelStruct ctrLevel = null;

  @SerializedName("effective_play_rate")
  private EffectivePlayRateStruct effectivePlayRate = null;

  @SerializedName("no_interest_click_rate")
  private NoInterestClickRateStruct noInterestClickRate = null;

  public DetailCreativeDetailStruct isVideo(Boolean isVideo) {
    this.isVideo = isVideo;
    return this;
  }

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

  public void setIsVideo(Boolean isVideo) {
    this.isVideo = isVideo;
  }

  public DetailCreativeDetailStruct isWechatMoment(Boolean isWechatMoment) {
    this.isWechatMoment = isWechatMoment;
    return this;
  }

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

  public void setIsWechatMoment(Boolean isWechatMoment) {
    this.isWechatMoment = isWechatMoment;
  }

  public DetailCreativeDetailStruct playDuration(String playDuration) {
    this.playDuration = playDuration;
    return this;
  }

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

  public void setPlayDuration(String playDuration) {
    this.playDuration = playDuration;
  }

  public DetailCreativeDetailStruct playProgress(String playProgress) {
    this.playProgress = playProgress;
    return this;
  }

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

  public void setPlayProgress(String playProgress) {
    this.playProgress = playProgress;
  }

  public DetailCreativeDetailStruct ctrLevel(CtrLevelStruct ctrLevel) {
    this.ctrLevel = ctrLevel;
    return this;
  }

  /**
   * Get ctrLevel
   *
   * @return ctrLevel
   */
  @ApiModelProperty(value = "")
  public CtrLevelStruct getCtrLevel() {
    return ctrLevel;
  }

  public void setCtrLevel(CtrLevelStruct ctrLevel) {
    this.ctrLevel = ctrLevel;
  }

  public DetailCreativeDetailStruct effectivePlayRate(EffectivePlayRateStruct effectivePlayRate) {
    this.effectivePlayRate = effectivePlayRate;
    return this;
  }

  /**
   * Get effectivePlayRate
   *
   * @return effectivePlayRate
   */
  @ApiModelProperty(value = "")
  public EffectivePlayRateStruct getEffectivePlayRate() {
    return effectivePlayRate;
  }

  public void setEffectivePlayRate(EffectivePlayRateStruct effectivePlayRate) {
    this.effectivePlayRate = effectivePlayRate;
  }

  public DetailCreativeDetailStruct noInterestClickRate(
      NoInterestClickRateStruct noInterestClickRate) {
    this.noInterestClickRate = noInterestClickRate;
    return this;
  }

  /**
   * Get noInterestClickRate
   *
   * @return noInterestClickRate
   */
  @ApiModelProperty(value = "")
  public NoInterestClickRateStruct getNoInterestClickRate() {
    return noInterestClickRate;
  }

  public void setNoInterestClickRate(NoInterestClickRateStruct noInterestClickRate) {
    this.noInterestClickRate = noInterestClickRate;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DetailCreativeDetailStruct detailCreativeDetailStruct = (DetailCreativeDetailStruct) o;
    return Objects.equals(this.isVideo, detailCreativeDetailStruct.isVideo)
        && Objects.equals(this.isWechatMoment, detailCreativeDetailStruct.isWechatMoment)
        && Objects.equals(this.playDuration, detailCreativeDetailStruct.playDuration)
        && Objects.equals(this.playProgress, detailCreativeDetailStruct.playProgress)
        && Objects.equals(this.ctrLevel, detailCreativeDetailStruct.ctrLevel)
        && Objects.equals(this.effectivePlayRate, detailCreativeDetailStruct.effectivePlayRate)
        && Objects.equals(this.noInterestClickRate, detailCreativeDetailStruct.noInterestClickRate);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        isVideo,
        isWechatMoment,
        playDuration,
        playProgress,
        ctrLevel,
        effectivePlayRate,
        noInterestClickRate);
  }

  @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