#include <url.h>
A person's associated URLs.
- See also
- https://developers.google.com/people/api/rest/v1/people#url
- Since
- 5.23.0
Definition at line 33 of file url.h.
◆ Url()
KGAPI2::People::Url::Url |
( |
| ) |
|
|
explicit |
Constructs a new Url.
Definition at line 50 of file url.cpp.
◆ ~Url()
KGAPI2::People::Url::~Url |
( |
| ) |
|
|
default |
◆ formattedType()
QString KGAPI2::People::Url::formattedType |
( |
| ) |
const |
|
nodiscard |
Output only.
The type of the URL translated and formatted in the viewer's account locale or the Accept-Language
HTTP header locale.
Definition at line 98 of file url.cpp.
◆ fromJSON()
◆ fromJSONArray()
◆ metadata()
Metadata about the URL.
Definition at line 89 of file url.cpp.
◆ operator!=()
bool KGAPI2::People::Url::operator!= |
( |
const Url & | other | ) |
const |
◆ operator==()
bool KGAPI2::People::Url::operator== |
( |
const Url & | other | ) |
const |
◆ setMetadata()
void KGAPI2::People::Url::setMetadata |
( |
const FieldMetadata & | value | ) |
|
Sets value of the metadata property.
Definition at line 94 of file url.cpp.
◆ setType()
void KGAPI2::People::Url::setType |
( |
const QString & | value | ) |
|
Sets value of the type property.
Definition at line 85 of file url.cpp.
◆ setValue()
void KGAPI2::People::Url::setValue |
( |
const QString & | value | ) |
|
Sets value of the value property.
Definition at line 76 of file url.cpp.
◆ toJSON()
◆ type()
QString KGAPI2::People::Url::type |
( |
| ) |
const |
|
nodiscard |
The type of the URL.
The type can be custom or one of these predefined values:
home
work
blog
profile
homePage
ftp
reservations
appInstallPage
: website for a Currents application.
other
Definition at line 80 of file url.cpp.
◆ value()
QString KGAPI2::People::Url::value |
( |
| ) |
const |
|
nodiscard |
The URL.
Definition at line 71 of file url.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.