QEverCloud
6.1.0
Unofficial Evernote Cloud API for Qt
|
#include <Types.h>
Public Member Functions | |
virtual void | print (QTextStream &strm) const override |
bool | operator== (const NotebookRestrictions &other) const |
bool | operator!= (const NotebookRestrictions &other) const |
![]() | |
Printable ()=default | |
virtual | ~Printable ()=default |
virtual QString | toString () const |
This structure captures information about the types of operations that cannot be performed on a given notebook with a type of authenticated access and credentials. The values filled into this structure are based on then-current values in the server database for shared notebooks and notebook publishing records, as well as information related to the authentication token. Information from the authentication token includes the application that is accessing the server, as defined by the permissions granted by consumer (api) key, and the method used to obtain the token, for example via authenticateToSharedNotebook, authenticateToBusiness, etc. Note that changes to values in this structure that are the result of shared notebook or publishing record changes are communicated to the client via a change in the notebook USN during sync. It is important to use the same access method, parameters, and consumer key in order obtain correct results from the sync engine.
The server has the final say on what is allowed as values may change between calls to obtain NotebookRestrictions instances and to operate on data on the service.
If the following are set and true, then the given restriction is in effect, as accessed by the same authentication token from which the values were obtained.
|
inline |
|
inline |
|
overridevirtual |
Implements qevercloud::Printable.
Optional< CanMoveToContainerRestrictions > qevercloud::NotebookRestrictions::canMoveToContainerRestrictions |
Specifies if the client can move this notebook to a container and if not, the reason why.
Optional< SharedNotebookInstanceRestrictions > qevercloud::NotebookRestrictions::expungeWhichSharedNotebookRestrictions |
Restrictions on which shared notebook instances can be expunged. If the value is not set or null, then the client can expunge any of the shared notebooks associated with the notebook on which the NotebookRestrictions are defined. See the enumeration for further details.
EverCloudLocalData qevercloud::NotebookRestrictions::localData |
See the declaration of EverCloudLocalData for details
Optional< bool > qevercloud::NotebookRestrictions::noCanMoveNote |
Optional< bool > qevercloud::NotebookRestrictions::noChangeContact |
NOT DOCUMENTED
Optional< bool > qevercloud::NotebookRestrictions::noCreateNotes |
The client may not create new notes in the notebook.
Optional< bool > qevercloud::NotebookRestrictions::noCreateSharedNotebooks |
The client is unable to create shared notebooks for the notebook.
Optional< bool > qevercloud::NotebookRestrictions::noCreateTags |
The client may not complete an operation that results in a new tag being created in the owner's account.
Optional< bool > qevercloud::NotebookRestrictions::noEmailNotes |
The client may not e-mail notes by guid via the Evernote service by using the emailNote method. Email notes by value by populating the note parameter instead.
Optional< bool > qevercloud::NotebookRestrictions::noExpungeNotebook |
The client may not expunge the Notebook object itself, for example, via the expungeNotebook method.
Optional< bool > qevercloud::NotebookRestrictions::noExpungeNotes |
The client may not expunge notes currently in the notebook.
Optional< bool > qevercloud::NotebookRestrictions::noExpungeTags |
The client may not expunge tags in the owner's account.
Optional< bool > qevercloud::NotebookRestrictions::noPublishToBusinessLibrary |
The client may not publish the notebook to the business library.
Optional< bool > qevercloud::NotebookRestrictions::noPublishToPublic |
The client may not publish the notebook to the public. For example, business notebooks may not be shared publicly.
Optional< bool > qevercloud::NotebookRestrictions::noReadNotes |
The client is not able to read notes from the service and the notebook is write-only.
Optional< bool > qevercloud::NotebookRestrictions::noRenameNotebook |
The client may not rename this notebook.
Optional< bool > qevercloud::NotebookRestrictions::noSendMessageToRecipients |
The client may not send messages to the share recipients of the notebook.
Optional< bool > qevercloud::NotebookRestrictions::noSetDefaultNotebook |
The client may not set this notebook to be the default notebook. The caller should leave Notebook.defaultNotebook unset.
Optional< bool > qevercloud::NotebookRestrictions::noSetInMyList |
clients may not change the NotebookRecipientSettings.inMyList settings for this notebook.
Optional< bool > qevercloud::NotebookRestrictions::noSetNotebookStack |
If the client is able to update the Notebook, the Notebook.stack value may not be set.
Optional< bool > qevercloud::NotebookRestrictions::noSetParentTag |
If the client is able to create or update tags in the owner's account, then they will not be able to set the parent tag. Leave the value unset.
Optional< bool > qevercloud::NotebookRestrictions::noSetRecipientSettingsStack |
NOT DOCUMENTED
Optional< bool > qevercloud::NotebookRestrictions::noSetReminderNotifyEmail |
NOT DOCUMENTED
Optional< bool > qevercloud::NotebookRestrictions::noSetReminderNotifyInApp |
NOT DOCUMENTED
Optional< bool > qevercloud::NotebookRestrictions::noShareNotes |
The client may not share notes in the notebook via the shareNote or createOrUpdateSharedNotes methods.
Optional< bool > qevercloud::NotebookRestrictions::noShareNotesWithBusiness |
The client may not share notes in the notebook via the shareNoteWithBusiness method.
Optional< bool > qevercloud::NotebookRestrictions::noUpdateNotebook |
The client may not update the Notebook object itself, for example, via the updateNotebook method.
Optional< bool > qevercloud::NotebookRestrictions::noUpdateNotes |
The client may not update notes currently in the notebook.
Optional< bool > qevercloud::NotebookRestrictions::noUpdateTags |
The client may not update tags in the owner's account.
Optional< SharedNotebookInstanceRestrictions > qevercloud::NotebookRestrictions::updateWhichSharedNotebookRestrictions |
Restrictions on which shared notebook instances can be updated. If the value is not set or null, then the client can update any of the shared notebooks associated with the notebook on which the NotebookRestrictions are defined. See the enumeration for further details.