Class UserResponse

java.lang.Object
org.tailormap.api.viewer.model.UserResponse
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.25.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(@Nullable Boolean isAuthenticated)
    • getIsAuthenticated

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

      public void setIsAuthenticated(Boolean isAuthenticated)
    • username

      public UserResponse username(@Nullable String username)
    • getUsername

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

      public void setUsername(String username)
    • organisation

      public UserResponse organisation(@Nullable String organisation)
    • getOrganisation

      public String getOrganisation()
      organisation of the authenticated user
      Returns:
      organisation
    • setOrganisation

      public void setOrganisation(String organisation)
    • roles

      public UserResponse roles(@Nullable 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)
    • roleLabels

      public UserResponse roleLabels(@Nullable Map<String,String> roleLabels)
    • putRoleLabelsItem

      public UserResponse putRoleLabelsItem(String key, String roleLabelsItem)
    • getRoleLabels

      public Map<String,String> getRoleLabels()
      Map of role identifiers to their display labels (if configured)
      Returns:
      roleLabels
    • setRoleLabels

      public void setRoleLabels(Map<String,String> roleLabels)
    • properties

      public UserResponse properties(@Nullable List<@Valid AdditionalProperty> properties)
    • addPropertiesItem

      public UserResponse addPropertiesItem(AdditionalProperty propertiesItem)
    • getProperties

      @Valid public @Valid List<@Valid AdditionalProperty> getProperties()
      Get properties
      Returns:
      properties
    • setProperties

      public void setProperties(List<@Valid AdditionalProperty> properties)
    • groupProperties

      public UserResponse groupProperties(@Nullable List<@Valid AdditionalProperty> groupProperties)
    • addGroupPropertiesItem

      public UserResponse addGroupPropertiesItem(AdditionalProperty groupPropertiesItem)
    • getGroupProperties

      @Valid public @Valid List<@Valid AdditionalProperty> getGroupProperties()
      Get groupProperties
      Returns:
      groupProperties
    • setGroupProperties

      public void setGroupProperties(List<@Valid AdditionalProperty> groupProperties)
    • 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