org.jclouds.cloudstack.domain
Class LoginResponse
java.lang.Object
org.jclouds.cloudstack.domain.LoginResponse
- All Implemented Interfaces:
- Comparable<LoginResponse>
public class LoginResponse
- extends Object
- implements Comparable<LoginResponse>
Representation of the login API call response
- Author:
- Andrei Savu
Constructor Summary |
LoginResponse(String username,
long userId,
String password,
long domainId,
long timeout,
boolean registered,
String accountName,
String firstName,
String lastName,
Account.Type accountType,
String timezone,
String timezoneOffset,
String sessionKey,
String jSessionId)
|
LoginResponse
public LoginResponse(String username,
long userId,
String password,
long domainId,
long timeout,
boolean registered,
String accountName,
String firstName,
String lastName,
Account.Type accountType,
String timezone,
String timezoneOffset,
String sessionKey,
String jSessionId)
builder
public static LoginResponse.Builder builder()
getUsername
public String getUsername()
getUserId
public long getUserId()
getPassword
public String getPassword()
getDomainId
public long getDomainId()
getTimeout
public long getTimeout()
isRegistered
public boolean isRegistered()
getAccountName
public String getAccountName()
getFirstName
public String getFirstName()
getLastName
public String getLastName()
getAccountType
public Account.Type getAccountType()
getTimezone
public String getTimezone()
getTimezoneOffset
public String getTimezoneOffset()
getSessionKey
public String getSessionKey()
getJSessionId
public String getJSessionId()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(LoginResponse arg0)
- Specified by:
compareTo
in interface Comparable<LoginResponse>
Copyright © 2009-2012 jclouds. All Rights Reserved.