|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.type.SharedNotebook
public class SharedNotebook
Shared notebooks represent a relationship between a notebook and a single share invitation recipient.
Constructor Summary | |
---|---|
SharedNotebook()
|
|
SharedNotebook(SharedNotebook 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(SharedNotebook other)
|
SharedNotebook |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(java.lang.Object that)
|
boolean |
equals(SharedNotebook that)
|
java.lang.String |
getEmail()
|
long |
getId()
|
java.lang.String |
getNotebookGuid()
|
SharedNotebookPrivilegeLevel |
getPrivilege()
|
SharedNotebookRecipientSettings |
getRecipientSettings()
|
long |
getServiceCreated()
|
long |
getServiceUpdated()
|
java.lang.String |
getShareKey()
|
int |
getUserId()
|
java.lang.String |
getUsername()
|
int |
hashCode()
|
boolean |
isAllowPreview()
|
boolean |
isNotebookModifiable()
|
boolean |
isRequireLogin()
|
boolean |
isSetAllowPreview()
Returns true if field allowPreview 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 |
isSetNotebookGuid()
Returns true if field notebookGuid is set (has been asigned a value) and false otherwise |
boolean |
isSetNotebookModifiable()
Returns true if field notebookModifiable 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 |
isSetRecipientSettings()
Returns true if field recipientSettings is set (has been asigned a value) and false otherwise |
boolean |
isSetRequireLogin()
Returns true if field requireLogin is set (has been asigned a value) and false otherwise |
boolean |
isSetServiceCreated()
Returns true if field serviceCreated is set (has been asigned a value) and false otherwise |
boolean |
isSetServiceUpdated()
Returns true if field serviceUpdated is set (has been asigned a value) and false otherwise |
boolean |
isSetShareKey()
Returns true if field shareKey is set (has been asigned a value) and false otherwise |
boolean |
isSetUserId()
Returns true if field userId 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 |
setAllowPreview(boolean allowPreview)
|
void |
setAllowPreviewIsSet(boolean value)
|
void |
setEmail(java.lang.String email)
|
void |
setEmailIsSet(boolean value)
|
void |
setId(long id)
|
void |
setIdIsSet(boolean value)
|
void |
setNotebookGuid(java.lang.String notebookGuid)
|
void |
setNotebookGuidIsSet(boolean value)
|
void |
setNotebookModifiable(boolean notebookModifiable)
|
void |
setNotebookModifiableIsSet(boolean value)
|
void |
setPrivilege(SharedNotebookPrivilegeLevel privilege)
|
void |
setPrivilegeIsSet(boolean value)
|
void |
setRecipientSettings(SharedNotebookRecipientSettings recipientSettings)
|
void |
setRecipientSettingsIsSet(boolean value)
|
void |
setRequireLogin(boolean requireLogin)
|
void |
setRequireLoginIsSet(boolean value)
|
void |
setServiceCreated(long serviceCreated)
|
void |
setServiceCreatedIsSet(boolean value)
|
void |
setServiceUpdated(long serviceUpdated)
|
void |
setServiceUpdatedIsSet(boolean value)
|
void |
setShareKey(java.lang.String shareKey)
|
void |
setShareKeyIsSet(boolean value)
|
void |
setUserId(int userId)
|
void |
setUserIdIsSet(boolean value)
|
void |
setUsername(java.lang.String username)
|
void |
setUsernameIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetAllowPreview()
|
void |
unsetEmail()
|
void |
unsetId()
|
void |
unsetNotebookGuid()
|
void |
unsetNotebookModifiable()
|
void |
unsetPrivilege()
|
void |
unsetRecipientSettings()
|
void |
unsetRequireLogin()
|
void |
unsetServiceCreated()
|
void |
unsetServiceUpdated()
|
void |
unsetShareKey()
|
void |
unsetUserId()
|
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 SharedNotebook()
public SharedNotebook(SharedNotebook other)
Method Detail |
---|
public SharedNotebook deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<SharedNotebook>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<SharedNotebook>
public long getId()
public void setId(long id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public int getUserId()
public void setUserId(int userId)
public void unsetUserId()
public boolean isSetUserId()
public void setUserIdIsSet(boolean value)
public java.lang.String getNotebookGuid()
public void setNotebookGuid(java.lang.String notebookGuid)
public void unsetNotebookGuid()
public boolean isSetNotebookGuid()
public void setNotebookGuidIsSet(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 boolean isNotebookModifiable()
public void setNotebookModifiable(boolean notebookModifiable)
public void unsetNotebookModifiable()
public boolean isSetNotebookModifiable()
public void setNotebookModifiableIsSet(boolean value)
public boolean isRequireLogin()
public void setRequireLogin(boolean requireLogin)
public void unsetRequireLogin()
public boolean isSetRequireLogin()
public void setRequireLoginIsSet(boolean value)
public long getServiceCreated()
public void setServiceCreated(long serviceCreated)
public void unsetServiceCreated()
public boolean isSetServiceCreated()
public void setServiceCreatedIsSet(boolean value)
public long getServiceUpdated()
public void setServiceUpdated(long serviceUpdated)
public void unsetServiceUpdated()
public boolean isSetServiceUpdated()
public void setServiceUpdatedIsSet(boolean value)
public java.lang.String getShareKey()
public void setShareKey(java.lang.String shareKey)
public void unsetShareKey()
public boolean isSetShareKey()
public void setShareKeyIsSet(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 SharedNotebookPrivilegeLevel getPrivilege()
SharedNotebookPrivilegeLevel
public void setPrivilege(SharedNotebookPrivilegeLevel privilege)
SharedNotebookPrivilegeLevel
public void unsetPrivilege()
public boolean isSetPrivilege()
public void setPrivilegeIsSet(boolean value)
public boolean isAllowPreview()
public void setAllowPreview(boolean allowPreview)
public void unsetAllowPreview()
public boolean isSetAllowPreview()
public void setAllowPreviewIsSet(boolean value)
public SharedNotebookRecipientSettings getRecipientSettings()
public void setRecipientSettings(SharedNotebookRecipientSettings recipientSettings)
public void unsetRecipientSettings()
public boolean isSetRecipientSettings()
public void setRecipientSettingsIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(SharedNotebook that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(SharedNotebook other)
compareTo
in interface java.lang.Comparable<SharedNotebook>
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<SharedNotebook>
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<SharedNotebook>
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 |