@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class LifeLabel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LifeLabel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BIZ |
static String |
SERIALIZED_NAME_CATEGORY |
static String |
SERIALIZED_NAME_DATA_TYPE |
static String |
SERIALIZED_NAME_LABEL_CODE |
static String |
SERIALIZED_NAME_LABEL_ID |
static String |
SERIALIZED_NAME_LABEL_NAME |
static String |
SERIALIZED_NAME_OPERATOR |
static String |
SERIALIZED_NAME_OPTIONS |
static String |
SERIALIZED_NAME_TYPE |
| 构造器和说明 |
|---|
LifeLabel() |
| 限定符和类型 | 方法和说明 |
|---|---|
LifeLabel |
addOptionsItem(Option optionsItem) |
LifeLabel |
biz(String biz) |
LifeLabel |
category(String category) |
LifeLabel |
dataType(String dataType) |
boolean |
equals(Object o) |
static LifeLabel |
fromJson(String jsonString)
Create an instance of LifeLabel given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getBiz()
该标签支持的业务列表,menu表示个性化菜单,extension表示个性化扩展区,message表示消息触达
|
String |
getCategory()
标签类目
|
String |
getDataType()
标签值数据类型
|
String |
getLabelCode()
标签英文代码
|
String |
getLabelId()
标签id,唯一标识一个标签
|
String |
getLabelName()
标签名
|
String |
getOperator()
该标签支持的运算符
|
List<Option> |
getOptions()
每个取值的业务含义
|
String |
getType()
标签类型,目前分为common(通用标签)、custom(生活号自定义标签)、cloud(云实验室标签)
|
int |
hashCode() |
LifeLabel |
labelCode(String labelCode) |
LifeLabel |
labelId(String labelId) |
LifeLabel |
labelName(String labelName) |
LifeLabel |
operator(String operator) |
LifeLabel |
options(List<Option> options) |
LifeLabel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBiz(String biz) |
void |
setCategory(String category) |
void |
setDataType(String dataType) |
void |
setLabelCode(String labelCode) |
void |
setLabelId(String labelId) |
void |
setLabelName(String labelName) |
void |
setOperator(String operator) |
void |
setOptions(List<Option> options) |
void |
setType(String type) |
String |
toJson()
Convert an instance of LifeLabel to an JSON string
|
String |
toString() |
LifeLabel |
type(String type) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
@Nullable public String getBiz()
public void setBiz(String biz)
public void setCategory(String category)
public void setDataType(String dataType)
public void setLabelCode(String labelCode)
public void setLabelId(String labelId)
public void setLabelName(String labelName)
public void setOperator(String operator)
@Nullable public String getType()
public void setType(String type)
public LifeLabel putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to LifeLabelpublic static LifeLabel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to LifeLabelpublic String toJson()
Copyright © 2024. All rights reserved.