KGAPI2::People::GroupClientData

Search for usage in LXR

KGAPI2::People::GroupClientData Class Reference

#include <groupclientdata.h>

Public Member Functions

 GroupClientData ()
 
 GroupClientData (const GroupClientData &)
 
 GroupClientData (GroupClientData &&) noexcept
 
 ~GroupClientData ()
 
QString key () const
 
bool operator!= (const GroupClientData &) const
 
GroupClientDataoperator= (const GroupClientData &)
 
GroupClientDataoperator= (GroupClientData &&) noexcept
 
bool operator== (const GroupClientData &) const
 
void setKey (const QString &value)
 
void setValue (const QString &value)
 
QJsonValue toJSON () const
 
QString value () const
 

Static Public Member Functions

static GroupClientData fromJSON (const QJsonObject &)
 
static QList< GroupClientDatafromJSONArray (const QJsonArray &data)
 

Detailed Description

Arbitrary client data that is populated by clients.

Duplicate keys and values are allowed.

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

Definition at line 32 of file groupclientdata.h.

Constructor & Destructor Documentation

◆ GroupClientData()

KGAPI2::People::GroupClientData::GroupClientData ( )
explicit

Constructs a new GroupClientData.

Definition at line 46 of file groupclientdata.cpp.

◆ ~GroupClientData()

KGAPI2::People::GroupClientData::~GroupClientData ( )
default

Destructor.

Member Function Documentation

◆ fromJSON()

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

Definition at line 86 of file groupclientdata.cpp.

◆ fromJSONArray()

QList< GroupClientData > KGAPI2::People::GroupClientData::fromJSONArray ( const QJsonArray & data)
staticnodiscard

Definition at line 98 of file groupclientdata.cpp.

◆ key()

QString KGAPI2::People::GroupClientData::key ( ) const
nodiscard

The client specified key of the client data.

Definition at line 67 of file groupclientdata.cpp.

◆ operator!=()

bool KGAPI2::People::GroupClientData::operator!= ( const GroupClientData & other) const

Definition at line 62 of file groupclientdata.cpp.

◆ operator==()

bool KGAPI2::People::GroupClientData::operator== ( const GroupClientData & other) const

Definition at line 57 of file groupclientdata.cpp.

◆ setKey()

void KGAPI2::People::GroupClientData::setKey ( const QString & value)

Sets value of the key property.

Definition at line 72 of file groupclientdata.cpp.

◆ setValue()

void KGAPI2::People::GroupClientData::setValue ( const QString & value)

Sets value of the value property.

Definition at line 81 of file groupclientdata.cpp.

◆ toJSON()

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

Definition at line 112 of file groupclientdata.cpp.

◆ value()

QString KGAPI2::People::GroupClientData::value ( ) const
nodiscard

The client specified value of the client data.

Definition at line 76 of file groupclientdata.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.