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 SharedNotebook &other) const |
bool | operator!= (const SharedNotebook &other) const |
![]() | |
Printable ()=default | |
virtual | ~Printable ()=default |
virtual QString | toString () const |
Public Attributes | |
EverCloudLocalData | localData |
Optional< qint64 > | id |
Optional< UserID > | userId |
Optional< Guid > | notebookGuid |
Optional< QString > | |
Optional< IdentityID > | recipientIdentityId |
Optional< bool > | notebookModifiable |
Optional< Timestamp > | serviceCreated |
Optional< Timestamp > | serviceUpdated |
Optional< QString > | globalId |
Optional< QString > | username |
Optional< SharedNotebookPrivilegeLevel > | privilege |
Optional< SharedNotebookRecipientSettings > | recipientSettings |
Optional< UserID > | sharerUserId |
Optional< QString > | recipientUsername |
Optional< UserID > | recipientUserId |
Optional< Timestamp > | serviceAssigned |
Shared notebooks represent a relationship between a notebook and a single share invitation recipient.
|
inline |
|
inline |
|
overridevirtual |
Implements qevercloud::Printable.
Optional< QString > qevercloud::SharedNotebook::email |
A string containing a display name for the recipient of the share. This may be an email address, a phone number, a full name, or some other descriptive string This field is read-only to clients. It will be filled in by the service when returning shared notebooks.
Optional< QString > qevercloud::SharedNotebook::globalId |
An immutable, opaque string that acts as a globally unique identifier for this shared notebook record. You can use this field to match linked notebook and shared notebook records as well as to create new LinkedNotebook records. This field replaces the deprecated shareKey field.
Optional< qint64 > qevercloud::SharedNotebook::id |
The primary identifier of the share, which is not globally unique.
EverCloudLocalData qevercloud::SharedNotebook::localData |
See the declaration of EverCloudLocalData for details
The GUID of the notebook that has been shared.
Optional< bool > qevercloud::SharedNotebook::notebookModifiable |
DEPRECATED
Optional< SharedNotebookPrivilegeLevel > qevercloud::SharedNotebook::privilege |
The privilege level granted to the notebook, activity stream, and invitations. See the corresponding enumeration for details.
Optional< IdentityID > qevercloud::SharedNotebook::recipientIdentityId |
The IdentityID of the share recipient. If present, only the user who has claimed that identity may access this share.
Optional< SharedNotebookRecipientSettings > qevercloud::SharedNotebook::recipientSettings |
Settings intended for use only by the recipient of this shared notebook. You should skip setting this value unless you want to change the value contained inside the structure, and only if you are the recipient.
The id of the user who can access this share. This is the id for the user with the username in recipientUsername. This value is read-only and set by the service. Value set by clients will be ignored. This field may be unset for unjoined notebooks and is always set if serviceAssigned is set. Clients should prefer this field over recipientUsername unless they need to use usernames directly.
Optional< QString > qevercloud::SharedNotebook::recipientUsername |
The username of the user who can access this share. This is the username for the user with the id in recipientUserId. This value can be set by clients when calling shareNotebook(...), and that will result in the created SharedNotebook being assigned to a user. This value is always set if serviceAssigned is set.
The date this SharedNotebook was assigned (i.e. has been associated with an Evernote user whose user ID is set in recipientUserId). Unset if the SharedNotebook is not assigned. This field is a read-only value that is set by the service.
The date that the owner first created the share with the specific email address.
The date the shared notebook was last updated on the service. This will be updated when authenticateToSharedNotebook is called the first time with a shared notebook (i.e. when the username is bound to that shared notebook), and also when the SharedNotebook privilege is updated as part of a shareNotebook(...) call, as well as on any calls to updateSharedNotebook(...).
The user id of the user who shared a notebook via this shared notebook instance. This may not be the same as userId, since a user with full access to a notebook may have created a new share for that notebook. For Business, this represents the user who shared the business notebook. This field is currently unset for a SharedNotebook created by joining a notebook that has been published to the business.
Optional< QString > qevercloud::SharedNotebook::username |
DEPRECATED. The username of the user who can access this share. This value is read-only to clients. It will be filled in by the service when returning shared notebooks.