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

This structure is used in the set of results returned by the findNotesMetadata function. More...

Public Member Functions

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

Public Attributes

Optional< NoteAttributesattributes
 NOT DOCUMENTED.
 
Optional< qint32 > contentLength
 NOT DOCUMENTED.
 
Optional< Timestampcreated
 NOT DOCUMENTED.
 
Optional< Timestampdeleted
 NOT DOCUMENTED.
 
Guid guid
 NOT DOCUMENTED.
 
Optional< QString > largestResourceMime
 If set, then this will contain the MIME type of the largest Resource (in bytes) within the Note. More...
 
Optional< qint32 > largestResourceSize
 If set, this will contain the size of the largest Resource file, in bytes, within the Note. More...
 
Optional< QString > notebookGuid
 NOT DOCUMENTED.
 
Optional< QList< Guid > > tagGuids
 NOT DOCUMENTED.
 
Optional< QString > title
 NOT DOCUMENTED.
 
Optional< Timestampupdated
 NOT DOCUMENTED.
 
Optional< qint32 > updateSequenceNum
 NOT DOCUMENTED.
 

Detailed Description

This structure is used in the set of results returned by the findNotesMetadata function.

It represents the high-level information about a single Note, without some of the larger deep structure. This allows for the information about a list of Notes to be returned relatively quickly with less marshalling and data transfer to remote clients. Most fields in this structure are identical to the corresponding field in the Note structure, with the exception of:

Member Data Documentation

Optional< QString > qevercloud::NoteMetadata::largestResourceMime

If set, then this will contain the MIME type of the largest Resource (in bytes) within the Note.

This may be useful, for example, to choose an appropriate icon or thumbnail to represent the Note.

Optional< qint32 > qevercloud::NoteMetadata::largestResourceSize

If set, this will contain the size of the largest Resource file, in bytes, within the Note.

This may be useful, for example, to decide whether to ask the server for a thumbnail to represent the Note.