11#include "kgapicore_export.h"
52 return !operator==(other);
211 friend class Private;
void setLink(const QString &link)
Sets link to user's profile.
QString link() const
Returns link to user's profile.
void setFamilyName(const QString &familyName)
Sets user's family name (surname).
void setEmail(const QString &email)
Sets account email.
void setPhotoUrl(const QString &url)
Sets URL of user's photo.
void setVerifiedEmail(bool verified)
Sets whether the email address is verified.
QString email() const
Returns account email address.
void setLocale(const QString &locale)
Sets users locale settings.
void setGender(const QString &gender)
Sets user's gender.
AccountInfo()
Constructor.
QString name() const
Returns user's real full name.
QString givenName() const
Returns user's given name.
QString familyName() const
Returns user's surname.
void setBirthday(const QString &birthday)
Sets user's birthday.
void setId(const QString &id)
Sets an account ID.
void setGivenName(const QString &givenName)
Sets user's given name.
QString gender() const
Returns user's gender.
QString id() const
Returns account ID.
void setTimezone(const QString &timezone)
Sets user's timezone name.
void setName(const QString &name)
Sets user's real full name.
QString photoUrl() const
Returns URL of user's photo.
static AccountInfoPtr fromJSON(const QByteArray &jsonData)
Parses raw JSON data into AccountInfo object.
bool verifiedEmail() const
Returns whether the email is verified.
QString locale() const
Returns user's preferred locales.
QString timezone() const
Returns name of user's timezone.
QString birthday() const
Returns user's birthday.
Base class for all objects.
A job to fetch a single map tile described by a StaticMapUrl.