|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.type.User
public class User
This represents the information about a single user account.
Constructor Summary | |
---|---|
User()
|
|
User(User other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(User other)
|
User |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(java.lang.Object that)
|
boolean |
equals(User that)
|
Accounting |
getAccounting()
|
UserAttributes |
getAttributes()
|
BusinessUserInfo |
getBusinessUserInfo()
|
long |
getCreated()
|
long |
getDeleted()
|
java.lang.String |
getEmail()
|
int |
getId()
|
java.lang.String |
getName()
|
PremiumInfo |
getPremiumInfo()
|
PrivilegeLevel |
getPrivilege()
|
java.lang.String |
getShardId()
|
java.lang.String |
getTimezone()
|
long |
getUpdated()
|
java.lang.String |
getUsername()
|
int |
hashCode()
|
boolean |
isActive()
|
boolean |
isSetAccounting()
Returns true if field accounting is set (has been asigned a value) and false otherwise |
boolean |
isSetActive()
Returns true if field active is set (has been asigned a value) and false otherwise |
boolean |
isSetAttributes()
Returns true if field attributes is set (has been asigned a value) and false otherwise |
boolean |
isSetBusinessUserInfo()
Returns true if field businessUserInfo is set (has been asigned a value) and false otherwise |
boolean |
isSetCreated()
Returns true if field created is set (has been asigned a value) and false otherwise |
boolean |
isSetDeleted()
Returns true if field deleted is set (has been asigned a value) and false otherwise |
boolean |
isSetEmail()
Returns true if field email is set (has been asigned a value) and false otherwise |
boolean |
isSetId()
Returns true if field id is set (has been asigned a value) and false otherwise |
boolean |
isSetName()
Returns true if field name is set (has been asigned a value) and false otherwise |
boolean |
isSetPremiumInfo()
Returns true if field premiumInfo is set (has been asigned a value) and false otherwise |
boolean |
isSetPrivilege()
Returns true if field privilege is set (has been asigned a value) and false otherwise |
boolean |
isSetShardId()
Returns true if field shardId is set (has been asigned a value) and false otherwise |
boolean |
isSetTimezone()
Returns true if field timezone is set (has been asigned a value) and false otherwise |
boolean |
isSetUpdated()
Returns true if field updated is set (has been asigned a value) and false otherwise |
boolean |
isSetUsername()
Returns true if field username 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 |
setAccounting(Accounting accounting)
|
void |
setAccountingIsSet(boolean value)
|
void |
setActive(boolean active)
|
void |
setActiveIsSet(boolean value)
|
void |
setAttributes(UserAttributes attributes)
|
void |
setAttributesIsSet(boolean value)
|
void |
setBusinessUserInfo(BusinessUserInfo businessUserInfo)
|
void |
setBusinessUserInfoIsSet(boolean value)
|
void |
setCreated(long created)
|
void |
setCreatedIsSet(boolean value)
|
void |
setDeleted(long deleted)
|
void |
setDeletedIsSet(boolean value)
|
void |
setEmail(java.lang.String email)
|
void |
setEmailIsSet(boolean value)
|
void |
setId(int id)
|
void |
setIdIsSet(boolean value)
|
void |
setName(java.lang.String name)
|
void |
setNameIsSet(boolean value)
|
void |
setPremiumInfo(PremiumInfo premiumInfo)
|
void |
setPremiumInfoIsSet(boolean value)
|
void |
setPrivilege(PrivilegeLevel privilege)
|
void |
setPrivilegeIsSet(boolean value)
|
void |
setShardId(java.lang.String shardId)
|
void |
setShardIdIsSet(boolean value)
|
void |
setTimezone(java.lang.String timezone)
|
void |
setTimezoneIsSet(boolean value)
|
void |
setUpdated(long updated)
|
void |
setUpdatedIsSet(boolean value)
|
void |
setUsername(java.lang.String username)
|
void |
setUsernameIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetAccounting()
|
void |
unsetActive()
|
void |
unsetAttributes()
|
void |
unsetBusinessUserInfo()
|
void |
unsetCreated()
|
void |
unsetDeleted()
|
void |
unsetEmail()
|
void |
unsetId()
|
void |
unsetName()
|
void |
unsetPremiumInfo()
|
void |
unsetPrivilege()
|
void |
unsetShardId()
|
void |
unsetTimezone()
|
void |
unsetUpdated()
|
void |
unsetUsername()
|
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 User()
public User(User other)
Method Detail |
---|
public User deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<User>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<User>
public int getId()
public void setId(int id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public void unsetUsername()
public boolean isSetUsername()
public void setUsernameIsSet(boolean value)
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public void unsetEmail()
public boolean isSetEmail()
public void setEmailIsSet(boolean value)
public java.lang.String getName()
public void setName(java.lang.String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public java.lang.String getTimezone()
public void setTimezone(java.lang.String timezone)
public void unsetTimezone()
public boolean isSetTimezone()
public void setTimezoneIsSet(boolean value)
public PrivilegeLevel getPrivilege()
PrivilegeLevel
public void setPrivilege(PrivilegeLevel privilege)
PrivilegeLevel
public void unsetPrivilege()
public boolean isSetPrivilege()
public void setPrivilegeIsSet(boolean value)
public long getCreated()
public void setCreated(long created)
public void unsetCreated()
public boolean isSetCreated()
public void setCreatedIsSet(boolean value)
public long getUpdated()
public void setUpdated(long updated)
public void unsetUpdated()
public boolean isSetUpdated()
public void setUpdatedIsSet(boolean value)
public long getDeleted()
public void setDeleted(long deleted)
public void unsetDeleted()
public boolean isSetDeleted()
public void setDeletedIsSet(boolean value)
public boolean isActive()
public void setActive(boolean active)
public void unsetActive()
public boolean isSetActive()
public void setActiveIsSet(boolean value)
public java.lang.String getShardId()
public void setShardId(java.lang.String shardId)
public void unsetShardId()
public boolean isSetShardId()
public void setShardIdIsSet(boolean value)
public UserAttributes getAttributes()
public void setAttributes(UserAttributes attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public Accounting getAccounting()
public void setAccounting(Accounting accounting)
public void unsetAccounting()
public boolean isSetAccounting()
public void setAccountingIsSet(boolean value)
public PremiumInfo getPremiumInfo()
public void setPremiumInfo(PremiumInfo premiumInfo)
public void unsetPremiumInfo()
public boolean isSetPremiumInfo()
public void setPremiumInfoIsSet(boolean value)
public BusinessUserInfo getBusinessUserInfo()
public void setBusinessUserInfo(BusinessUserInfo businessUserInfo)
public void unsetBusinessUserInfo()
public boolean isSetBusinessUserInfo()
public void setBusinessUserInfoIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(User that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(User other)
compareTo
in interface java.lang.Comparable<User>
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<User>
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<User>
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 |