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

#include <types.h>

Public Member Functions

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

Public Attributes

Optional< QMap< Guid, qint32 > > notebookCounts
 
Optional< QMap< Guid, qint32 > > tagCounts
 
Optional< qint32 > trashCount
 

Detailed Description

A data structure representing the number of notes for each notebook and tag with a non-zero set of applicable notes.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

Member Data Documentation

◆ notebookCounts

Optional< QMap< Guid, qint32 > > qevercloud::NoteCollectionCounts::notebookCounts

A mapping from the Notebook GUID to the number of notes (from some selection) that are in the corresponding notebook.

◆ tagCounts

Optional< QMap< Guid, qint32 > > qevercloud::NoteCollectionCounts::tagCounts

A mapping from the Tag GUID to the number of notes (from some selection) that have the corresponding tag.

◆ trashCount

Optional< qint32 > qevercloud::NoteCollectionCounts::trashCount

If this is set, then this is the number of notes that are in the trash. If this is not set, then the number of notes in the trash hasn't been reported. (I.e. if there are no notes in the trash, this will be set to 0.)