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

#include <Types.h>

Inheritance diagram for qevercloud::ShareRelationships:
qevercloud::Printable

Public Member Functions

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

Public Attributes

EverCloudLocalData localData
 
Optional< QList< InvitationShareRelationship > > invitations
 
Optional< QList< MemberShareRelationship > > memberships
 
Optional< ShareRelationshipRestrictionsinvitationRestrictions
 

Properties

Optional QList
 

Detailed Description

Captures a collection of share relationships for a notebook, for example, as returned by the getNotebookShares method. The share relationships fall into two broad categories: members, and invitations that can be used to become members.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ invitationRestrictions

Optional< ShareRelationshipRestrictions > qevercloud::ShareRelationships::invitationRestrictions

The restrictions on what privileges may be granted to invitees to this notebook. These restrictions may be specific to the calling user or to the notebook itself. They represent the union of all possible invite cases, so it is possible that once the recipient of the invitation has been identified by the service, such as by a business auto-join, the actual assigned privilege may change.

◆ invitations

Optional<QList<InvitationShareRelationship> > qevercloud::ShareRelationships::invitations

A list of open invitations that can be redeemed into memberships to the notebook.

◆ localData

EverCloudLocalData qevercloud::ShareRelationships::localData

See the declaration of EverCloudLocalData for details

◆ memberships

Optional<QList<MemberShareRelationship> > qevercloud::ShareRelationships::memberships

A list of memberships of the notebook. A member is identified by their Evernote UserID and has rights to access the notebook.

Property Documentation

◆ QList

Optional qevercloud::ShareRelationships::QList