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 Details

    • UserResponse

      public UserResponse()
  • Method Details

    • 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)
    • getRoles

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

      public void setRoles(Set<String> roles)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object