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

#include <Types.h>

Inheritance diagram for qevercloud::NotebookShareTemplate:
qevercloud::Printable

Public Member Functions

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

Public Attributes

EverCloudLocalData localData
 
Optional< GuidnotebookGuid
 
Optional< MessageThreadIDrecipientThreadId
 
Optional< QList< Contact > > recipientContacts
 
Optional< SharedNotebookPrivilegeLevelprivilege
 

Properties

Optional QList
 

Detailed Description

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

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ localData

EverCloudLocalData qevercloud::NotebookShareTemplate::localData

See the declaration of EverCloudLocalData for details

◆ notebookGuid

Optional< Guid > qevercloud::NotebookShareTemplate::notebookGuid

The GUID of the notebook.

◆ privilege

Optional< SharedNotebookPrivilegeLevel > qevercloud::NotebookShareTemplate::privilege

The privilege level to be granted.

◆ recipientContacts

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

The recipients of the notebook 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::NotebookShareTemplate::recipientThreadId

The recipients of the notebook 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::NotebookShareTemplate::QList