@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class QueryGroup extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
QueryGroup.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_COUNT |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_LABEL_RULE |
static String |
SERIALIZED_NAME_NAME |
| 构造器和说明 |
|---|
QueryGroup() |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryGroup |
addLabelRuleItem(QueryComplexLabelRule labelRuleItem) |
QueryGroup |
count(Integer count) |
boolean |
equals(Object o) |
static QueryGroup |
fromJson(String jsonString)
Create an instance of QueryGroup 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.
|
Integer |
getCount()
人群中包含人数
|
String |
getId()
分组id
|
List<QueryComplexLabelRule> |
getLabelRule()
分组中的圈人规则
|
String |
getName()
用户分组名称
|
int |
hashCode() |
QueryGroup |
id(String id) |
QueryGroup |
labelRule(List<QueryComplexLabelRule> labelRule) |
QueryGroup |
name(String name) |
QueryGroup |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCount(Integer count) |
void |
setId(String id) |
void |
setLabelRule(List<QueryComplexLabelRule> labelRule) |
void |
setName(String name) |
String |
toJson()
Convert an instance of QueryGroup 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 QueryGroup count(Integer count)
public void setCount(Integer count)
public QueryGroup id(String id)
public void setId(String id)
public QueryGroup labelRule(List<QueryComplexLabelRule> labelRule)
public QueryGroup addLabelRuleItem(QueryComplexLabelRule labelRuleItem)
@Nullable public List<QueryComplexLabelRule> getLabelRule()
public void setLabelRule(List<QueryComplexLabelRule> labelRule)
public QueryGroup name(String name)
public void setName(String name)
public QueryGroup 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 QueryGrouppublic static QueryGroup fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to QueryGrouppublic String toJson()
Copyright © 2024. All rights reserved.