QEverCloud
6.1.0
Unofficial Evernote Cloud API for Qt
|
#include <Types.h>
Public Member Functions | |
virtual void | print (QTextStream &strm) const override |
bool | operator== (const Contact &other) const |
bool | operator!= (const Contact &other) const |
![]() | |
Printable ()=default | |
virtual | ~Printable ()=default |
virtual QString | toString () const |
Public Attributes | |
EverCloudLocalData | localData |
Optional< QString > | name |
Optional< QString > | id |
Optional< ContactType > | type |
Optional< QString > | photoUrl |
Optional< Timestamp > | photoLastUpdated |
Optional< QByteArray > | messagingPermit |
Optional< Timestamp > | messagingPermitExpires |
A structure that represents contact information. Note this does not necessarily correspond to an Evernote user.
|
inline |
|
inline |
|
overridevirtual |
Implements qevercloud::Printable.
Optional< QString > qevercloud::Contact::id |
A unique identifier for this ContactType.
EverCloudLocalData qevercloud::Contact::localData |
See the declaration of EverCloudLocalData for details
Optional< QByteArray > qevercloud::Contact::messagingPermit |
This field will only be filled by the service when it is giving a Contact record to a client, and that client does not normally have enough permission to send a new message to the person represented through this Contact. In that case, this whole Contact record could be used to send a new Message to the Contact, and the service will inspect this permit to confirm that operation was allowed.
If this field is set, then this (whole) Contact record may be used in calls to sendMessage until this time. After that time, those calls may be rejected by the service if the caller does not have direct permission to initiate a message with the represented Evernote user.
Optional< QString > qevercloud::Contact::name |
The displayable name of this contact. This field is filled in by the service and is read-only to clients.
timestamp when the profile photo at 'photoUrl' was last updated. This field will be null if the user has never set a profile photo. This field is filled in by the service and is read-only to clients.
Optional< QString > qevercloud::Contact::photoUrl |
A URL of a profile photo representing this Contact. This field is filled in by the service and is read-only to clients.
Optional< ContactType > qevercloud::Contact::type |
What service does this contact come from?