9#include "kgapidrive_export.h"
43 static const QString AdminManagedRestrictions;
44 static const QString CopyRequiresWriterPermission;
45 static const QString DomainUsersOnly;
46 static const QString TeamMembersOnly;
55 return !operator==(other);
62 bool adminManagedRestrictions()
const;
70 void setAdminManagedRestrictions(
bool adminManagedRestrictions)
const;
78 [[nodiscard]]
bool copyRequiresWriterPermission()
const;
88 void setCopyRequiresWriterPermission(
bool copyRequiresWriterPermission)
const;
96 [[nodiscard]]
bool domainUsersOnly()
const;
106 void setDomainUsersOnly(
bool domainUsersOnly)
const;
112 [[nodiscard]]
bool teamMembersOnly()
const;
120 void setTeamMembersOnly(
bool teamMembersOnly)
const;
125 friend class Private;
138 static const QString CanAddChildren;
139 static const QString CanChangeCopyRequiresWriterPermissionRestriction;
140 static const QString CanChangeDomainUsersOnlyRestriction;
141 static const QString CanChangeTeamDriveBackground;
142 static const QString CanChangeTeamMembersOnlyRestriction;
143 static const QString CanComment;
145 static const QString CanDeleteChildren;
146 static const QString CanDeleteTeamDrive;
147 static const QString CanDownload;
149 static const QString CanListChildren;
150 static const QString CanManageMembers;
151 static const QString CanReadRevisions;
152 static const QString CanRename;
153 static const QString CanRenameTeamDrive;
155 static const QString CanTrashChildren;
164 return !operator==(other);
171 [[nodiscard]]
bool canAddChildren()
const;
177 [[nodiscard]]
bool canChangeCopyRequiresWriterPermissionRestriction()
const;
183 [[nodiscard]]
bool canChangeDomainUsersOnlyRestriction()
const;
189 [[nodiscard]]
bool canChangeTeamDriveBackground()
const;
195 [[nodiscard]]
bool canChangeTeamMembersOnlyRestriction()
const;
201 [[nodiscard]]
bool canComment()
const;
206 [[nodiscard]]
bool canCopy()
const;
212 [[nodiscard]]
bool canDeleteChildren()
const;
220 [[nodiscard]]
bool canDeleteTeamDrive()
const;
226 [[nodiscard]]
bool canDownload()
const;
232 [[nodiscard]]
bool canEdit()
const;
238 [[nodiscard]]
bool canListChildren()
const;
244 [[nodiscard]]
bool canManageMembers()
const;
250 [[nodiscard]]
bool canReadRevisions()
const;
256 [[nodiscard]]
bool canRename()
const;
261 [[nodiscard]]
bool canRenameTeamDrive()
const;
267 [[nodiscard]]
bool canShare()
const;
273 [[nodiscard]]
bool canTrashChildren()
const;
278 friend class Private;
293 static const QString XCoordinate;
294 static const QString YCoordinate;
304 return !operator==(other);
310 [[nodiscard]]
QString id()
const;
317 void setId(
const QString &
id)
const;
322 [[nodiscard]]
float xCoordinate()
const;
329 void setXCoordinate(
float xCoordinate)
const;
334 [[nodiscard]]
float yCoordinate()
const;
341 void setYCoordinate(
float yCoordinate)
const;
346 [[nodiscard]]
float width()
const;
353 void setWidth(
float width)
const;
358 friend class Private;
367 static const QString KindDrive;
368 static const QString PageToken;
369 static const QString NextPageToken;
375 static const QString BackgroundImageLink;
377 static const QString CreatedDate;
384 bool operator==(
const Teamdrive &other)
const;
385 bool operator!=(
const Teamdrive &other)
const
387 return !operator==(other);
393 [[nodiscard]]
QString id()
const;
400 void setId(
const QString &
id)
const;
405 [[nodiscard]]
QString name()
const;
412 void setName(
const QString &name)
const;
417 [[nodiscard]]
QString themeId()
const;
424 void setThemeId(
const QString &themeId)
const;
429 [[nodiscard]]
QString colorRgb()
const;
436 void setColorRgb(
const QString &colorRgb)
const;
441 BackgroundImageFilePtr backgroundImageFile()
const;
448 void setBackgroundImageFile(
const BackgroundImageFilePtr &backgroundImageFile)
const;
453 [[nodiscard]]
QString backgroundImageLink()
const;
458 CapabilitiesPtr capabilities()
const;
463 [[nodiscard]]
QDateTime createdDate()
const;
469 RestrictionsPtr restrictions()
const;
476 void setRestrictions(
const RestrictionsPtr &restrictions)
const;
478 static TeamdrivePtr fromJSON(
const QByteArray &jsonData);
480 static QByteArray toJSON(
const TeamdrivePtr &teamdrive);
485 friend class Private;
DriveTeamdrive::BackgroundImageFile holds the structure used for backgroundImageFile property.
DriveTeamdrive::Capabilities holds the structure used for capabilities property.
DriveTeamdrive::Restrictions holds the structure used for restrictions property.
Teamdrive contains a representation of a Team Drive.
Structure to store additional information about a feed.
Base class for all objects.
A job to fetch a single map tile described by a StaticMapUrl.
This file is part of the KDE documentation.
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.