Class ChangeRoleRequest
Object
ChangeRoleRequest
- All Implemented Interfaces:
Serializable
The properties of the role to be changed.
Only properties that are specified in this request and have not null
values are updated.
All other properties are ignored.
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeRoleRequest.Builder
builder()
protected boolean
boolean
The new description for the role.getId()
Required. The ID of the role to be changed.getName()
The new name for the role.The new permissions to be set.int
hashCode()
void
setDescription
(String description) The new description for the role.void
Required. The ID of the role to be changed.void
The new name for the role.void
setPermissions
(List<Permission> permissions) The new permissions to be set.toString()
-
Constructor Details
-
ChangeRoleRequest
public ChangeRoleRequest()
-
-
Method Details
-
builder
-
getId
Required. The ID of the role to be changed. -
getName
The new name for the role. Should be unique within all roles. -
getDescription
The new description for the role. -
getPermissions
The new permissions to be set. If null, no changes are made, otherwise the current permissions are replaced with the given ones. -
setId
Required. The ID of the role to be changed. -
setName
The new name for the role. Should be unique within all roles. -
setDescription
The new description for the role. -
setPermissions
The new permissions to be set. If null, no changes are made, otherwise the current permissions are replaced with the given ones. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-