
com.tencent.ads.model.AudienceReport 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;
/** custom_audience_report人群报表结构 */
@ApiModel(description = "custom_audience_report人群报表结构")
public class AudienceReport {
@SerializedName("audience_id")
private Long audienceId = null;
@SerializedName("account_id")
private Long accountId = null;
@SerializedName("adgroup_id")
private Long adgroupId = null;
@SerializedName("campaign_id")
private Long campaignId = null;
@SerializedName("wechat_adgroup_id")
private Long wechatAdgroupId = null;
@SerializedName("wechat_campaign_id")
private Long wechatCampaignId = null;
@SerializedName("model_id")
private Long modelId = null;
@SerializedName("audience_predict_task_id")
private Long audiencePredictTaskId = null;
@SerializedName("action_type")
private AdActionType actionType = null;
@SerializedName("cost")
private Long cost = null;
@SerializedName("action_count")
private Long actionCount = null;
@SerializedName("user_count")
private Long userCount = null;
public AudienceReport audienceId(Long audienceId) {
this.audienceId = audienceId;
return this;
}
/**
* Get audienceId
*
* @return audienceId
*/
@ApiModelProperty(value = "")
public Long getAudienceId() {
return audienceId;
}
public void setAudienceId(Long audienceId) {
this.audienceId = audienceId;
}
public AudienceReport accountId(Long accountId) {
this.accountId = accountId;
return this;
}
/**
* Get accountId
*
* @return accountId
*/
@ApiModelProperty(value = "")
public Long getAccountId() {
return accountId;
}
public void setAccountId(Long accountId) {
this.accountId = accountId;
}
public AudienceReport adgroupId(Long adgroupId) {
this.adgroupId = adgroupId;
return this;
}
/**
* Get adgroupId
*
* @return adgroupId
*/
@ApiModelProperty(value = "")
public Long getAdgroupId() {
return adgroupId;
}
public void setAdgroupId(Long adgroupId) {
this.adgroupId = adgroupId;
}
public AudienceReport campaignId(Long campaignId) {
this.campaignId = campaignId;
return this;
}
/**
* Get campaignId
*
* @return campaignId
*/
@ApiModelProperty(value = "")
public Long getCampaignId() {
return campaignId;
}
public void setCampaignId(Long campaignId) {
this.campaignId = campaignId;
}
public AudienceReport wechatAdgroupId(Long wechatAdgroupId) {
this.wechatAdgroupId = wechatAdgroupId;
return this;
}
/**
* Get wechatAdgroupId
*
* @return wechatAdgroupId
*/
@ApiModelProperty(value = "")
public Long getWechatAdgroupId() {
return wechatAdgroupId;
}
public void setWechatAdgroupId(Long wechatAdgroupId) {
this.wechatAdgroupId = wechatAdgroupId;
}
public AudienceReport wechatCampaignId(Long wechatCampaignId) {
this.wechatCampaignId = wechatCampaignId;
return this;
}
/**
* Get wechatCampaignId
*
* @return wechatCampaignId
*/
@ApiModelProperty(value = "")
public Long getWechatCampaignId() {
return wechatCampaignId;
}
public void setWechatCampaignId(Long wechatCampaignId) {
this.wechatCampaignId = wechatCampaignId;
}
public AudienceReport modelId(Long modelId) {
this.modelId = modelId;
return this;
}
/**
* Get modelId
*
* @return modelId
*/
@ApiModelProperty(value = "")
public Long getModelId() {
return modelId;
}
public void setModelId(Long modelId) {
this.modelId = modelId;
}
public AudienceReport audiencePredictTaskId(Long audiencePredictTaskId) {
this.audiencePredictTaskId = audiencePredictTaskId;
return this;
}
/**
* Get audiencePredictTaskId
*
* @return audiencePredictTaskId
*/
@ApiModelProperty(value = "")
public Long getAudiencePredictTaskId() {
return audiencePredictTaskId;
}
public void setAudiencePredictTaskId(Long audiencePredictTaskId) {
this.audiencePredictTaskId = audiencePredictTaskId;
}
public AudienceReport actionType(AdActionType actionType) {
this.actionType = actionType;
return this;
}
/**
* Get actionType
*
* @return actionType
*/
@ApiModelProperty(value = "")
public AdActionType getActionType() {
return actionType;
}
public void setActionType(AdActionType actionType) {
this.actionType = actionType;
}
public AudienceReport cost(Long cost) {
this.cost = cost;
return this;
}
/**
* Get cost
*
* @return cost
*/
@ApiModelProperty(value = "")
public Long getCost() {
return cost;
}
public void setCost(Long cost) {
this.cost = cost;
}
public AudienceReport actionCount(Long actionCount) {
this.actionCount = actionCount;
return this;
}
/**
* Get actionCount
*
* @return actionCount
*/
@ApiModelProperty(value = "")
public Long getActionCount() {
return actionCount;
}
public void setActionCount(Long actionCount) {
this.actionCount = actionCount;
}
public AudienceReport userCount(Long userCount) {
this.userCount = userCount;
return this;
}
/**
* Get userCount
*
* @return userCount
*/
@ApiModelProperty(value = "")
public Long getUserCount() {
return userCount;
}
public void setUserCount(Long userCount) {
this.userCount = userCount;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AudienceReport audienceReport = (AudienceReport) o;
return Objects.equals(this.audienceId, audienceReport.audienceId)
&& Objects.equals(this.accountId, audienceReport.accountId)
&& Objects.equals(this.adgroupId, audienceReport.adgroupId)
&& Objects.equals(this.campaignId, audienceReport.campaignId)
&& Objects.equals(this.wechatAdgroupId, audienceReport.wechatAdgroupId)
&& Objects.equals(this.wechatCampaignId, audienceReport.wechatCampaignId)
&& Objects.equals(this.modelId, audienceReport.modelId)
&& Objects.equals(this.audiencePredictTaskId, audienceReport.audiencePredictTaskId)
&& Objects.equals(this.actionType, audienceReport.actionType)
&& Objects.equals(this.cost, audienceReport.cost)
&& Objects.equals(this.actionCount, audienceReport.actionCount)
&& Objects.equals(this.userCount, audienceReport.userCount);
}
@Override
public int hashCode() {
return Objects.hash(
audienceId,
accountId,
adgroupId,
campaignId,
wechatAdgroupId,
wechatCampaignId,
modelId,
audiencePredictTaskId,
actionType,
cost,
actionCount,
userCount);
}
@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