KGAPI2::People::ProfileMetadata
KGAPI2::People::ProfileMetadata Class Reference
#include <profilemetadata.h>
Public Types | |
enum class | ObjectType { OBJECT_TYPE_UNSPECIFIED , PERSON , PAGE } |
enum class | UserTypes { USER_TYPE_UNKNOWN , GOOGLE_USER , GPLUS_USER , GOOGLE_APPS_USER } |
Public Member Functions | |
ProfileMetadata () | |
ProfileMetadata (const ProfileMetadata &) | |
ProfileMetadata (ProfileMetadata &&) noexcept | |
~ProfileMetadata () | |
ProfileMetadata::ObjectType | objectType () const |
bool | operator!= (const ProfileMetadata &) const |
ProfileMetadata & | operator= (const ProfileMetadata &) |
ProfileMetadata & | operator= (ProfileMetadata &&) noexcept |
bool | operator== (const ProfileMetadata &) const |
QJsonValue | toJSON () const |
QList< ProfileMetadata::UserTypes > | userTypes () const |
Static Public Member Functions | |
static ProfileMetadata | fromJSON (const QJsonObject &) |
Detailed Description
Member Enumeration Documentation
◆ ObjectType
|
strong |
Enumerator | |
---|---|
OBJECT_TYPE_UNSPECIFIED | Unspecified. |
PERSON | |
PAGE |
Definition at line 39 of file profilemetadata.h.
◆ UserTypes
|
strong |
Enumerator | |
---|---|
USER_TYPE_UNKNOWN | The user type is not known. |
GOOGLE_USER | The user is a Google user. |
GPLUS_USER | The user is a Currents user. |
GOOGLE_APPS_USER | The user is a Google Workspace user. |
Definition at line 33 of file profilemetadata.h.
Constructor & Destructor Documentation
◆ ProfileMetadata()
|
explicit |
Constructs a new ProfileMetadata.
Definition at line 46 of file profilemetadata.cpp.
◆ ~ProfileMetadata()
|
default |
Destructor.
Member Function Documentation
◆ fromJSON()
|
staticnodiscard |
Definition at line 76 of file profilemetadata.cpp.
◆ objectType()
|
nodiscard |
◆ operator!=()
bool KGAPI2::People::ProfileMetadata::operator!= | ( | const ProfileMetadata & | other | ) | const |
Definition at line 62 of file profilemetadata.cpp.
◆ operator==()
bool KGAPI2::People::ProfileMetadata::operator== | ( | const ProfileMetadata & | other | ) | const |
Definition at line 57 of file profilemetadata.cpp.
◆ toJSON()
|
nodiscard |
Definition at line 112 of file profilemetadata.cpp.
◆ userTypes()
|
nodiscard |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.