java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.role.RoleResponse
All Implemented Interfaces:
Serializable

public class RoleResponse extends GenericResponse
Response containing a role
See Also:
  • Constructor Details

    • RoleResponse

      public RoleResponse(Message message, ResponseInfo responseInfo)
      Create instance with message and response info
      Parameters:
      message - message
      responseInfo - response info
    • RoleResponse

      public RoleResponse(Message message, ResponseInfo responseInfo, RoleModel role)
      Create instance with message, response info and role
      Parameters:
      message - message
      responseInfo - response info
      role - role
  • Method Details

    • getRole

      public RoleModel getRole()
      Role
      Returns:
      role
    • setRole

      public RoleResponse setRole(RoleModel role)
      Set the role
      Parameters:
      role - role
      Returns:
      fluent API