Class LoginResponse

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

public class LoginResponse extends Object
Representation of the login API call response
  • 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

      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.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object