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

#include <Types.h>

Inheritance diagram for qevercloud::NoteMemberShareRelationship:
qevercloud::Printable

Public Member Functions

virtual void print (QTextStream &strm) const override
 
bool operator== (const NoteMemberShareRelationship &other) const
 
bool operator!= (const NoteMemberShareRelationship &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< UserIDrecipientUserId
 
Optional< SharedNotePrivilegeLevelprivilege
 
Optional< NoteShareRelationshipRestrictionsrestrictions
 
Optional< UserIDsharerUserId
 

Detailed Description

Describes the association between a Note and an Evernote User who is a member of that note.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ displayName

Optional< QString > qevercloud::NoteMemberShareRelationship::displayName

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

◆ localData

EverCloudLocalData qevercloud::NoteMemberShareRelationship::localData

See the declaration of EverCloudLocalData for details

◆ privilege

Optional< SharedNotePrivilegeLevel > qevercloud::NoteMemberShareRelationship::privilege

The privilege at which the member can access the note, which is the best privilege granted to the user across all of their individual shares for this note. This field is used by the service to convey information to the user, so clients should treat it as read-only.

◆ recipientUserId

Optional< UserID > qevercloud::NoteMemberShareRelationship::recipientUserId

The Evernote UserID of the user who is a member to the note.

◆ restrictions

Optional< NoteShareRelationshipRestrictions > qevercloud::NoteMemberShareRelationship::restrictions

The restrictions on which privileges may be individually assigned to the recipient of this share relationship. This field is used by the service to convey information to the user, so clients should treat it as read-only.

◆ sharerUserId

Optional< UserID > qevercloud::NoteMemberShareRelationship::sharerUserId

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