QEverCloud  6.1.0
Unofficial Evernote Cloud API for Qt
Public Member Functions | Public Attributes | List of all members
qevercloud::NoteInvitationShareRelationship Struct Reference

#include <Types.h>

Inheritance diagram for qevercloud::NoteInvitationShareRelationship:
qevercloud::Printable

Public Member Functions

virtual void print (QTextStream &strm) const override
 
bool operator== (const NoteInvitationShareRelationship &other) const
 
bool operator!= (const NoteInvitationShareRelationship &other) const
 
- Public Member Functions inherited from qevercloud::Printable
 Printable ()=default
 
virtual ~Printable ()=default
 
virtual QString toString () const
 

Public Attributes

EverCloudLocalData localData
 
Optional< QString > displayName
 
Optional< IdentityIDrecipientIdentityId
 
Optional< SharedNotePrivilegeLevelprivilege
 
Optional< UserIDsharerUserId
 

Detailed Description

Describes an invitation to a person to use their Evernote credentials to gain access to a note belonging to another user.

Member Function Documentation

◆ operator!=()

bool qevercloud::NoteInvitationShareRelationship::operator!= ( const NoteInvitationShareRelationship other) const
inline

◆ operator==()

bool qevercloud::NoteInvitationShareRelationship::operator== ( const NoteInvitationShareRelationship other) const
inline

◆ print()

virtual void qevercloud::NoteInvitationShareRelationship::print ( QTextStream &  strm) const
overridevirtual

Implements qevercloud::Printable.

Member Data Documentation

◆ displayName

Optional< QString > qevercloud::NoteInvitationShareRelationship::displayName

The string that clients should show to users to represent this invitation.

◆ localData

EverCloudLocalData qevercloud::NoteInvitationShareRelationship::localData

See the declaration of EverCloudLocalData for details

◆ privilege

Optional< SharedNotePrivilegeLevel > qevercloud::NoteInvitationShareRelationship::privilege

The privilege level that the recipient will be granted when they accept this invitation. If the user already has a higher privilege to access this note then this will not affect the recipient's privileges.

◆ recipientIdentityId

Optional< IdentityID > qevercloud::NoteInvitationShareRelationship::recipientIdentityId

Identifies the identity of the invitation recipient. Once the identity has been claimed by an Evernote user and they have accessed the note at least once, the invitation will be used up and will no longer be returned by the service to clients. Instead, that recipient will be included in the list of NoteMemberShareRelationships.

◆ sharerUserId

Optional< UserID > qevercloud::NoteInvitationShareRelationship::sharerUserId

The user id of the user who most recently shared this note to this recipient. This field is used by the service to convey information to the user, so clients should treat it as read-only.