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

#include <Types.h>

Inheritance diagram for qevercloud::SharedNoteTemplate:
qevercloud::Printable

Public Member Functions

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

Public Attributes

EverCloudLocalData localData
 
Optional< GuidnoteGuid
 
Optional< MessageThreadIDrecipientThreadId
 
Optional< QList< Contact > > recipientContacts
 
Optional< SharedNotePrivilegeLevelprivilege
 

Properties

Optional QList
 

Detailed Description

A structure used to share a note with one or more recipients at a given privilege.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ localData

EverCloudLocalData qevercloud::SharedNoteTemplate::localData

See the declaration of EverCloudLocalData for details

◆ noteGuid

Optional< Guid > qevercloud::SharedNoteTemplate::noteGuid

The GUID of the note.

◆ privilege

Optional< SharedNotePrivilegeLevel > qevercloud::SharedNoteTemplate::privilege

The privilege level to be granted.

◆ recipientContacts

Optional<QList<Contact> > qevercloud::SharedNoteTemplate::recipientContacts

The recipients of the note share specified as a list of contacts. This should only be set if the sharing takes place before the thread is created. Use recipientThreadId instead when sharing with an existing thread. Either this field or recipientThreadId must be set.

◆ recipientThreadId

Optional< MessageThreadID > qevercloud::SharedNoteTemplate::recipientThreadId

The recipients of the note share specified as a messaging thread ID. If you have an existing messaging thread to share the note with, specify its ID here instead of recipientContacts in order to properly support defunct identities. The sharer must be a participant of the thread. Either this field or recipientContacts must be set.

Property Documentation

◆ QList

Optional qevercloud::SharedNoteTemplate::QList