|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evernote.edam.userstore.AuthenticationResult
public class AuthenticationResult
When an authentication (or re-authentication) is performed, this structure provides the result to the client.
Nested Class Summary | |
---|---|
static class |
AuthenticationResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<AuthenticationResult._Fields,FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
AuthenticationResult()
|
|
AuthenticationResult(AuthenticationResult other)
Performs a deep copy on other. |
|
AuthenticationResult(long currentTime,
java.lang.String authenticationToken,
long expiration)
|
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(AuthenticationResult other)
|
AuthenticationResult |
deepCopy()
|
boolean |
equals(AuthenticationResult that)
|
boolean |
equals(java.lang.Object that)
|
AuthenticationResult._Fields |
fieldForId(int fieldId)
|
java.lang.String |
getAuthenticationToken()
|
long |
getCurrentTime()
|
long |
getExpiration()
|
java.lang.Object |
getFieldValue(AuthenticationResult._Fields field)
|
PublicUserInfo |
getPublicUserInfo()
|
User |
getUser()
|
int |
hashCode()
|
boolean |
isSet(AuthenticationResult._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetAuthenticationToken()
Returns true if field authenticationToken is set (has been asigned a value) and false otherwise |
boolean |
isSetCurrentTime()
Returns true if field currentTime is set (has been asigned a value) and false otherwise |
boolean |
isSetExpiration()
Returns true if field expiration is set (has been asigned a value) and false otherwise |
boolean |
isSetPublicUserInfo()
Returns true if field publicUserInfo is set (has been asigned a value) and false otherwise |
boolean |
isSetUser()
Returns true if field user is set (has been asigned a value) and false otherwise |
void |
read(TProtocol iprot)
|
void |
setAuthenticationToken(java.lang.String authenticationToken)
|
void |
setAuthenticationTokenIsSet(boolean value)
|
void |
setCurrentTime(long currentTime)
|
void |
setCurrentTimeIsSet(boolean value)
|
void |
setExpiration(long expiration)
|
void |
setExpirationIsSet(boolean value)
|
void |
setFieldValue(AuthenticationResult._Fields field,
java.lang.Object value)
|
void |
setPublicUserInfo(PublicUserInfo publicUserInfo)
|
void |
setPublicUserInfoIsSet(boolean value)
|
void |
setUser(User user)
|
void |
setUserIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetAuthenticationToken()
|
void |
unsetCurrentTime()
|
void |
unsetExpiration()
|
void |
unsetPublicUserInfo()
|
void |
unsetUser()
|
void |
validate()
|
void |
write(TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.util.Map<AuthenticationResult._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public AuthenticationResult()
public AuthenticationResult(long currentTime, java.lang.String authenticationToken, long expiration)
public AuthenticationResult(AuthenticationResult other)
Method Detail |
---|
public AuthenticationResult deepCopy()
public void clear()
public long getCurrentTime()
public void setCurrentTime(long currentTime)
public void unsetCurrentTime()
public boolean isSetCurrentTime()
public void setCurrentTimeIsSet(boolean value)
public java.lang.String getAuthenticationToken()
public void setAuthenticationToken(java.lang.String authenticationToken)
public void unsetAuthenticationToken()
public boolean isSetAuthenticationToken()
public void setAuthenticationTokenIsSet(boolean value)
public long getExpiration()
public void setExpiration(long expiration)
public void unsetExpiration()
public boolean isSetExpiration()
public void setExpirationIsSet(boolean value)
public User getUser()
public void setUser(User user)
public void unsetUser()
public boolean isSetUser()
public void setUserIsSet(boolean value)
public PublicUserInfo getPublicUserInfo()
public void setPublicUserInfo(PublicUserInfo publicUserInfo)
public void unsetPublicUserInfo()
public boolean isSetPublicUserInfo()
public void setPublicUserInfoIsSet(boolean value)
public void setFieldValue(AuthenticationResult._Fields field, java.lang.Object value)
public java.lang.Object getFieldValue(AuthenticationResult._Fields field)
public boolean isSet(AuthenticationResult._Fields field)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(AuthenticationResult that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(AuthenticationResult other)
public AuthenticationResult._Fields fieldForId(int fieldId)
public void read(TProtocol iprot) throws TException
TException
public void write(TProtocol oprot) throws TException
TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws TException
TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |