QEverCloud  3.0.0
Unofficial Evernote Cloud API for Qt
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
qevercloud::PublicUserInfo Struct Reference

#include <types.h>

Public Member Functions

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

Public Attributes

UserID userId
 
QString shardId
 
Optional< PrivilegeLevel::typeprivilege
 
Optional< QString > username
 
Optional< QString > noteStoreUrl
 
Optional< QString > webApiUrlPrefix
 

Detailed Description

This structure is used to provide publicly-available user information about a particular account.

Member Function Documentation

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

Member Data Documentation

Optional< QString > qevercloud::PublicUserInfo::noteStoreUrl

This field will contain the full URL that clients should use to make NoteStore requests to the server shard that contains that user's data. I.e. this is the URL that should be used to create the Thrift HTTP client transport to send messages to the NoteStore service for the account.

Optional< PrivilegeLevel::type > qevercloud::PublicUserInfo::privilege

The privilege level of the account, to determine whether this is a Premium or Free account.

QString qevercloud::PublicUserInfo::shardId

DEPRECATED - Client applications should have no need to use this field.

UserID qevercloud::PublicUserInfo::userId

The unique numeric user identifier for the user account.

Optional< QString > qevercloud::PublicUserInfo::username

NOT DOCUMENTED

Optional< QString > qevercloud::PublicUserInfo::webApiUrlPrefix

This field will contain the initial part of the URLs that should be used to make requests to Evernote's thin client "web API", which provide optimized operations for clients that aren't capable of manipulating the full contents of accounts via the full Thrift data model. Clients should concatenate the relative path for the various servlets onto the end of this string to construct the full URL, as documented on our developer web site.