Class RoleResponse
java.lang.Object
com.iland.core.web.rest.response.iam.RoleResponse
- All Implemented Interfaces:
Serializable
Role Response.
- Author:
- Nick Kasprzak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRoleResponse(String uuid, String companyId, String name, String description, Collection<PolicyResponse> policies, RoleType type) -
Method Summary
-
Constructor Details
-
RoleResponse
public RoleResponse(String uuid, String companyId, String name, String description, Collection<PolicyResponse> policies, RoleType type)
-
-
Method Details
-
getUuid
Get the uuid.- Returns:
Stringuuid
-
getCompanyId
Get the company id.- Returns:
Stringcompany id
-
getName
Get the name.- Returns:
Stringname
-
getDescription
Get the description.- Returns:
Stringdescription
-
getPolicies
Get the policies.- Returns:
CollectionofPolicyResponsepolicy responses.
-
getType
Get the role type.- Returns:
RoleTyperole type
-
equals
-
hashCode
public int hashCode() -
toString
-