QEverCloud 6.1.0
Unofficial Evernote Cloud API for Qt
Loading...
Searching...
No Matches
qevercloud::SharedNote Struct Reference

#include <Types.h>

Inheritance diagram for qevercloud::SharedNote:
qevercloud::Printable

Public Member Functions

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

Public Attributes

EverCloudLocalData localData
Optional< UserIDsharerUserID
Optional< IdentityrecipientIdentity
Optional< SharedNotePrivilegeLevelprivilege
Optional< TimestampserviceCreated
Optional< TimestampserviceUpdated
Optional< TimestampserviceAssigned

Detailed Description

Represents a relationship between a note and a single share invitation recipient. The recipient is identified via an Identity, and has a given privilege that specifies what actions they may take on the note.

Member Function Documentation

◆ operator!=()

bool qevercloud::SharedNote::operator!= ( const SharedNote & other) const
inline

◆ operator==()

bool qevercloud::SharedNote::operator== ( const SharedNote & other) const
inline

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ localData

EverCloudLocalData qevercloud::SharedNote::localData

See the declaration of EverCloudLocalData for details

◆ privilege

Optional< SharedNotePrivilegeLevel > qevercloud::SharedNote::privilege

The privilege level that the share grants to the recipient.

◆ recipientIdentity

Optional< Identity > qevercloud::SharedNote::recipientIdentity

The identity of the recipient of the share. For a given note, there may be only one SharedNote per recipient identity. Only recipientIdentity.id is guaranteed to be set. Other fields on the Identity may or my not be set based on the requesting user's relationship with the recipient.

◆ serviceAssigned

Optional< Timestamp > qevercloud::SharedNote::serviceAssigned

The time at which the share was assigned to a specific recipient user ID.

◆ serviceCreated

Optional< Timestamp > qevercloud::SharedNote::serviceCreated

The time at which the share was created.

◆ serviceUpdated

Optional< Timestamp > qevercloud::SharedNote::serviceUpdated

The time at which the share was last updated.

◆ sharerUserID

Optional< UserID > qevercloud::SharedNote::sharerUserID

The user ID of the user who shared the note with the recipient.