
com.tencent.ads.model.UserPropertySet 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;
/** UserPropertySet返回结构 */
@ApiModel(description = "UserPropertySet返回结构")
public class UserPropertySet {
@SerializedName("user_property_set_id")
private Long userPropertySetId = null;
@SerializedName("name")
private String name = null;
@SerializedName("description")
private String description = null;
@SerializedName("created_time")
private String createdTime = null;
public UserPropertySet userPropertySetId(Long userPropertySetId) {
this.userPropertySetId = userPropertySetId;
return this;
}
/**
* Get userPropertySetId
*
* @return userPropertySetId
*/
@ApiModelProperty(value = "")
public Long getUserPropertySetId() {
return userPropertySetId;
}
public void setUserPropertySetId(Long userPropertySetId) {
this.userPropertySetId = userPropertySetId;
}
public UserPropertySet name(String name) {
this.name = name;
return this;
}
/**
* Get name
*
* @return name
*/
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public UserPropertySet 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 UserPropertySet createdTime(String createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* Get createdTime
*
* @return createdTime
*/
@ApiModelProperty(value = "")
public String getCreatedTime() {
return createdTime;
}
public void setCreatedTime(String createdTime) {
this.createdTime = createdTime;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserPropertySet userPropertySet = (UserPropertySet) o;
return Objects.equals(this.userPropertySetId, userPropertySet.userPropertySetId)
&& Objects.equals(this.name, userPropertySet.name)
&& Objects.equals(this.description, userPropertySet.description)
&& Objects.equals(this.createdTime, userPropertySet.createdTime);
}
@Override
public int hashCode() {
return Objects.hash(userPropertySetId, name, description, createdTime);
}
@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