KGAPI2::People::Interest
KGAPI2::People::Interest Class Reference
#include <interest.h>
Public Member Functions | |
Interest () | |
Interest (const Interest &) | |
Interest (Interest &&) noexcept | |
~Interest () | |
FieldMetadata | metadata () const |
bool | operator!= (const Interest &) const |
Interest & | operator= (const Interest &) |
Interest & | operator= (Interest &&) noexcept |
bool | operator== (const Interest &) const |
void | setMetadata (const FieldMetadata &value) |
void | setValue (const QString &value) |
QJsonValue | toJSON () const |
QString | value () const |
Static Public Member Functions | |
static Interest | fromJSON (const QJsonObject &) |
static QList< Interest > | fromJSONArray (const QJsonArray &data) |
Detailed Description
Constructor & Destructor Documentation
◆ Interest()
|
explicit |
Constructs a new Interest.
Definition at line 48 of file interest.cpp.
◆ ~Interest()
|
default |
Destructor.
Member Function Documentation
◆ fromJSON()
|
staticnodiscard |
Definition at line 88 of file interest.cpp.
◆ fromJSONArray()
|
staticnodiscard |
Definition at line 101 of file interest.cpp.
◆ metadata()
|
nodiscard |
Metadata about the interest.
Definition at line 78 of file interest.cpp.
◆ operator!=()
bool KGAPI2::People::Interest::operator!= | ( | const Interest & | other | ) | const |
Definition at line 64 of file interest.cpp.
◆ operator==()
bool KGAPI2::People::Interest::operator== | ( | const Interest & | other | ) | const |
Definition at line 59 of file interest.cpp.
◆ setMetadata()
void KGAPI2::People::Interest::setMetadata | ( | const FieldMetadata & | value | ) |
Sets value of the metadata property.
Definition at line 83 of file interest.cpp.
◆ setValue()
void KGAPI2::People::Interest::setValue | ( | const QString & | value | ) |
Sets value of the value property.
Definition at line 74 of file interest.cpp.
◆ toJSON()
|
nodiscard |
Definition at line 115 of file interest.cpp.
◆ value()
|
nodiscard |
The interest; for example, stargazing
.
Definition at line 69 of file interest.cpp.
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.