libquentier 0.5.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
quentier::User Class Reference
Inheritance diagram for quentier::User:
Collaboration diagram for quentier::User:

Public Types

using PrivilegeLevel = qevercloud::PrivilegeLevel
using ServiceLevel = qevercloud::ServiceLevel

Public Member Functions

 User (const qevercloud::User &user)
 User (qevercloud::User &&user)
 User (const User &other)
 User (User &&other)
Useroperator= (const User &other)
Useroperator= (User &&other)
bool operator== (const User &other) const
bool operator!= (const User &other) const
const qevercloud::User & qevercloudUser () const
qevercloud::User & qevercloudUser ()
void clear ()
bool isDirty () const
void setDirty (const bool dirty)
bool isLocal () const
void setLocal (const bool local)
bool checkParameters (ErrorString &errorDescription) const
bool hasId () const
qint32 id () const
void setId (const qint32 id)
bool hasUsername () const
const QString & username () const
void setUsername (const QString &username)
bool hasEmail () const
const QString & email () const
void setEmail (const QString &email)
bool hasName () const
const QString & name () const
void setName (const QString &name)
bool hasTimezone () const
const QString & timezone () const
void setTimezone (const QString &timezone)
bool hasPrivilegeLevel () const
PrivilegeLevel privilegeLevel () const
void setPrivilegeLevel (const qint8 level)
bool hasServiceLevel () const
ServiceLevel serviceLevel () const
void setServiceLevel (const qint8 level)
bool hasCreationTimestamp () const
qint64 creationTimestamp () const
void setCreationTimestamp (const qint64 timestamp)
bool hasModificationTimestamp () const
qint64 modificationTimestamp () const
void setModificationTimestamp (const qint64 timestamp)
bool hasDeletionTimestamp () const
qint64 deletionTimestamp () const
void setDeletionTimestamp (const qint64 timestamp)
bool hasActive () const
bool active () const
void setActive (const bool active)
bool hasShardId () const
const QString & shardId () const
void setShardId (const QString &shardId)
bool hasUserAttributes () const
const qevercloud::UserAttributes & userAttributes () const
void setUserAttributes (qevercloud::UserAttributes &&attributes)
bool hasAccounting () const
const qevercloud::Accounting & accounting () const
void setAccounting (qevercloud::Accounting &&accounting)
bool hasBusinessUserInfo () const
const qevercloud::BusinessUserInfo & businessUserInfo () const
void setBusinessUserInfo (qevercloud::BusinessUserInfo &&info)
bool hasPhotoUrl () const
QString photoUrl () const
void setPhotoUrl (const QString &photoUrl)
bool hasPhotoLastUpdateTimestamp () const
qint64 photoLastUpdateTimestamp () const
void setPhotoLastUpdateTimestamp (const qint64 timestamp)
bool hasAccountLimits () const
const qevercloud::AccountLimits & accountLimits () const
void setAccountLimits (qevercloud::AccountLimits &&limits)
virtual QTextStream & print (QTextStream &strm) const override
Public Member Functions inherited from quentier::Printable
virtual const QString toString () const

Friends

class Notebook

Additional Inherited Members

Protected Member Functions inherited from quentier::Printable
 Printable (const Printable &other)
Printableoperator= (const Printable &other)

Member Function Documentation

◆ print()

virtual QTextStream & quentier::User::print ( QTextStream & strm) const
overridevirtual

Implements quentier::Printable.