@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ComplexLabelRule extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ComplexLabelRule.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_LABEL_ID |
static String |
SERIALIZED_NAME_LABEL_VALUE |
static String |
SERIALIZED_NAME_OPERATOR |
| 构造器和说明 |
|---|
ComplexLabelRule() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static ComplexLabelRule |
fromJson(String jsonString)
Create an instance of ComplexLabelRule 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 |
getLabelValue()
标签取值,当有多个取值时用英文\",\"分隔(比如使用in操作符时);不允许传入下划线\"_\"、竖线\"|\"或者空格\" \"
|
String |
getOperator()
目前支持EQ(等于)、NEQ(不等于)、LT(小于),GT(大于)、LTEQ(小于等于)、GTEQ(大于等于)、LIKE(匹配)、BETWEEN(范围)、IN(包含)、NOTIN(不包含)操作
|
int |
hashCode() |
ComplexLabelRule |
labelId(String labelId) |
ComplexLabelRule |
labelValue(String labelValue) |
ComplexLabelRule |
operator(String operator) |
ComplexLabelRule |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setLabelId(String labelId) |
void |
setLabelValue(String labelValue) |
void |
setOperator(String operator) |
String |
toJson()
Convert an instance of ComplexLabelRule 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 ComplexLabelRule labelId(String labelId)
public void setLabelId(String labelId)
public ComplexLabelRule labelValue(String labelValue)
@Nullable public String getLabelValue()
public void setLabelValue(String labelValue)
public ComplexLabelRule operator(String operator)
@Nullable public String getOperator()
public void setOperator(String operator)
public ComplexLabelRule 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 ComplexLabelRulepublic static ComplexLabelRule fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ComplexLabelRulepublic String toJson()
Copyright © 2024. All rights reserved.