Package org.jclouds.cloudstack.domain
Class LoginResponse
java.lang.Object
org.jclouds.cloudstack.domain.LoginResponse
Representation of the login API call response
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
LoginResponse.Builder<T extends LoginResponse.Builder<T>>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionstatic LoginResponse.Builder
<?> builder()
boolean
long
int
hashCode()
boolean
protected com.google.common.base.MoreObjects.ToStringHelper
string()
toString()
-
Constructor Details
-
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 Details
-
builder
-
toBuilder
-
getUsername
-
getUserId
-
getPassword
-
getDomainId
-
getTimeout
public long getTimeout() -
isRegistered
public boolean isRegistered() -
getAccountName
-
getFirstName
-
getLastName
-
getAccountType
-
getTimezone
-
getTimezoneOffset
-
getSessionKey
-
getJSessionId
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-