KGAPI2::People::RelationshipInterest
#include <relationshipinterest.h>
Public Member Functions | |
RelationshipInterest () | |
RelationshipInterest (const RelationshipInterest &) | |
RelationshipInterest (RelationshipInterest &&) noexcept | |
~RelationshipInterest () | |
QString | formattedValue () const |
FieldMetadata | metadata () const |
bool | operator!= (const RelationshipInterest &) const |
RelationshipInterest & | operator= (const RelationshipInterest &) |
RelationshipInterest & | operator= (RelationshipInterest &&) noexcept |
bool | operator== (const RelationshipInterest &) const |
void | setMetadata (const FieldMetadata &value) |
void | setValue (const QString &value) |
QJsonValue | toJSON () const |
QString | value () const |
Static Public Member Functions | |
static RelationshipInterest | fromJSON (const QJsonObject &) |
Detailed Description
DEPRECATED: No data will be returned A person's relationship interest .
- Since
- 5.23.0
Definition at line 31 of file relationshipinterest.h.
Constructor & Destructor Documentation
◆ RelationshipInterest()
|
explicit |
Constructs a new RelationshipInterest.
Definition at line 48 of file relationshipinterest.cpp.
◆ ~RelationshipInterest()
|
default |
Destructor.
Member Function Documentation
◆ formattedValue()
|
nodiscard |
Output only.
The value of the relationship interest translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.
Definition at line 69 of file relationshipinterest.cpp.
◆ fromJSON()
|
staticnodiscard |
Definition at line 92 of file relationshipinterest.cpp.
◆ metadata()
|
nodiscard |
Metadata about the relationship interest.
Definition at line 73 of file relationshipinterest.cpp.
◆ operator!=()
bool KGAPI2::People::RelationshipInterest::operator!= | ( | const RelationshipInterest & | other | ) | const |
Definition at line 64 of file relationshipinterest.cpp.
◆ operator==()
bool KGAPI2::People::RelationshipInterest::operator== | ( | const RelationshipInterest & | other | ) | const |
Definition at line 59 of file relationshipinterest.cpp.
◆ setMetadata()
void KGAPI2::People::RelationshipInterest::setMetadata | ( | const FieldMetadata & | value | ) |
Sets value of the metadata property.
Definition at line 78 of file relationshipinterest.cpp.
◆ setValue()
void KGAPI2::People::RelationshipInterest::setValue | ( | const QString & | value | ) |
Sets value of the value property.
Definition at line 87 of file relationshipinterest.cpp.
◆ toJSON()
|
nodiscard |
Definition at line 98 of file relationshipinterest.cpp.
◆ value()
|
nodiscard |
The kind of relationship the person is looking for.
The value can be custom or one of these predefined values: * friend
* date
* relationship
* networking
Definition at line 82 of file relationshipinterest.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:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.