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

com.tencent.ads.model.DetailFunnelStruct 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 DetailFunnelStruct {
  @SerializedName("targeting_wideness_rate")
  private TargetingWidenessRateFunnelStruct targetingWidenessRate = null;

  @SerializedName("compete_win_rate")
  private CompeteWinRateFunnelStruct competeWinRate = null;

  @SerializedName("exposure_count")
  private ExposureCountFunnelStruct exposureCount = null;

  @SerializedName("ctr")
  private CtrFunnelStruct ctr = null;

  @SerializedName("cvr")
  private CvrFunnelStruct cvr = null;

  @SerializedName("cpa")
  private CpaFunnelStruct cpa = null;

  public DetailFunnelStruct targetingWidenessRate(
      TargetingWidenessRateFunnelStruct targetingWidenessRate) {
    this.targetingWidenessRate = targetingWidenessRate;
    return this;
  }

  /**
   * Get targetingWidenessRate
   *
   * @return targetingWidenessRate
   */
  @ApiModelProperty(value = "")
  public TargetingWidenessRateFunnelStruct getTargetingWidenessRate() {
    return targetingWidenessRate;
  }

  public void setTargetingWidenessRate(TargetingWidenessRateFunnelStruct targetingWidenessRate) {
    this.targetingWidenessRate = targetingWidenessRate;
  }

  public DetailFunnelStruct competeWinRate(CompeteWinRateFunnelStruct competeWinRate) {
    this.competeWinRate = competeWinRate;
    return this;
  }

  /**
   * Get competeWinRate
   *
   * @return competeWinRate
   */
  @ApiModelProperty(value = "")
  public CompeteWinRateFunnelStruct getCompeteWinRate() {
    return competeWinRate;
  }

  public void setCompeteWinRate(CompeteWinRateFunnelStruct competeWinRate) {
    this.competeWinRate = competeWinRate;
  }

  public DetailFunnelStruct exposureCount(ExposureCountFunnelStruct exposureCount) {
    this.exposureCount = exposureCount;
    return this;
  }

  /**
   * Get exposureCount
   *
   * @return exposureCount
   */
  @ApiModelProperty(value = "")
  public ExposureCountFunnelStruct getExposureCount() {
    return exposureCount;
  }

  public void setExposureCount(ExposureCountFunnelStruct exposureCount) {
    this.exposureCount = exposureCount;
  }

  public DetailFunnelStruct ctr(CtrFunnelStruct ctr) {
    this.ctr = ctr;
    return this;
  }

  /**
   * Get ctr
   *
   * @return ctr
   */
  @ApiModelProperty(value = "")
  public CtrFunnelStruct getCtr() {
    return ctr;
  }

  public void setCtr(CtrFunnelStruct ctr) {
    this.ctr = ctr;
  }

  public DetailFunnelStruct cvr(CvrFunnelStruct cvr) {
    this.cvr = cvr;
    return this;
  }

  /**
   * Get cvr
   *
   * @return cvr
   */
  @ApiModelProperty(value = "")
  public CvrFunnelStruct getCvr() {
    return cvr;
  }

  public void setCvr(CvrFunnelStruct cvr) {
    this.cvr = cvr;
  }

  public DetailFunnelStruct cpa(CpaFunnelStruct cpa) {
    this.cpa = cpa;
    return this;
  }

  /**
   * Get cpa
   *
   * @return cpa
   */
  @ApiModelProperty(value = "")
  public CpaFunnelStruct getCpa() {
    return cpa;
  }

  public void setCpa(CpaFunnelStruct cpa) {
    this.cpa = cpa;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DetailFunnelStruct detailFunnelStruct = (DetailFunnelStruct) o;
    return Objects.equals(this.targetingWidenessRate, detailFunnelStruct.targetingWidenessRate)
        && Objects.equals(this.competeWinRate, detailFunnelStruct.competeWinRate)
        && Objects.equals(this.exposureCount, detailFunnelStruct.exposureCount)
        && Objects.equals(this.ctr, detailFunnelStruct.ctr)
        && Objects.equals(this.cvr, detailFunnelStruct.cvr)
        && Objects.equals(this.cpa, detailFunnelStruct.cpa);
  }

  @Override
  public int hashCode() {
    return Objects.hash(targetingWidenessRate, competeWinRate, exposureCount, ctr, cvr, cpa);
  }

  @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