Package com.exoscale.sdk.model
Class User
java.lang.Object
com.exoscale.sdk.model.User
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class User
extends Object
User
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this user object is equal to o.getEmail()
User EmailgetId()
User IDTrue if the user has not yet created an Exoscale accountgetRole()
Get rolegetSso()
SSO enabledTwo Factor Authentication enabledint
hashCode()
void
void
void
setTwoFactorAuthentication
(Boolean twoFactorAuthentication) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.twoFactorAuthentication
(Boolean twoFactorAuthentication)
-
Field Details
-
JSON_PROPERTY_SSO
- See Also:
-
JSON_PROPERTY_TWO_FACTOR_AUTHENTICATION
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_ROLE
- See Also:
-
JSON_PROPERTY_PENDING
- See Also:
-
-
Constructor Details
-
User
public User() -
User
-
-
Method Details
-
sso
-
getSso
SSO enabled- Returns:
- sso
-
setSso
-
twoFactorAuthentication
-
getTwoFactorAuthentication
Two Factor Authentication enabled- Returns:
- twoFactorAuthentication
-
setTwoFactorAuthentication
-
getEmail
User Email- Returns:
-
getId
User ID- Returns:
- id
-
role
-
getRole
Get role- Returns:
- role
-
setRole
-
getPending
True if the user has not yet created an Exoscale account- Returns:
- pending
-
equals
Return true if this user object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-