@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class LibraryInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LibraryInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TREE_ID |
static String |
SERIALIZED_NAME_UPDATE_TIME |
| 构造器和说明 |
|---|
LibraryInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static LibraryInfo |
fromJson(String jsonString)
Create an instance of LibraryInfo 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 |
getId()
知识库ID
|
String |
getName()
知识库名称
|
Integer |
getTreeId()
类目ID
|
String |
getUpdateTime()
修改时间
|
int |
hashCode() |
LibraryInfo |
id(Integer id) |
LibraryInfo |
name(String name) |
LibraryInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setId(Integer id) |
void |
setName(String name) |
void |
setTreeId(Integer treeId) |
void |
setUpdateTime(String updateTime) |
String |
toJson()
Convert an instance of LibraryInfo to an JSON string
|
String |
toString() |
LibraryInfo |
treeId(Integer treeId) |
LibraryInfo |
updateTime(String updateTime) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public LibraryInfo id(Integer id)
public void setId(Integer id)
public LibraryInfo name(String name)
public void setName(String name)
public LibraryInfo treeId(Integer treeId)
public void setTreeId(Integer treeId)
public LibraryInfo updateTime(String updateTime)
public void setUpdateTime(String updateTime)
public LibraryInfo 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 LibraryInfopublic static LibraryInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to LibraryInfopublic String toJson()
Copyright © 2024. All rights reserved.