@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class Role extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Role.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CCS_INSTANCE_ID |
static String |
SERIALIZED_NAME_CREATE_TIME |
static String |
SERIALIZED_NAME_CREATOR_ID |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_FUNCTION_IDS |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_UPDATE_TIME |
static String |
SERIALIZED_NAME_UPDATER_ID |
| 构造器和说明 |
|---|
Role() |
| 限定符和类型 | 方法和说明 |
|---|---|
Role |
addFunctionIdsItem(String functionIdsItem) |
Role |
ccsInstanceId(String ccsInstanceId) |
Role |
createTime(String createTime) |
Role |
creatorId(String creatorId) |
Role |
description(String description) |
boolean |
equals(Object o) |
static Role |
fromJson(String jsonString)
Create an instance of Role given an JSON string
|
Role |
functionIds(List<String> functionIds) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getCcsInstanceId()
部门id(即租户实例ID、数据权限ID)
|
String |
getCreateTime()
创建时间
|
String |
getCreatorId()
创建人id
|
String |
getDescription()
角色描述描述
|
List<String> |
getFunctionIds()
角色关联额功能点id
|
String |
getId()
角色id
|
String |
getName()
角色名
|
String |
getUpdaterId()
最后修改人id
|
String |
getUpdateTime()
最后修改时间
|
int |
hashCode() |
Role |
id(String id) |
Role |
name(String name) |
Role |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCcsInstanceId(String ccsInstanceId) |
void |
setCreateTime(String createTime) |
void |
setCreatorId(String creatorId) |
void |
setDescription(String description) |
void |
setFunctionIds(List<String> functionIds) |
void |
setId(String id) |
void |
setName(String name) |
void |
setUpdaterId(String updaterId) |
void |
setUpdateTime(String updateTime) |
String |
toJson()
Convert an instance of Role to an JSON string
|
String |
toString() |
Role |
updaterId(String updaterId) |
Role |
updateTime(String updateTime) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_CCS_INSTANCE_ID
public void setCcsInstanceId(String ccsInstanceId)
public void setCreateTime(String createTime)
public void setCreatorId(String creatorId)
public void setDescription(String description)
public void setId(String id)
public void setName(String name)
public void setUpdateTime(String updateTime)
public void setUpdaterId(String updaterId)
public Role 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 Rolepublic static Role fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Rolepublic String toJson()
Copyright © 2024. All rights reserved.