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

Identifying information about previous versions of a note that are backed up within Evernote's servers. More...

Public Member Functions

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

Public Attributes

Timestamp saved
 A timestamp that holds the date and time when this version of the note was backed up by Evernote's servers. More...
 
QString title
 The title of the note when this particular version was saved. More...
 
Timestamp updated
 The 'updated' time that was set on the Note when it had this version of the content. More...
 
qint32 updateSequenceNum
 The update sequence number for the Note when it last had this content. More...
 

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 Data Documentation

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.

This

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

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

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.