Class UserResponse
java.lang.Object
nl.b3p.tailormap.api.viewer.model.UserResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.4.0")
public class UserResponse
extends Object
implements Serializable
Information about authentication status and user information
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRolesItem(String rolesItem) booleantrue if the user is authenticatedgetRoles()Get rolesusername of the authenticated userinthashCode()isAuthenticated(Boolean isAuthenticated) voidsetIsAuthenticated(Boolean isAuthenticated) voidvoidsetUsername(String username) toString()
-
Constructor Details
-
UserResponse
public UserResponse()
-
-
Method Details
-
isAuthenticated
-
getIsAuthenticated
true if the user is authenticated- Returns:
- isAuthenticated
-
setIsAuthenticated
-
username
-
getUsername
username of the authenticated user- Returns:
- username
-
setUsername
-
roles
-
addRolesItem
-
getRoles
Get roles- Returns:
- roles
-
setRoles
-
equals
-
hashCode
public int hashCode() -
toString
-