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

#include <types.h>

Public Member Functions

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

Public Attributes

Optional< QString > displayName
 
Optional< UserIDrecipientUserId
 
Optional< ShareRelationshipPrivilegeLevel::typebestPrivilege
 
Optional< ShareRelationshipPrivilegeLevel::typeindividualPrivilege
 
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

Member Data Documentation

◆ bestPrivilege

Optional< ShareRelationshipPrivilegeLevel::type > 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::type > 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.

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