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

#include <Types.h>

Inheritance diagram for qevercloud::UserProfile:
qevercloud::Printable

Public Member Functions

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

Public Attributes

EverCloudLocalData localData
 
Optional< UserIDid
 
Optional< QString > name
 
Optional< QString > email
 
Optional< QString > username
 
Optional< BusinessUserAttributesattributes
 
Optional< Timestampjoined
 
Optional< TimestampphotoLastUpdated
 
Optional< QString > photoUrl
 
Optional< BusinessUserRolerole
 
Optional< BusinessUserStatusstatus
 

Detailed Description

This structure represents profile information for a user in a business.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ attributes

Optional< BusinessUserAttributes > qevercloud::UserProfile::attributes

The user's business specific attributes.

◆ email

Optional< QString > qevercloud::UserProfile::email

The user's business email address. If the user has not registered their business email address, this field will be empty.

◆ id

Optional< UserID > qevercloud::UserProfile::id

The numeric identifier that uniquely identifies a user.

◆ joined

Optional< Timestamp > qevercloud::UserProfile::joined

The time when the user joined the business

◆ localData

EverCloudLocalData qevercloud::UserProfile::localData

See the declaration of EverCloudLocalData for details

◆ name

Optional< QString > qevercloud::UserProfile::name

The full name of the user.

◆ photoLastUpdated

Optional< Timestamp > qevercloud::UserProfile::photoLastUpdated

The time when the user's profile photo was most recently updated

◆ photoUrl

Optional< QString > qevercloud::UserProfile::photoUrl

A URL identifying a copy of the user's current profile photo

◆ role

Optional< BusinessUserRole > qevercloud::UserProfile::role

The BusinessUserRole for the user

◆ status

Optional< BusinessUserStatus > qevercloud::UserProfile::status

The BusinessUserStatus for the user

◆ username

Optional< QString > qevercloud::UserProfile::username

The user's Evernote username.