Class UserResponse
- java.lang.Object
-
- nl.b3p.tailormap.api.viewer.model.UserResponse
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class UserResponse extends Object implements SerializableInformation about authentication status and user information- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserResponseaddRolesItem(String rolesItem)booleanequals(Object o)BooleangetIsAuthenticated()true if the user is authenticatedSet<String>getRoles()Get rolesStringgetUsername()username of the authenticated userinthashCode()UserResponseisAuthenticated(Boolean isAuthenticated)UserResponseroles(Set<String> roles)voidsetIsAuthenticated(Boolean isAuthenticated)voidsetRoles(Set<String> roles)voidsetUsername(String username)StringtoString()UserResponseusername(String username)
-
-
-
Method Detail
-
isAuthenticated
public UserResponse isAuthenticated(Boolean isAuthenticated)
-
getIsAuthenticated
public Boolean getIsAuthenticated()
true if the user is authenticated- Returns:
- isAuthenticated
-
setIsAuthenticated
public void setIsAuthenticated(Boolean isAuthenticated)
-
username
public UserResponse username(String username)
-
getUsername
public String getUsername()
username of the authenticated user- Returns:
- username
-
setUsername
public void setUsername(String username)
-
roles
public UserResponse roles(Set<String> roles)
-
addRolesItem
public UserResponse addRolesItem(String rolesItem)
-
-