KGAPI2::People::Skill

Search for usage in LXR

#include <skill.h>

Public Member Functions

 Skill ()
 
 Skill (const Skill &)
 
 Skill (Skill &&) noexcept
 
 ~Skill ()
 
FieldMetadata metadata () const
 
bool operator!= (const Skill &) const
 
Skilloperator= (const Skill &)
 
Skilloperator= (Skill &&) noexcept
 
bool operator== (const Skill &) const
 
void setMetadata (const FieldMetadata &value)
 
void setValue (const QString &value)
 
QJsonValue toJSON () const
 
QString value () const
 

Static Public Member Functions

static Skill fromJSON (const QJsonObject &)
 
static QList< SkillfromJSONArray (const QJsonArray &data)
 

Detailed Description

A skill that the person has.

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

Definition at line 33 of file skill.h.

Constructor & Destructor Documentation

◆ Skill()

KGAPI2::People::Skill::Skill ( )
explicit

Constructs a new Skill.

Definition at line 48 of file skill.cpp.

◆ ~Skill()

KGAPI2::People::Skill::~Skill ( )
default

Destructor.

Member Function Documentation

◆ fromJSON()

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

Definition at line 88 of file skill.cpp.

◆ fromJSONArray()

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

Definition at line 101 of file skill.cpp.

◆ metadata()

FieldMetadata KGAPI2::People::Skill::metadata ( ) const
nodiscard

Metadata about the skill.

Definition at line 69 of file skill.cpp.

◆ operator!=()

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

Definition at line 64 of file skill.cpp.

◆ operator==()

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

Definition at line 59 of file skill.cpp.

◆ setMetadata()

void KGAPI2::People::Skill::setMetadata ( const FieldMetadata & value)

Sets value of the metadata property.

Definition at line 74 of file skill.cpp.

◆ setValue()

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

Sets value of the value property.

Definition at line 83 of file skill.cpp.

◆ toJSON()

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

Definition at line 115 of file skill.cpp.

◆ value()

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

The skill; for example, underwater basket weaving.

Definition at line 78 of file skill.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.