KGAPI2::People::ExternalId
#include <externalid.h>
Public Member Functions | |
ExternalId () | |
ExternalId (const ExternalId &) | |
ExternalId (ExternalId &&) noexcept | |
~ExternalId () | |
QString | formattedType () const |
FieldMetadata | metadata () const |
bool | operator!= (const ExternalId &) const |
ExternalId & | operator= (const ExternalId &) |
ExternalId & | operator= (ExternalId &&) noexcept |
bool | operator== (const ExternalId &) const |
void | setMetadata (const FieldMetadata &value) |
void | setType (const QString &value) |
void | setValue (const QString &value) |
QJsonValue | toJSON () const |
QString | type () const |
QString | value () const |
Static Public Member Functions | |
static ExternalId | fromJSON (const QJsonObject &obj) |
static QList< ExternalId > | fromJSONArray (const QJsonArray &data) |
Detailed Description
An identifier from an external entity related to the person.
- Since
- 5.23.0
Definition at line 33 of file externalid.h.
Constructor & Destructor Documentation
◆ ExternalId()
|
explicit |
Constructs a new ExternalId.
Definition at line 50 of file externalid.cpp.
◆ ~ExternalId()
|
default |
Destructor.
Member Function Documentation
◆ formattedType()
|
nodiscard |
Output only.
The type of the event translated and formatted in the viewer's account locale or the Accept-Language
HTTP header locale.
Definition at line 80 of file externalid.cpp.
◆ fromJSON()
|
staticnodiscard |
Definition at line 103 of file externalid.cpp.
◆ fromJSONArray()
|
staticnodiscard |
Definition at line 118 of file externalid.cpp.
◆ metadata()
|
nodiscard |
Metadata about the external ID.
Definition at line 93 of file externalid.cpp.
◆ operator!=()
bool KGAPI2::People::ExternalId::operator!= | ( | const ExternalId & | other | ) | const |
Definition at line 66 of file externalid.cpp.
◆ operator==()
bool KGAPI2::People::ExternalId::operator== | ( | const ExternalId & | other | ) | const |
Definition at line 61 of file externalid.cpp.
◆ setMetadata()
void KGAPI2::People::ExternalId::setMetadata | ( | const FieldMetadata & | value | ) |
Sets value of the metadata property.
Definition at line 98 of file externalid.cpp.
◆ setType()
void KGAPI2::People::ExternalId::setType | ( | const QString & | value | ) |
Sets value of the type property.
Definition at line 76 of file externalid.cpp.
◆ setValue()
void KGAPI2::People::ExternalId::setValue | ( | const QString & | value | ) |
Sets value of the value property.
Definition at line 89 of file externalid.cpp.
◆ toJSON()
|
nodiscard |
Definition at line 132 of file externalid.cpp.
◆ type()
|
nodiscard |
The type of the external ID.
The type can be custom or one of these predefined values: * account
* customer
* loginId
* network
* organization
Definition at line 71 of file externalid.cpp.
◆ value()
|
nodiscard |
The value of the external ID.
Definition at line 84 of file externalid.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.