
com.tencent.ads.model.PropertySet 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;
/** PropertySet返回结构 */
@ApiModel(description = "PropertySet返回结构")
public class PropertySet {
@SerializedName("property_set_id")
private Long propertySetId = null;
@SerializedName("account_id")
private Long accountId = null;
@SerializedName("name")
private String name = null;
@SerializedName("icon")
private String icon = null;
@SerializedName("cooperated")
private Boolean cooperated = null;
@SerializedName("configured")
private Boolean configured = null;
@SerializedName("activated")
private Boolean activated = null;
@SerializedName("created_time")
private String createdTime = null;
public PropertySet propertySetId(Long propertySetId) {
this.propertySetId = propertySetId;
return this;
}
/**
* Get propertySetId
*
* @return propertySetId
*/
@ApiModelProperty(value = "")
public Long getPropertySetId() {
return propertySetId;
}
public void setPropertySetId(Long propertySetId) {
this.propertySetId = propertySetId;
}
public PropertySet 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 PropertySet 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 PropertySet icon(String icon) {
this.icon = icon;
return this;
}
/**
* Get icon
*
* @return icon
*/
@ApiModelProperty(value = "")
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public PropertySet cooperated(Boolean cooperated) {
this.cooperated = cooperated;
return this;
}
/**
* Get cooperated
*
* @return cooperated
*/
@ApiModelProperty(value = "")
public Boolean isCooperated() {
return cooperated;
}
public void setCooperated(Boolean cooperated) {
this.cooperated = cooperated;
}
public PropertySet configured(Boolean configured) {
this.configured = configured;
return this;
}
/**
* Get configured
*
* @return configured
*/
@ApiModelProperty(value = "")
public Boolean isConfigured() {
return configured;
}
public void setConfigured(Boolean configured) {
this.configured = configured;
}
public PropertySet activated(Boolean activated) {
this.activated = activated;
return this;
}
/**
* Get activated
*
* @return activated
*/
@ApiModelProperty(value = "")
public Boolean isActivated() {
return activated;
}
public void setActivated(Boolean activated) {
this.activated = activated;
}
public PropertySet 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;
}
PropertySet propertySet = (PropertySet) o;
return Objects.equals(this.propertySetId, propertySet.propertySetId)
&& Objects.equals(this.accountId, propertySet.accountId)
&& Objects.equals(this.name, propertySet.name)
&& Objects.equals(this.icon, propertySet.icon)
&& Objects.equals(this.cooperated, propertySet.cooperated)
&& Objects.equals(this.configured, propertySet.configured)
&& Objects.equals(this.activated, propertySet.activated)
&& Objects.equals(this.createdTime, propertySet.createdTime);
}
@Override
public int hashCode() {
return Objects.hash(
propertySetId, accountId, name, icon, cooperated, configured, activated, 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