
com.tencent.ads.model.PropertyDataFeatureSpec 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 PropertyDataFeatureSpec {
@SerializedName("user_property_set_id")
private Long userPropertySetId = null;
@SerializedName("property_data_key")
private String propertyDataKey = null;
@SerializedName("data_type")
private FeatureValueDataType dataType = null;
@SerializedName("is_multi_valued")
private Boolean isMultiValued = null;
@SerializedName("possible_values_size")
private Long possibleValuesSize = null;
public PropertyDataFeatureSpec 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 PropertyDataFeatureSpec propertyDataKey(String propertyDataKey) {
this.propertyDataKey = propertyDataKey;
return this;
}
/**
* Get propertyDataKey
*
* @return propertyDataKey
*/
@ApiModelProperty(value = "")
public String getPropertyDataKey() {
return propertyDataKey;
}
public void setPropertyDataKey(String propertyDataKey) {
this.propertyDataKey = propertyDataKey;
}
public PropertyDataFeatureSpec dataType(FeatureValueDataType dataType) {
this.dataType = dataType;
return this;
}
/**
* Get dataType
*
* @return dataType
*/
@ApiModelProperty(value = "")
public FeatureValueDataType getDataType() {
return dataType;
}
public void setDataType(FeatureValueDataType dataType) {
this.dataType = dataType;
}
public PropertyDataFeatureSpec isMultiValued(Boolean isMultiValued) {
this.isMultiValued = isMultiValued;
return this;
}
/**
* Get isMultiValued
*
* @return isMultiValued
*/
@ApiModelProperty(value = "")
public Boolean isIsMultiValued() {
return isMultiValued;
}
public void setIsMultiValued(Boolean isMultiValued) {
this.isMultiValued = isMultiValued;
}
public PropertyDataFeatureSpec possibleValuesSize(Long possibleValuesSize) {
this.possibleValuesSize = possibleValuesSize;
return this;
}
/**
* Get possibleValuesSize
*
* @return possibleValuesSize
*/
@ApiModelProperty(value = "")
public Long getPossibleValuesSize() {
return possibleValuesSize;
}
public void setPossibleValuesSize(Long possibleValuesSize) {
this.possibleValuesSize = possibleValuesSize;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PropertyDataFeatureSpec propertyDataFeatureSpec = (PropertyDataFeatureSpec) o;
return Objects.equals(this.userPropertySetId, propertyDataFeatureSpec.userPropertySetId)
&& Objects.equals(this.propertyDataKey, propertyDataFeatureSpec.propertyDataKey)
&& Objects.equals(this.dataType, propertyDataFeatureSpec.dataType)
&& Objects.equals(this.isMultiValued, propertyDataFeatureSpec.isMultiValued)
&& Objects.equals(this.possibleValuesSize, propertyDataFeatureSpec.possibleValuesSize);
}
@Override
public int hashCode() {
return Objects.hash(
userPropertySetId, propertyDataKey, dataType, isMultiValued, possibleValuesSize);
}
@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