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

#include <Types.h>

Inheritance diagram for qevercloud::AccountLimits:
qevercloud::Printable

Public Member Functions

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

Public Attributes

EverCloudLocalData localData
 
Optional< qint32 > userMailLimitDaily
 
Optional< qint64 > noteSizeMax
 
Optional< qint64 > resourceSizeMax
 
Optional< qint32 > userLinkedNotebookMax
 
Optional< qint64 > uploadLimit
 
Optional< qint32 > userNoteCountMax
 
Optional< qint32 > userNotebookCountMax
 
Optional< qint32 > userTagCountMax
 
Optional< qint32 > noteTagCountMax
 
Optional< qint32 > userSavedSearchesMax
 
Optional< qint32 > noteResourceCountMax
 

Detailed Description

This structure is used to provide account limits that are in effect for this user.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ localData

EverCloudLocalData qevercloud::AccountLimits::localData

See the declaration of EverCloudLocalData for details

◆ noteResourceCountMax

Optional< qint32 > qevercloud::AccountLimits::noteResourceCountMax

The maximum number of Resources per Note

◆ noteSizeMax

Optional< qint64 > qevercloud::AccountLimits::noteSizeMax

Maximum total size of a Note that can be added. The size of a note is calculated as: ENML content length (in Unicode characters) plus the sum of all resource sizes (in bytes).

◆ noteTagCountMax

Optional< qint32 > qevercloud::AccountLimits::noteTagCountMax

Maximum number of Tags per Note

◆ resourceSizeMax

Optional< qint64 > qevercloud::AccountLimits::resourceSizeMax

Maximum size of a resource, in bytes

◆ uploadLimit

Optional< qint64 > qevercloud::AccountLimits::uploadLimit

The number of bytes that can be uploaded to the account in the current month. For new notes that are created, this is the length of the note content (in Unicode characters) plus the size of each resource (in bytes). For edited notes, this is the the difference between the old length and the new length (if this is greater than 0) plus the size of each new resource.

◆ userLinkedNotebookMax

Optional< qint32 > qevercloud::AccountLimits::userLinkedNotebookMax

Maximum number of linked notebooks per account.

◆ userMailLimitDaily

Optional< qint32 > qevercloud::AccountLimits::userMailLimitDaily

The number of emails of any type that can be sent by a user from the service per day. If an email is sent to two different recipients, this counts as two emails.

◆ userNotebookCountMax

Optional< qint32 > qevercloud::AccountLimits::userNotebookCountMax

Maximum number of Notebooks per user

◆ userNoteCountMax

Optional< qint32 > qevercloud::AccountLimits::userNoteCountMax

Maximum number of Notes per user

◆ userSavedSearchesMax

Optional< qint32 > qevercloud::AccountLimits::userSavedSearchesMax

Maximum number of SavedSearches per account

◆ userTagCountMax

Optional< qint32 > qevercloud::AccountLimits::userTagCountMax

Maximum number of Tags per account