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

#include <Types.h>

Inheritance diagram for qevercloud::UpdateNoteIfUsnMatchesResult:
qevercloud::Printable

Public Member Functions

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

Public Attributes

EverCloudLocalData localData
Optional< Notenote
Optional< bool > updated

Detailed Description

The result of a call to updateNoteIfUsnMatches, which optionally updates a note based on the current value of the note's update sequence number on the service.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ localData

EverCloudLocalData qevercloud::UpdateNoteIfUsnMatchesResult::localData

See the declaration of EverCloudLocalData for details

◆ note

Optional< Note > qevercloud::UpdateNoteIfUsnMatchesResult::note

Either the current state of the note if updated is false or the result of updating the note as would be done via the updateNote method. If the note was not updated, you will receive a Note that does not include note content, resources data, resources recognition data, or resources alternate data. You can check for updates to these large objects by checking the Data.bodyHash values and downloading accordingly.

◆ updated

Optional< bool > qevercloud::UpdateNoteIfUsnMatchesResult::updated

Whether or not the note was updated by the operation.