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.nosp@m.@bar.nosp@m.chie..nosp@m.si

Definition at line 32 of file teamdrive.h.

Member Typedef Documentation

◆ BackgroundImageFilePtr

◆ CapabilitiesPtr

◆ RestrictionsPtr

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()

QString Teamdrive::backgroundImageLink ( ) const
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()

QString Teamdrive::colorRgb ( ) const
nodiscard

Returns the colorRgb of the teamdrive.

Definition at line 528 of file teamdrive.cpp.

◆ createdDate()

QDateTime Teamdrive::createdDate ( ) const
nodiscard

Returns the time at which the Team Drive was created.

Definition at line 558 of file teamdrive.cpp.

◆ fromJSON()

TeamdrivePtr Teamdrive::fromJSON ( const QByteArray & jsonData)
static

Definition at line 573 of file teamdrive.cpp.

◆ fromJSONFeed()

TeamdrivesList Teamdrive::fromJSONFeed ( const QByteArray & jsonData,
FeedData & feedData )
static

Definition at line 584 of file teamdrive.cpp.

◆ id()

QString Teamdrive::id ( ) const
nodiscard

Returns the id of the teamdrive.

Definition at line 498 of file teamdrive.cpp.

◆ name()

QString Teamdrive::name ( ) const
nodiscard

Returns the name of the teamdrive.

Definition at line 508 of file teamdrive.cpp.

◆ operator!=()

bool KGAPI2::Drive::Teamdrive::operator!= ( const Teamdrive & other) const
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

Sets the id of the teamdrive.

Parameters
id

Definition at line 503 of file teamdrive.cpp.

◆ setName()

void Teamdrive::setName ( const QString & name) const

Sets the name of the teamdrive.

Parameters
name

Definition at line 513 of file teamdrive.cpp.

◆ 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

Sets the themeId of the teamdrive.

Parameters
themeId

Definition at line 523 of file teamdrive.cpp.

◆ themeId()

QString Teamdrive::themeId ( ) const
nodiscard

Returns the themeId of the teamdrive.

Definition at line 518 of file teamdrive.cpp.

◆ toJSON()

QByteArray Teamdrive::toJSON ( const TeamdrivePtr & teamdrive)
static

Definition at line 617 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-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.