Package org.openapitools.client.model
Class AuthenticationResult
- java.lang.Object
-
- org.openapitools.client.model.AuthenticationResult
-
public class AuthenticationResult extends Object
AuthenticationResult
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_AUTHENTICATED_USERstatic StringSERIALIZED_NAME_GROUPSstatic StringSERIALIZED_NAME_IS_AUTHENTICATEDstatic StringSERIALIZED_NAME_TENANTS
-
Constructor Summary
Constructors Constructor Description AuthenticationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationResultaddGroupsItem(String groupsItem)AuthenticationResultaddTenantsItem(String tenantsItem)AuthenticationResultauthenticatedUser(String authenticatedUser)booleanequals(Object o)StringgetAuthenticatedUser()An id of authenticated user.List<String>getGroups()Will be null.BooleangetIsAuthenticated()A flag indicating if user is authenticated.List<String>getTenants()Will be null.AuthenticationResultgroups(List<String> groups)inthashCode()AuthenticationResultisAuthenticated(Boolean isAuthenticated)voidsetAuthenticatedUser(String authenticatedUser)voidsetGroups(List<String> groups)voidsetIsAuthenticated(Boolean isAuthenticated)voidsetTenants(List<String> tenants)AuthenticationResulttenants(List<String> tenants)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_AUTHENTICATED_USER
public static final String SERIALIZED_NAME_AUTHENTICATED_USER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_AUTHENTICATED
public static final String SERIALIZED_NAME_IS_AUTHENTICATED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANTS
public static final String SERIALIZED_NAME_TENANTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GROUPS
public static final String SERIALIZED_NAME_GROUPS
- See Also:
- Constant Field Values
-
-
Method Detail
-
authenticatedUser
public AuthenticationResult authenticatedUser(String authenticatedUser)
-
getAuthenticatedUser
public String getAuthenticatedUser()
An id of authenticated user.- Returns:
- authenticatedUser
-
setAuthenticatedUser
public void setAuthenticatedUser(String authenticatedUser)
-
isAuthenticated
public AuthenticationResult isAuthenticated(Boolean isAuthenticated)
-
getIsAuthenticated
public Boolean getIsAuthenticated()
A flag indicating if user is authenticated.- Returns:
- isAuthenticated
-
setIsAuthenticated
public void setIsAuthenticated(Boolean isAuthenticated)
-
tenants
public AuthenticationResult tenants(List<String> tenants)
-
addTenantsItem
public AuthenticationResult addTenantsItem(String tenantsItem)
-
groups
public AuthenticationResult groups(List<String> groups)
-
addGroupsItem
public AuthenticationResult addGroupsItem(String groupsItem)
-
-