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

#include <Types.h>

Inheritance diagram for qevercloud::NoteVersionId:
qevercloud::Printable

Public Member Functions

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

Public Attributes

EverCloudLocalData localData
 
qint32 updateSequenceNum
 
Timestamp updated
 
Timestamp saved
 
QString title
 
Optional< UserIDlastEditorId
 

Detailed Description

Identifying information about previous versions of a note that are backed up within Evernote's servers. Used in the return value of the listNoteVersions call.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ lastEditorId

Optional< UserID > qevercloud::NoteVersionId::lastEditorId

The ID of the user who made the change to this version of the note. This will be unset if the note version was edited by the owner of the account.

◆ localData

EverCloudLocalData qevercloud::NoteVersionId::localData

See the declaration of EverCloudLocalData for details

◆ saved

Timestamp qevercloud::NoteVersionId::saved

A timestamp that holds the date and time when this version of the note was backed up by Evernote's servers.

◆ title

QString qevercloud::NoteVersionId::title

The title of the note when this particular version was saved. (The current title of the note may differ from this value.)

◆ updated

Timestamp qevercloud::NoteVersionId::updated

The 'updated' time that was set on the Note when it had this version of the content. This is the user-modifiable modification time on the note, so it's not reliable for guaranteeing the order of various versions. (E.g. if someone modifies the note, then changes this time manually into the past and then updates the note again.)

◆ updateSequenceNum

qint32 qevercloud::NoteVersionId::updateSequenceNum

The update sequence number for the Note when it last had this content. This serves to uniquely identify each version of the note, since USN values are unique within an account for each update.