KGAPI2::Drive::Teamdrive
#include <teamdrive.h>
Classes | |
class | BackgroundImageFile |
class | Capabilities |
class | Restrictions |
Public Types | |
using | BackgroundImageFilePtr = QSharedPointer<BackgroundImageFile> |
using | CapabilitiesPtr = QSharedPointer<Capabilities> |
using | RestrictionsPtr = QSharedPointer<Restrictions> |
Public Member Functions | |
Teamdrive (const Teamdrive &other) | |
BackgroundImageFilePtr | backgroundImageFile () const |
QString | backgroundImageLink () const |
CapabilitiesPtr | capabilities () const |
QString | colorRgb () const |
QDateTime | createdDate () const |
QString | id () const |
QString | name () const |
bool | operator!= (const Teamdrive &other) const |
bool | operator== (const Teamdrive &other) const |
RestrictionsPtr | restrictions () const |
void | setBackgroundImageFile (const BackgroundImageFilePtr &backgroundImageFile) const |
void | setColorRgb (const QString &colorRgb) const |
void | setId (const QString &id) const |
void | setName (const QString &name) const |
void | setRestrictions (const RestrictionsPtr &restrictions) const |
void | setThemeId (const QString &themeId) const |
QString | themeId () 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 TeamdrivePtr | fromJSON (const QByteArray &jsonData) |
static TeamdrivesList | fromJSONFeed (const QByteArray &jsonData, FeedData &feedData) |
static QByteArray | toJSON (const TeamdrivePtr &teamdrive) |
Detailed Description
Teamdrive contains a representation of a Team Drive.
Getters and setters' documentation is based on Google Drive's API v2 reference
- See also
- Teamdrives
- Since
- x.0
Definition at line 32 of file teamdrive.h.
Member Typedef Documentation
◆ BackgroundImageFilePtr
Definition at line 362 of file teamdrive.h.
◆ CapabilitiesPtr
Definition at line 282 of file teamdrive.h.
◆ RestrictionsPtr
Definition at line 129 of file teamdrive.h.
Constructor & Destructor Documentation
◆ Teamdrive() [1/2]
Teamdrive::Teamdrive | ( | ) |
Definition at line 467 of file teamdrive.cpp.
◆ Teamdrive() [2/2]
Teamdrive::Teamdrive | ( | const Teamdrive & | other | ) |
Definition at line 473 of file teamdrive.cpp.
Member Function Documentation
◆ backgroundImageFile()
Teamdrive::BackgroundImageFilePtr Teamdrive::backgroundImageFile | ( | ) | const |
Returns the image file and cropping parameters from which a background image for this Team Drive is set.
Definition at line 538 of file teamdrive.cpp.
◆ backgroundImageLink()
|
nodiscard |
Returns the backgroundImageLink of the teamdrive.
Definition at line 548 of file teamdrive.cpp.
◆ capabilities()
Teamdrive::CapabilitiesPtr Teamdrive::capabilities | ( | ) | const |
Returns the capabilities the current user has on this Team Drive.
Definition at line 553 of file teamdrive.cpp.
◆ colorRgb()
|
nodiscard |
Returns the colorRgb of the teamdrive.
Definition at line 528 of file teamdrive.cpp.
◆ createdDate()
|
nodiscard |
Returns the time at which the Team Drive was created.
Definition at line 558 of file teamdrive.cpp.
◆ fromJSON()
|
static |
Definition at line 573 of file teamdrive.cpp.
◆ fromJSONFeed()
|
static |
Definition at line 584 of file teamdrive.cpp.
◆ id()
|
nodiscard |
Returns the id of the teamdrive.
Definition at line 498 of file teamdrive.cpp.
◆ name()
|
nodiscard |
Returns the name of the teamdrive.
Definition at line 508 of file teamdrive.cpp.
◆ operator!=()
|
inline |
Definition at line 385 of file teamdrive.h.
◆ operator==()
bool Teamdrive::operator== | ( | const Teamdrive & | other | ) | const |
Definition at line 481 of file teamdrive.cpp.
◆ restrictions()
Teamdrive::RestrictionsPtr Teamdrive::restrictions | ( | ) | const |
Returns the set of restrictions that apply to this Team Drive or items inside this Team Drive.
Definition at line 568 of file teamdrive.cpp.
◆ setBackgroundImageFile()
void Teamdrive::setBackgroundImageFile | ( | const BackgroundImageFilePtr & | backgroundImageFile | ) | const |
Sets the backgroundImageFile of the teamdrive.
- Parameters
-
backgroundImageFile
Definition at line 543 of file teamdrive.cpp.
◆ setColorRgb()
void Teamdrive::setColorRgb | ( | const QString & | colorRgb | ) | const |
Sets the colorRgb of the teamdrive.
- Parameters
-
colorRgb
Definition at line 533 of file teamdrive.cpp.
◆ setId()
void Teamdrive::setId | ( | const QString & | id | ) | const |
◆ setName()
void Teamdrive::setName | ( | const QString & | name | ) | const |
◆ setRestrictions()
void Teamdrive::setRestrictions | ( | const RestrictionsPtr & | restrictions | ) | const |
Sets the restrictions of the teamdrive.
- Parameters
-
restrictions
Definition at line 563 of file teamdrive.cpp.
◆ setThemeId()
void Teamdrive::setThemeId | ( | const QString & | themeId | ) | const |
◆ themeId()
|
nodiscard |
Returns the themeId of the teamdrive.
Definition at line 518 of file teamdrive.cpp.
◆ toJSON()
|
static |
Definition at line 617 of file teamdrive.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.