org.jclouds.cloudstack.domain
Class User
java.lang.Object
org.jclouds.cloudstack.domain.User
- All Implemented Interfaces:
- Comparable<User>
public class User
- extends Object
- implements Comparable<User>
- Author:
- Adrian Cole
Constructor Summary |
User(long id,
String name,
String firstname,
String lastname,
String email,
Date created,
User.State state,
String account,
Account.Type accountType,
String domain,
long domainId,
String timeZone,
String apiKey,
String secretKey)
|
User
public User(long id,
String name,
String firstname,
String lastname,
String email,
Date created,
User.State state,
String account,
Account.Type accountType,
String domain,
long domainId,
String timeZone,
String apiKey,
String secretKey)
builder
public static User.Builder builder()
getId
public long getId()
- Returns:
- the user ID
getName
public String getName()
- Returns:
- the user name
getFirstName
public String getFirstName()
- Returns:
- the user firstname
getLastName
public String getLastName()
- Returns:
- the user lastname
getEmail
public String getEmail()
- Returns:
- the user email address
getCreated
public Date getCreated()
- Returns:
- the date and time the user account was created
getState
public User.State getState()
- Returns:
- the user state
getAccount
public String getAccount()
- Returns:
- the account name of the user
getAccountType
public Account.Type getAccountType()
- Returns:
- the account type of the user
getDomain
public String getDomain()
- Returns:
- the domain name of the user
getDomainId
public long getDomainId()
- Returns:
- the domain ID of the user
getTimeZone
public String getTimeZone()
- Returns:
- the timezone user was created in
getApiKey
public String getApiKey()
- Returns:
- the api key of the user
getSecretKey
public String getSecretKey()
- Returns:
- the secret key of the user
compareTo
public int compareTo(User arg0)
- Specified by:
compareTo
in interface Comparable<User>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.