
com.tencent.ads.model.CpaEffectDataItem 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 CpaEffectDataItem {
@SerializedName("rank")
private Long rank = null;
@SerializedName("conversion_count")
private Long conversionCount = null;
@SerializedName("cvr")
private Double cvr = null;
@SerializedName("target_cpa")
private Double targetCpa = null;
@SerializedName("real_cpa")
private Double realCpa = null;
@SerializedName("cpa_bias")
private Double cpaBias = null;
@SerializedName("industry_top_targetcpa")
private Long industryTopTargetcpa = null;
@SerializedName("industry_avg_targetcpa")
private Long industryAvgTargetcpa = null;
public CpaEffectDataItem rank(Long rank) {
this.rank = rank;
return this;
}
/**
* Get rank
*
* @return rank
*/
@ApiModelProperty(value = "")
public Long getRank() {
return rank;
}
public void setRank(Long rank) {
this.rank = rank;
}
public CpaEffectDataItem conversionCount(Long conversionCount) {
this.conversionCount = conversionCount;
return this;
}
/**
* Get conversionCount
*
* @return conversionCount
*/
@ApiModelProperty(value = "")
public Long getConversionCount() {
return conversionCount;
}
public void setConversionCount(Long conversionCount) {
this.conversionCount = conversionCount;
}
public CpaEffectDataItem cvr(Double cvr) {
this.cvr = cvr;
return this;
}
/**
* Get cvr
*
* @return cvr
*/
@ApiModelProperty(value = "")
public Double getCvr() {
return cvr;
}
public void setCvr(Double cvr) {
this.cvr = cvr;
}
public CpaEffectDataItem targetCpa(Double targetCpa) {
this.targetCpa = targetCpa;
return this;
}
/**
* Get targetCpa
*
* @return targetCpa
*/
@ApiModelProperty(value = "")
public Double getTargetCpa() {
return targetCpa;
}
public void setTargetCpa(Double targetCpa) {
this.targetCpa = targetCpa;
}
public CpaEffectDataItem realCpa(Double realCpa) {
this.realCpa = realCpa;
return this;
}
/**
* Get realCpa
*
* @return realCpa
*/
@ApiModelProperty(value = "")
public Double getRealCpa() {
return realCpa;
}
public void setRealCpa(Double realCpa) {
this.realCpa = realCpa;
}
public CpaEffectDataItem cpaBias(Double cpaBias) {
this.cpaBias = cpaBias;
return this;
}
/**
* Get cpaBias
*
* @return cpaBias
*/
@ApiModelProperty(value = "")
public Double getCpaBias() {
return cpaBias;
}
public void setCpaBias(Double cpaBias) {
this.cpaBias = cpaBias;
}
public CpaEffectDataItem industryTopTargetcpa(Long industryTopTargetcpa) {
this.industryTopTargetcpa = industryTopTargetcpa;
return this;
}
/**
* Get industryTopTargetcpa
*
* @return industryTopTargetcpa
*/
@ApiModelProperty(value = "")
public Long getIndustryTopTargetcpa() {
return industryTopTargetcpa;
}
public void setIndustryTopTargetcpa(Long industryTopTargetcpa) {
this.industryTopTargetcpa = industryTopTargetcpa;
}
public CpaEffectDataItem industryAvgTargetcpa(Long industryAvgTargetcpa) {
this.industryAvgTargetcpa = industryAvgTargetcpa;
return this;
}
/**
* Get industryAvgTargetcpa
*
* @return industryAvgTargetcpa
*/
@ApiModelProperty(value = "")
public Long getIndustryAvgTargetcpa() {
return industryAvgTargetcpa;
}
public void setIndustryAvgTargetcpa(Long industryAvgTargetcpa) {
this.industryAvgTargetcpa = industryAvgTargetcpa;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CpaEffectDataItem cpaEffectDataItem = (CpaEffectDataItem) o;
return Objects.equals(this.rank, cpaEffectDataItem.rank)
&& Objects.equals(this.conversionCount, cpaEffectDataItem.conversionCount)
&& Objects.equals(this.cvr, cpaEffectDataItem.cvr)
&& Objects.equals(this.targetCpa, cpaEffectDataItem.targetCpa)
&& Objects.equals(this.realCpa, cpaEffectDataItem.realCpa)
&& Objects.equals(this.cpaBias, cpaEffectDataItem.cpaBias)
&& Objects.equals(this.industryTopTargetcpa, cpaEffectDataItem.industryTopTargetcpa)
&& Objects.equals(this.industryAvgTargetcpa, cpaEffectDataItem.industryAvgTargetcpa);
}
@Override
public int hashCode() {
return Objects.hash(
rank,
conversionCount,
cvr,
targetCpa,
realCpa,
cpaBias,
industryTopTargetcpa,
industryAvgTargetcpa);
}
@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