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 classLoginResponse.Builder<T extends LoginResponse.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protectedLoginResponse(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()booleanequals(Object obj)StringgetAccountName()Account.TypegetAccountType()StringgetDomainId()StringgetFirstName()StringgetJSessionId()StringgetLastName()StringgetPassword()StringgetSessionKey()longgetTimeout()StringgetTimezone()StringgetTimezoneOffset()StringgetUserId()StringgetUsername()inthashCode()booleanisRegistered()protected com.google.common.base.MoreObjects.ToStringHelperstring()LoginResponse.Builder<?>toBuilder()StringtoString()
-
-
-
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()
-
-