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

#include <types.h>

Public Member Functions

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

Public Attributes

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

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

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.

◆ 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.