Class RoleResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.role.RoleResponse
- All Implemented Interfaces:
Serializable
Response containing a role
- See Also:
-
Constructor Summary
ConstructorDescriptionRoleResponse
(Message message, ResponseInfo responseInfo) Create instance with message and response infoRoleResponse
(Message message, ResponseInfo responseInfo, RoleModel role) Create instance with message, response info and role -
Method Summary
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
RoleResponse
Create instance with message and response info- Parameters:
message
- messageresponseInfo
- response info
-
RoleResponse
Create instance with message, response info and role- Parameters:
message
- messageresponseInfo
- response inforole
- role
-
-
Method Details
-
getRole
Role- Returns:
- role
-
setRole
Set the role- Parameters:
role
- role- Returns:
- fluent API
-