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

#include <types.h>

Public Member Functions

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

Public Attributes

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

Member Data Documentation

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