|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evernote.edam.type.User
public class User
This represents the information about a single user account.
Nested Class Summary | |
---|---|
static class |
User._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<User._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
User()
|
|
User(User other)
Performs a deep copy on other. |
Method Summary | |
---|---|
User |
clone()
Deprecated. |
int |
compareTo(User other)
|
User |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(User that)
|
Accounting |
getAccounting()
|
UserAttributes |
getAttributes()
|
long |
getCreated()
|
long |
getDeleted()
|
java.lang.String |
getEmail()
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(User._Fields field)
|
int |
getId()
|
java.lang.String |
getName()
|
PrivilegeLevel |
getPrivilege()
|
java.lang.String |
getShardId()
|
java.lang.String |
getTimezone()
|
long |
getUpdated()
|
java.lang.String |
getUsername()
|
int |
hashCode()
|
boolean |
isActive()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(User._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
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 |
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 |
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(org.apache.thrift.protocol.TProtocol iprot)
|
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 |
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 |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(User._Fields field,
java.lang.Object value)
|
void |
setId(int id)
|
void |
setIdIsSet(boolean value)
|
void |
setName(java.lang.String name)
|
void |
setNameIsSet(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 |
unsetCreated()
|
void |
unsetDeleted()
|
void |
unsetEmail()
|
void |
unsetId()
|
void |
unsetName()
|
void |
unsetPrivilege()
|
void |
unsetShardId()
|
void |
unsetTimezone()
|
void |
unsetUpdated()
|
void |
unsetUsername()
|
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<User._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public User()
public User(User other)
Method Detail |
---|
public User deepCopy()
deepCopy
in interface org.apache.thrift.TBase<User._Fields>
@Deprecated public User clone()
clone
in class java.lang.Object
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 void setFieldValue(User._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<User._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<User._Fields>
public java.lang.Object getFieldValue(User._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<User._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<User._Fields>
public boolean isSet(User._Fields field)
isSet
in interface org.apache.thrift.TBase<User._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<User._Fields>
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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<User._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<User._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 |