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

#include <types.h>

Public Member Functions

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

Public Attributes

Optional< QString > displayName
 
Optional< UserIdentityrecipientUserIdentity
 
Optional< ShareRelationshipPrivilegeLevel::typeprivilege
 
Optional< UserIDsharerUserId
 

Detailed Description

Describes an invitation to a person to use their Evernote credentials to become a member of a notebook.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

Member Data Documentation

◆ displayName

Optional< QString > qevercloud::InvitationShareRelationship::displayName

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

◆ privilege

Optional< ShareRelationshipPrivilegeLevel::type > qevercloud::InvitationShareRelationship::privilege

The privilege level at which the member will be joined, if it turns out that the member is not already joined at a higher level. Note that the identity field may not uniquely identify an Evernote User ID, and so we won't know until the invitation is redeemed whether or not the recipient already has privilege.

◆ recipientUserIdentity

Optional< UserIdentity > qevercloud::InvitationShareRelationship::recipientUserIdentity

Identifies the recipient of the invitation. The user identity type can be either EMAIL or IDENTITYID, depending on whether the invitation was created using the classic notebook sharing APIs or the new identity-based notebook sharing APIs.

◆ sharerUserId

Optional< UserID > qevercloud::InvitationShareRelationship::sharerUserId

The user id of the user who most recently shared this notebook to this identity. This field is used by the service to convey information to the user, so clients should treat it as read-only.