@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class QueryLabelRule extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
QueryLabelRule.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_LABEL_ID |
static String |
SERIALIZED_NAME_LABEL_NAME |
static String |
SERIALIZED_NAME_LABEL_VALUE |
static String |
SERIALIZED_NAME_OPERATOR |
| 构造器和说明 |
|---|
QueryLabelRule() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static QueryLabelRule |
fromJson(String jsonString)
Create an instance of QueryLabelRule 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 |
getLabelId()
标签id
|
String |
getLabelName()
标签名
|
String |
getLabelValue()
标签值,多值会用英文逗号分隔
|
String |
getOperator()
运算符
|
int |
hashCode() |
QueryLabelRule |
labelId(String labelId) |
QueryLabelRule |
labelName(String labelName) |
QueryLabelRule |
labelValue(String labelValue) |
QueryLabelRule |
operator(String operator) |
QueryLabelRule |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setLabelId(String labelId) |
void |
setLabelName(String labelName) |
void |
setLabelValue(String labelValue) |
void |
setOperator(String operator) |
String |
toJson()
Convert an instance of QueryLabelRule to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public QueryLabelRule labelId(String labelId)
public void setLabelId(String labelId)
public QueryLabelRule labelName(String labelName)
public void setLabelName(String labelName)
public QueryLabelRule labelValue(String labelValue)
public void setLabelValue(String labelValue)
public QueryLabelRule operator(String operator)
public void setOperator(String operator)
public QueryLabelRule 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 QueryLabelRulepublic static QueryLabelRule fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to QueryLabelRulepublic String toJson()
Copyright © 2024. All rights reserved.