Package org.jclouds.cloudstack.domain
Class LoginResponse
- java.lang.Object
-
- org.jclouds.cloudstack.domain.LoginResponse
-
public class LoginResponse extends Object
Representation of the login API call response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoginResponse.Builder<T extends LoginResponse.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
LoginResponse(String username, String userId, String password, String domainId, long timeout, boolean registered, String accountName, String firstName, String lastName, Account.Type accountType, String timezone, String timezoneOffset, String sessionKey, String jSessionId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoginResponse.Builder<?>
builder()
boolean
equals(Object obj)
String
getAccountName()
Account.Type
getAccountType()
String
getDomainId()
String
getFirstName()
String
getJSessionId()
String
getLastName()
String
getPassword()
String
getSessionKey()
long
getTimeout()
String
getTimezone()
String
getTimezoneOffset()
String
getUserId()
String
getUsername()
int
hashCode()
boolean
isRegistered()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
LoginResponse.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
LoginResponse
@ConstructorProperties({"username","userid","password","domainid","timeout","registered","account","firstname","lastname","type","timezone","timezoneoffset","sessionkey","jSessionId"}) protected LoginResponse(@Nullable String username, @Nullable String userId, @Nullable String password, @Nullable String domainId, long timeout, boolean registered, @Nullable String accountName, @Nullable String firstName, @Nullable String lastName, @Nullable Account.Type accountType, @Nullable String timezone, @Nullable String timezoneOffset, @Nullable String sessionKey, @Nullable String jSessionId)
-
-
Method Detail
-
builder
public static LoginResponse.Builder<?> builder()
-
toBuilder
public LoginResponse.Builder<?> toBuilder()
-
getTimeout
public long getTimeout()
-
isRegistered
public boolean isRegistered()
-
getAccountType
@Nullable public Account.Type getAccountType()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-