KGAPI2::Drive::Drives

Search for usage in LXR

#include <drives.h>

Inheritance diagram for KGAPI2::Drive::Drives:

Classes

class  BackgroundImageFile
 
class  Capabilities
 
class  Restrictions
 

Public Types

using BackgroundImageFilePtr = QSharedPointer< BackgroundImageFile >
 
using CapabilitiesPtr = QSharedPointer< Capabilities >
 
using RestrictionsPtr = QSharedPointer< Restrictions >
 

Public Member Functions

 Drives (const Drives &other)
 
BackgroundImageFilePtr backgroundImageFile () const
 
QString backgroundImageLink () const
 
CapabilitiesPtr capabilities () const
 
QString colorRgb () const
 
QDateTime createdDate () const
 
bool hidden () const
 
QString id () const
 
QString name () const
 
bool operator!= (const Drives &other) const
 
bool operator== (const Drives &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 DrivesPtr fromJSON (const QByteArray &jsonData)
 
static DrivesList fromJSONFeed (const QByteArray &jsonData, FeedData &feedData)
 
static QByteArray toJSON (const DrivesPtr &drives)
 

Detailed Description

Drives contains a representation of a Drive.

Getters and setters' documentation is based on Google Drive's API v2 reference

See also
Drives
Since
5.11.41
Author
David Barchiesi david[email protected]@bar[email protected]chie.[email protected]si

Definition at line 32 of file drives.h.

Member Function Documentation

Drives::BackgroundImageFilePtr Drives::backgroundImageFile ( ) const

Returns the image file and cropping parameters from which a background image for this shared drive is set.

Definition at line 543 of file drives.cpp.

QString Drives::backgroundImageLink ( ) const

Returns the backgroundImageLink of the shared drive.

Definition at line 553 of file drives.cpp.

Drives::CapabilitiesPtr Drives::capabilities ( ) const

Returns the capabilities the current user has on this shared drive.

Definition at line 558 of file drives.cpp.

QString Drives::colorRgb ( ) const

Returns the colorRgb of the shared drive.

Definition at line 533 of file drives.cpp.

QDateTime Drives::createdDate ( ) const

Returns the time at which the shared drive was created.

Definition at line 563 of file drives.cpp.

bool Drives::hidden ( ) const

Returns whether the shared drive is hidden from default view.

Definition at line 568 of file drives.cpp.

QString Drives::id ( ) const

Returns the ID of this shared drive which is also the ID of the top level folder of this shared drive.

Definition at line 503 of file drives.cpp.

QString Drives::name ( ) const

Returns the name of the drive.

Definition at line 513 of file drives.cpp.

Drives::RestrictionsPtr Drives::restrictions ( ) const

Returns the set of restrictions that apply to this shared drive or items inside this shared drive.

Definition at line 578 of file drives.cpp.

void Drives::setBackgroundImageFile ( const BackgroundImageFilePtr backgroundImageFile) const

Sets the backgroundImageFile of the shared drive.

Parameters
backgroundImageFile

Definition at line 548 of file drives.cpp.

void Drives::setColorRgb ( const QString colorRgb) const

Sets the colorRgb of the shared drive.

Parameters
colorRgb

Definition at line 538 of file drives.cpp.

void Drives::setId ( const QString id) const

Sets the ID of this shared drive which is also the ID of the top level folder of this shared drive.

Parameters
id

Definition at line 508 of file drives.cpp.

void Drives::setName ( const QString name) const

Sets the name of the drive.

Parameters
name

Definition at line 518 of file drives.cpp.

void Drives::setRestrictions ( const RestrictionsPtr restrictions) const

Sets the restrictions of the shared drive.

Parameters
restrictions

Definition at line 573 of file drives.cpp.

void Drives::setThemeId ( const QString themeId) const

Sets the themeId of the shared drive.

Parameters
themeId

Definition at line 528 of file drives.cpp.

QString Drives::themeId ( ) const

Returns the themeId of the drive.

Definition at line 523 of file drives.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:48 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.