|
|||||||||
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,org.apache.thrift.meta_data.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 | |
---|---|
AuthenticationResult |
clone()
Deprecated. |
int |
compareTo(AuthenticationResult other)
|
AuthenticationResult |
deepCopy()
|
boolean |
equals(AuthenticationResult that)
|
boolean |
equals(java.lang.Object that)
|
java.lang.String |
getAuthenticationToken()
|
long |
getCurrentTime()
|
long |
getExpiration()
|
java.lang.Object |
getFieldValue(AuthenticationResult._Fields field)
|
java.lang.Object |
getFieldValue(int fieldId)
|
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 |
isSet(int fieldID)
|
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(org.apache.thrift.protocol.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 |
setFieldValue(int fieldID,
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(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.util.Map<AuthenticationResult._Fields,org.apache.thrift.meta_data.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()
deepCopy
in interface org.apache.thrift.TBase<AuthenticationResult._Fields>
@Deprecated public AuthenticationResult clone()
clone
in class java.lang.Object
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)
setFieldValue
in interface org.apache.thrift.TBase<AuthenticationResult._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<AuthenticationResult._Fields>
public java.lang.Object getFieldValue(AuthenticationResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<AuthenticationResult._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<AuthenticationResult._Fields>
public boolean isSet(AuthenticationResult._Fields field)
isSet
in interface org.apache.thrift.TBase<AuthenticationResult._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<AuthenticationResult._Fields>
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)
compareTo
in interface java.lang.Comparable<AuthenticationResult>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<AuthenticationResult._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<AuthenticationResult._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |