|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.userstore.AuthenticationResult
public class AuthenticationResult
When an authentication (or re-authentication) is performed, this structure provides the result to the client.
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()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(AuthenticationResult other)
|
AuthenticationResult |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(AuthenticationResult that)
|
boolean |
equals(java.lang.Object that)
|
java.lang.String |
getAuthenticationToken()
|
long |
getCurrentTime()
|
long |
getExpiration()
|
java.lang.String |
getNoteStoreUrl()
|
PublicUserInfo |
getPublicUserInfo()
|
java.lang.String |
getSecondFactorDeliveryHint()
|
User |
getUser()
|
java.lang.String |
getWebApiUrlPrefix()
|
int |
hashCode()
|
boolean |
isSecondFactorRequired()
|
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 |
isSetNoteStoreUrl()
Returns true if field noteStoreUrl 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 |
isSetSecondFactorDeliveryHint()
Returns true if field secondFactorDeliveryHint is set (has been asigned a value) and false otherwise |
boolean |
isSetSecondFactorRequired()
Returns true if field secondFactorRequired 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 |
boolean |
isSetWebApiUrlPrefix()
Returns true if field webApiUrlPrefix is set (has been asigned a value) and false otherwise |
void |
read(com.evernote.thrift.protocol.TProtocol iprot)
Reads an instance of the object from the given protocol. |
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 |
setNoteStoreUrl(java.lang.String noteStoreUrl)
|
void |
setNoteStoreUrlIsSet(boolean value)
|
void |
setPublicUserInfo(PublicUserInfo publicUserInfo)
|
void |
setPublicUserInfoIsSet(boolean value)
|
void |
setSecondFactorDeliveryHint(java.lang.String secondFactorDeliveryHint)
|
void |
setSecondFactorDeliveryHintIsSet(boolean value)
|
void |
setSecondFactorRequired(boolean secondFactorRequired)
|
void |
setSecondFactorRequiredIsSet(boolean value)
|
void |
setUser(User user)
|
void |
setUserIsSet(boolean value)
|
void |
setWebApiUrlPrefix(java.lang.String webApiUrlPrefix)
|
void |
setWebApiUrlPrefixIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetAuthenticationToken()
|
void |
unsetCurrentTime()
|
void |
unsetExpiration()
|
void |
unsetNoteStoreUrl()
|
void |
unsetPublicUserInfo()
|
void |
unsetSecondFactorDeliveryHint()
|
void |
unsetSecondFactorRequired()
|
void |
unsetUser()
|
void |
unsetWebApiUrlPrefix()
|
void |
validate()
|
void |
write(com.evernote.thrift.protocol.TProtocol oprot)
Writes the object to the given protocol. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuthenticationResult()
public AuthenticationResult(long currentTime, java.lang.String authenticationToken, long expiration)
public AuthenticationResult(AuthenticationResult other)
Method Detail |
---|
public AuthenticationResult deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<AuthenticationResult>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<AuthenticationResult>
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 java.lang.String getNoteStoreUrl()
public void setNoteStoreUrl(java.lang.String noteStoreUrl)
public void unsetNoteStoreUrl()
public boolean isSetNoteStoreUrl()
public void setNoteStoreUrlIsSet(boolean value)
public java.lang.String getWebApiUrlPrefix()
public void setWebApiUrlPrefix(java.lang.String webApiUrlPrefix)
public void unsetWebApiUrlPrefix()
public boolean isSetWebApiUrlPrefix()
public void setWebApiUrlPrefixIsSet(boolean value)
public boolean isSecondFactorRequired()
public void setSecondFactorRequired(boolean secondFactorRequired)
public void unsetSecondFactorRequired()
public boolean isSetSecondFactorRequired()
public void setSecondFactorRequiredIsSet(boolean value)
public java.lang.String getSecondFactorDeliveryHint()
public void setSecondFactorDeliveryHint(java.lang.String secondFactorDeliveryHint)
public void unsetSecondFactorDeliveryHint()
public boolean isSetSecondFactorDeliveryHint()
public void setSecondFactorDeliveryHintIsSet(boolean value)
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(com.evernote.thrift.protocol.TProtocol iprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
read
in interface com.evernote.thrift.TBase<AuthenticationResult>
iprot
- Input protocol
com.evernote.thrift.TException
public void write(com.evernote.thrift.protocol.TProtocol oprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
write
in interface com.evernote.thrift.TBase<AuthenticationResult>
oprot
- Output protocol
com.evernote.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws com.evernote.thrift.TException
com.evernote.thrift.TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |