org.jclouds.cloudstack.domain
Class LoginResponse

java.lang.Object
  extended by org.jclouds.cloudstack.domain.LoginResponse

public class LoginResponse
extends Object

Representation of the login API call response

Author:
Andrei Savu

Nested Class Summary
static class LoginResponse.Builder<T extends LoginResponse.Builder<T>>
           
 
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)
           
 
Method Summary
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.Objects.ToStringHelper string()
           
 LoginResponse.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.