Modifier and Type | Field and Description |
---|---|
int |
code |
java.lang.String |
longMessage |
java.lang.String |
shortMessage |
static int |
STATUS_CODE_NOT_LOGGED_IN |
static int |
STATUS_CODE_OK |
Constructor and Description |
---|
UserStatus(int statusCode,
java.lang.String shortMessage,
java.lang.String longMessage) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isLoggedIn() |
java.lang.String |
toString() |
public static final int STATUS_CODE_OK
public static final int STATUS_CODE_NOT_LOGGED_IN
@SerializedName(value="code") public final int code
@SerializedName(value="short_text") public final java.lang.String shortMessage
@SerializedName(value="long_text") public final java.lang.String longMessage
public UserStatus(int statusCode, java.lang.String shortMessage, java.lang.String longMessage)
public boolean isLoggedIn()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object