@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class QueryExtension extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
QueryExtension.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AREAS |
static String |
SERIALIZED_NAME_EXTENSION_KEY |
static String |
SERIALIZED_NAME_LABEL_RULES |
static String |
SERIALIZED_NAME_STATUS |
| 构造器和说明 |
|---|
QueryExtension() |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryExtension |
addAreasItem(ExtensionArea areasItem) |
QueryExtension |
addLabelRulesItem(QueryLabelRule labelRulesItem) |
QueryExtension |
areas(List<ExtensionArea> areas) |
boolean |
equals(Object o) |
QueryExtension |
extensionKey(String extensionKey) |
static QueryExtension |
fromJson(String jsonString)
Create an instance of QueryExtension 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.
|
List<ExtensionArea> |
getAreas()
扩展区列表
|
String |
getExtensionKey()
扩展区套id
|
List<QueryLabelRule> |
getLabelRules()
标签规则列表
|
String |
getStatus()
扩展区状态,\"ON\"代表上线,\"OFF\"代表下线,只有上线的扩展区才能被用户看到
|
int |
hashCode() |
QueryExtension |
labelRules(List<QueryLabelRule> labelRules) |
QueryExtension |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAreas(List<ExtensionArea> areas) |
void |
setExtensionKey(String extensionKey) |
void |
setLabelRules(List<QueryLabelRule> labelRules) |
void |
setStatus(String status) |
QueryExtension |
status(String status) |
String |
toJson()
Convert an instance of QueryExtension 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 QueryExtension areas(List<ExtensionArea> areas)
public QueryExtension addAreasItem(ExtensionArea areasItem)
@Nullable public List<ExtensionArea> getAreas()
public void setAreas(List<ExtensionArea> areas)
public QueryExtension extensionKey(String extensionKey)
public void setExtensionKey(String extensionKey)
public QueryExtension labelRules(List<QueryLabelRule> labelRules)
public QueryExtension addLabelRulesItem(QueryLabelRule labelRulesItem)
@Nullable public List<QueryLabelRule> getLabelRules()
public void setLabelRules(List<QueryLabelRule> labelRules)
public QueryExtension status(String status)
@Nullable public String getStatus()
public void setStatus(String status)
public QueryExtension 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 QueryExtensionpublic static QueryExtension fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to QueryExtensionpublic String toJson()
Copyright © 2024. All rights reserved.