
com.tencent.ads.model.LabelsLabel 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;
/** label返回结构 */
@ApiModel(description = "label返回结构")
public class LabelsLabel {
@SerializedName("label_id")
private Long labelId = null;
@SerializedName("audience_id")
private Long audienceId = null;
@SerializedName("display_label_name")
private String displayLabelName = null;
@SerializedName("description")
private String description = null;
@SerializedName("user_count")
private Long userCount = null;
public LabelsLabel labelId(Long labelId) {
this.labelId = labelId;
return this;
}
/**
* Get labelId
*
* @return labelId
*/
@ApiModelProperty(value = "")
public Long getLabelId() {
return labelId;
}
public void setLabelId(Long labelId) {
this.labelId = labelId;
}
public LabelsLabel 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 LabelsLabel displayLabelName(String displayLabelName) {
this.displayLabelName = displayLabelName;
return this;
}
/**
* Get displayLabelName
*
* @return displayLabelName
*/
@ApiModelProperty(value = "")
public String getDisplayLabelName() {
return displayLabelName;
}
public void setDisplayLabelName(String displayLabelName) {
this.displayLabelName = displayLabelName;
}
public LabelsLabel description(String description) {
this.description = description;
return this;
}
/**
* Get description
*
* @return description
*/
@ApiModelProperty(value = "")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public LabelsLabel 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;
}
LabelsLabel labelsLabel = (LabelsLabel) o;
return Objects.equals(this.labelId, labelsLabel.labelId)
&& Objects.equals(this.audienceId, labelsLabel.audienceId)
&& Objects.equals(this.displayLabelName, labelsLabel.displayLabelName)
&& Objects.equals(this.description, labelsLabel.description)
&& Objects.equals(this.userCount, labelsLabel.userCount);
}
@Override
public int hashCode() {
return Objects.hash(labelId, audienceId, displayLabelName, description, 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