KGAPI2::People::RelationshipInterest

Search for usage in LXR

KGAPI2::People::RelationshipInterest Class Reference

#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
 
RelationshipInterestoperator= (const RelationshipInterest &)
 
RelationshipInterestoperator= (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 .

See also
https://developers.google.com/people/api/rest/v1/people#relationshipinterest
Since
5.23.0

Definition at line 31 of file relationshipinterest.h.

Constructor & Destructor Documentation

◆ RelationshipInterest()

KGAPI2::People::RelationshipInterest::RelationshipInterest ( )
explicit

Constructs a new RelationshipInterest.

Definition at line 48 of file relationshipinterest.cpp.

◆ ~RelationshipInterest()

KGAPI2::People::RelationshipInterest::~RelationshipInterest ( )
default

Destructor.

Member Function Documentation

◆ formattedValue()

QString KGAPI2::People::RelationshipInterest::formattedValue ( ) const
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()

RelationshipInterest KGAPI2::People::RelationshipInterest::fromJSON ( const QJsonObject & obj)
staticnodiscard

Definition at line 92 of file relationshipinterest.cpp.

◆ metadata()

FieldMetadata KGAPI2::People::RelationshipInterest::metadata ( ) const
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()

QJsonValue KGAPI2::People::RelationshipInterest::toJSON ( ) const
nodiscard

Definition at line 98 of file relationshipinterest.cpp.

◆ value()

QString KGAPI2::People::RelationshipInterest::value ( ) const
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.