KGAPI2::Drive::Teamdrive

Search for usage in LXR

#include <teamdrive.h>

Inheritance diagram for KGAPI2::Drive::Teamdrive:

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
Author
David Barchiesi david[email protected]@bar[email protected]chie.[email protected]si

Definition at line 32 of file teamdrive.h.

Member Function Documentation

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 537 of file teamdrive.cpp.

QString Teamdrive::backgroundImageLink ( ) const

Returns the backgroundImageLink of the teamdrive.

Definition at line 547 of file teamdrive.cpp.

Teamdrive::CapabilitiesPtr Teamdrive::capabilities ( ) const

Returns the capabilities the current user has on this Team Drive.

Definition at line 552 of file teamdrive.cpp.

QString Teamdrive::colorRgb ( ) const

Returns the colorRgb of the teamdrive.

Definition at line 527 of file teamdrive.cpp.

QDateTime Teamdrive::createdDate ( ) const

Returns the time at which the Team Drive was created.

Definition at line 557 of file teamdrive.cpp.

QString Teamdrive::id ( ) const

Returns the id of the teamdrive.

Definition at line 497 of file teamdrive.cpp.

QString Teamdrive::name ( ) const

Returns the name of the teamdrive.

Definition at line 507 of file teamdrive.cpp.

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 567 of file teamdrive.cpp.

void Teamdrive::setBackgroundImageFile ( const BackgroundImageFilePtr backgroundImageFile) const

Sets the backgroundImageFile of the teamdrive.

Parameters
backgroundImageFile

Definition at line 542 of file teamdrive.cpp.

void Teamdrive::setColorRgb ( const QString colorRgb) const

Sets the colorRgb of the teamdrive.

Parameters
colorRgb

Definition at line 532 of file teamdrive.cpp.

void Teamdrive::setId ( const QString id) const

Sets the id of the teamdrive.

Parameters
id

Definition at line 502 of file teamdrive.cpp.

void Teamdrive::setName ( const QString name) const

Sets the name of the teamdrive.

Parameters
name

Definition at line 512 of file teamdrive.cpp.

void Teamdrive::setRestrictions ( const RestrictionsPtr restrictions) const

Sets the restrictions of the teamdrive.

Parameters
restrictions

Definition at line 562 of file teamdrive.cpp.

void Teamdrive::setThemeId ( const QString themeId) const

Sets the themeId of the teamdrive.

Parameters
themeId

Definition at line 522 of file teamdrive.cpp.

QString Teamdrive::themeId ( ) const

Returns the themeId of the teamdrive.

Definition at line 517 of file teamdrive.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Jun 18 2021 23:10:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.