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

#include <types.h>

Public Member Functions

bool operator== (const NoteInvitationShareRelationship &other) const
 
bool operator!= (const NoteInvitationShareRelationship &other) const
 

Public Attributes

Optional< QString > displayName
 
Optional< IdentityIDrecipientIdentityId
 
Optional< SharedNotePrivilegeLevel::typeprivilege
 
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

Member Data Documentation

◆ displayName

Optional< QString > qevercloud::NoteInvitationShareRelationship::displayName

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

◆ privilege

Optional< SharedNotePrivilegeLevel::type > 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.