Interface User
-
- All Superinterfaces:
Buildable<UserBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
KeystoneUser
public interface User extends ModelEntity, Buildable<UserBuilder>
identity v3 user model class- See Also:
- API reference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDefaultProjectId()StringgetDescription()DomaingetDomain()StringgetDomainId()StringgetEmail()StringgetId()Globally unique within the owning domain.Map<String,String>getLinks()StringgetName()StringgetPassword()booleanisEnabled()voidsetEnabled(Boolean enabled)sets the enabled status of the user
-
-
-
Method Detail
-
getId
String getId()
Globally unique within the owning domain.- Returns:
- the Id of the user
-
getName
String getName()
- Returns:
- the name of the user
-
getEmail
String getEmail()
- Returns:
- the email of the user
-
getDescription
String getDescription()
- Returns:
- the description of the user
-
getPassword
String getPassword()
- Returns:
- the password of the user
-
getDefaultProjectId
String getDefaultProjectId()
- Returns:
- the defaultProjectId of the user
-
getDomainId
String getDomainId()
- Returns:
- the domainId of the user
-
getDomain
Domain getDomain()
- Returns:
- the domain of the user
-
isEnabled
boolean isEnabled()
- Returns:
- the enabled status of the user
-
setEnabled
void setEnabled(Boolean enabled)
sets the enabled status of the user- Parameters:
enabled- the enabled
-
-