KGAPI2::Drive::ChildReference
#include <childreference.h>
Public Member Functions | |
ChildReference (const ChildReference &other) | |
ChildReference (const QString &id) | |
QUrl | childLink () const |
QString | id () const |
bool | operator!= (const ChildReference &other) const |
bool | operator== (const ChildReference &other) const |
QUrl | selfLink () const |
Public Member Functions inherited from KGAPI2::Object | |
Object () | |
Object (const Object &other) | |
virtual | ~Object () |
QString | etag () const |
bool | operator== (const Object &other) const |
void | setEtag (const QString &etag) |
Static Public Member Functions | |
static ChildReferencePtr | fromJSON (const QByteArray &jsonData) |
static ChildReferencesList | fromJSONFeed (const QByteArray &jsonData, FeedData &feedData) |
static QByteArray | toJSON (const ChildReferencePtr &reference) |
Detailed Description
ChildReference contains a reference to a folder's child.
Getters and setters' documentation is based on Google Drive's API v2 reference
- See also
- Children
- Since
- 2.0
Definition at line 32 of file childreference.h.
Constructor & Destructor Documentation
◆ ChildReference() [1/2]
|
explicit |
Definition at line 53 of file childreference.cpp.
◆ ChildReference() [2/2]
|
explicit |
Definition at line 60 of file childreference.cpp.
◆ ~ChildReference()
|
override |
Definition at line 66 of file childreference.cpp.
Member Function Documentation
◆ childLink()
|
nodiscard |
Returns a link to the child.
Definition at line 92 of file childreference.cpp.
◆ fromJSON()
|
static |
Definition at line 97 of file childreference.cpp.
◆ fromJSONFeed()
|
static |
Definition at line 108 of file childreference.cpp.
◆ id()
|
nodiscard |
Returns the id of the child.
Definition at line 82 of file childreference.cpp.
◆ operator!=()
|
inline |
Definition at line 39 of file childreference.h.
◆ operator==()
bool ChildReference::operator== | ( | const ChildReference & | other | ) | const |
Definition at line 71 of file childreference.cpp.
◆ selfLink()
|
nodiscard |
Returns a link back to this reference.
Definition at line 87 of file childreference.cpp.
◆ toJSON()
|
static |
Definition at line 138 of file childreference.cpp.
The documentation for this class was generated from the following files:
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.