Class UserResponse

  • All Implemented Interfaces:
    Serializable

    @Generated("org.openapitools.codegen.languages.SpringCodegen")
    public class UserResponse
    extends Object
    implements Serializable
    Information about authentication status and user information
    See Also:
    Serialized Form
    • Constructor Detail

      • UserResponse

        public UserResponse()
    • Method Detail

      • getIsAuthenticated

        public Boolean getIsAuthenticated()
        true if the user is authenticated
        Returns:
        isAuthenticated
      • setIsAuthenticated

        public void setIsAuthenticated​(Boolean isAuthenticated)
      • getUsername

        public String getUsername()
        username of the authenticated user
        Returns:
        username
      • setUsername

        public void setUsername​(String username)
      • getRoles

        public Set<String> getRoles()
        Get roles
        Returns:
        roles
      • setRoles

        public void setRoles​(Set<String> roles)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object