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 InvitationShareRelationship &other) const |
bool | operator!= (const InvitationShareRelationship &other) const |
![]() | |
Printable ()=default | |
virtual | ~Printable ()=default |
virtual QString | toString () const |
Public Attributes | |
EverCloudLocalData | localData |
Optional< QString > | displayName |
Optional< UserIdentity > | recipientUserIdentity |
Optional< ShareRelationshipPrivilegeLevel > | privilege |
Optional< UserID > | sharerUserId |
Describes an invitation to a person to use their Evernote credentials to become a member of a notebook.
|
inline |
|
inline |
|
overridevirtual |
Implements qevercloud::Printable.
Optional< QString > qevercloud::InvitationShareRelationship::displayName |
The string that clients should show to users to represent this invitation.
EverCloudLocalData qevercloud::InvitationShareRelationship::localData |
See the declaration of EverCloudLocalData for details
Optional< ShareRelationshipPrivilegeLevel > qevercloud::InvitationShareRelationship::privilege |
The privilege level at which the member will be joined, if it turns out that the member is not already joined at a higher level. Note that the identity
field may not uniquely identify an Evernote User ID, and so we won't know until the invitation is redeemed whether or not the recipient already has privilege.
Optional< UserIdentity > qevercloud::InvitationShareRelationship::recipientUserIdentity |
Identifies the recipient of the invitation. The user identity type can be either EMAIL, EVERNOTE or IDENTITYID. If the invitation was created using the classic notebook sharing APIs it will be EMAIL. If it was created using the new identity-based notebook sharing APIs it will either be EVERNOTE or IDENTITYID, depending on whether we can map the identity to an Evernote user at the time of creation.