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 Modifier and Type Field Description static String
JSON_PROPERTY_EMAIL
static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_PENDING
static String
JSON_PROPERTY_ROLE
static String
JSON_PROPERTY_SSO
static String
JSON_PROPERTY_TWO_FACTOR_AUTHENTICATION
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this user object is equal to o.String
getEmail()
User EmailUUID
getId()
User IDBoolean
getPending()
True if the user has not yet created an Exoscale accountIamRole
getRole()
Get roleBoolean
getSso()
SSO enabledBoolean
getTwoFactorAuthentication()
Two Factor Authentication enabledint
hashCode()
User
role(IamRole role)
void
setRole(IamRole role)
void
setSso(Boolean sso)
void
setTwoFactorAuthentication(Boolean twoFactorAuthentication)
User
sso(Boolean sso)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.User
twoFactorAuthentication(Boolean twoFactorAuthentication)
-
-
-
Field Detail
-
JSON_PROPERTY_SSO
public static final String JSON_PROPERTY_SSO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TWO_FACTOR_AUTHENTICATION
public static final String JSON_PROPERTY_TWO_FACTOR_AUTHENTICATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EMAIL
public static final String JSON_PROPERTY_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROLE
public static final String JSON_PROPERTY_ROLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PENDING
public static final String JSON_PROPERTY_PENDING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSso
@Nullable public Boolean getSso()
SSO enabled- Returns:
- sso
-
setSso
public void setSso(Boolean sso)
-
getTwoFactorAuthentication
@Nullable public Boolean getTwoFactorAuthentication()
Two Factor Authentication enabled- Returns:
- twoFactorAuthentication
-
setTwoFactorAuthentication
public void setTwoFactorAuthentication(Boolean twoFactorAuthentication)
-
getEmail
@Nonnull public String getEmail()
User Email- Returns:
-
getId
@Nullable public UUID getId()
User ID- Returns:
- id
-
getRole
@Nonnull public IamRole getRole()
Get role- Returns:
- role
-
setRole
public void setRole(IamRole role)
-
getPending
@Nullable public Boolean getPending()
True if the user has not yet created an Exoscale account- Returns:
- pending
-
equals
public boolean equals(Object o)
Return true if this user object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-