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

#include <Types.h>

Inheritance diagram for qevercloud::MemberShareRelationship:
qevercloud::Printable

Public Member Functions

virtual void print (QTextStream &strm) const override
 
bool operator== (const MemberShareRelationship &other) const
 
bool operator!= (const MemberShareRelationship &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< ShareRelationshipPrivilegeLevelbestPrivilege
 
Optional< ShareRelationshipPrivilegeLevelindividualPrivilege
 
Optional< ShareRelationshipRestrictionsrestrictions
 
Optional< UserIDsharerUserId
 

Detailed Description

Describes the association between a Notebook and an Evernote User who is a member of that notebook.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ bestPrivilege

Optional< ShareRelationshipPrivilegeLevel > qevercloud::MemberShareRelationship::bestPrivilege

The privilege at which the member can access the notebook, which is the best privilege granted either individually or to a group to which a member belongs, such as a business. This field is used by the service to convey information to the user, so clients should treat it as read-only.

◆ displayName

Optional< QString > qevercloud::MemberShareRelationship::displayName

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

◆ individualPrivilege

Optional< ShareRelationshipPrivilegeLevel > qevercloud::MemberShareRelationship::individualPrivilege

The individually granted privilege for the member, which does not take GROUP privileges into account. This value may be unset if only a group-assigned privilege has been granted to the member. This value can be managed by others with sufficient rights using the manageNotebookShares method. The valid values that clients should present to users for selection are given via the the 'restrictions' field.

◆ localData

EverCloudLocalData qevercloud::MemberShareRelationship::localData

See the declaration of EverCloudLocalData for details

◆ recipientUserId

Optional< UserID > qevercloud::MemberShareRelationship::recipientUserId

The Evernote User ID of the recipient of this notebook share.

◆ restrictions

Optional< ShareRelationshipRestrictions > qevercloud::MemberShareRelationship::restrictions

The restrictions on which privileges may be individually assigned to the recipient of this share relationship.

◆ sharerUserId

Optional< UserID > qevercloud::MemberShareRelationship::sharerUserId

The user id of the user who most recently shared the notebook to this user. This field is currently unset for a MemberShareRelationship created by joining a notebook that has been published to the business (MemberShareRelationships where the individual privilege is unset). This field is used by the service to convey information to the user, so clients should treat it as read-only.