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
- Author:
- Andrei Savu
|
Constructor Summary |
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)
|
LoginResponse
@ConstructorProperties(value={"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)
builder
public static LoginResponse.Builder<?> builder()
toBuilder
public LoginResponse.Builder<?> toBuilder()
getUsername
@Nullable
public String getUsername()
getUserId
@Nullable
public String getUserId()
getPassword
@Nullable
public String getPassword()
getDomainId
@Nullable
public String getDomainId()
getTimeout
public long getTimeout()
isRegistered
public boolean isRegistered()
getAccountName
@Nullable
public String getAccountName()
getFirstName
@Nullable
public String getFirstName()
getLastName
@Nullable
public String getLastName()
getAccountType
@Nullable
public Account.Type getAccountType()
getTimezone
@Nullable
public String getTimezone()
getTimezoneOffset
@Nullable
public String getTimezoneOffset()
getSessionKey
@Nullable
public String getSessionKey()
getJSessionId
@Nullable
public String getJSessionId()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2013 jclouds. All Rights Reserved.