KGAPI2::Drive::Teamdrive::Capabilities
#include <teamdrive.h>
Public Member Functions | |
Capabilities (const Capabilities &other) | |
bool | canAddChildren () const |
bool | canChangeCopyRequiresWriterPermissionRestriction () const |
bool | canChangeDomainUsersOnlyRestriction () const |
bool | canChangeTeamDriveBackground () const |
bool | canChangeTeamMembersOnlyRestriction () const |
bool | canComment () const |
bool | canCopy () const |
bool | canDeleteChildren () const |
bool | canDeleteTeamDrive () const |
bool | canDownload () const |
bool | canEdit () const |
bool | canListChildren () const |
bool | canManageMembers () const |
bool | canReadRevisions () const |
bool | canRename () const |
bool | canRenameTeamDrive () const |
bool | canShare () const |
bool | canTrashChildren () const |
bool | operator!= (const Capabilities &other) const |
bool | operator== (const Capabilities &other) const |
Detailed Description
DriveTeamdrive::Capabilities holds the structure used for capabilities property.
Definition at line 134 of file teamdrive.h.
Constructor & Destructor Documentation
◆ Capabilities() [1/2]
Teamdrive::Capabilities::Capabilities | ( | ) |
Definition at line 127 of file teamdrive.cpp.
◆ Capabilities() [2/2]
Teamdrive::Capabilities::Capabilities | ( | const Capabilities & | other | ) |
Definition at line 132 of file teamdrive.cpp.
Member Function Documentation
◆ canAddChildren()
|
nodiscard |
Returns whether the current user can add children to folders in this Team Drive.
Definition at line 162 of file teamdrive.cpp.
◆ canChangeCopyRequiresWriterPermissionRestriction()
|
nodiscard |
Returns whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
Definition at line 167 of file teamdrive.cpp.
◆ canChangeDomainUsersOnlyRestriction()
|
nodiscard |
Returns whether the current user can change the domainUsersOnly restriction of this Team Drive.
Definition at line 172 of file teamdrive.cpp.
◆ canChangeTeamDriveBackground()
|
nodiscard |
Returns whether the current user can change the background of this Team Drive.
Definition at line 177 of file teamdrive.cpp.
◆ canChangeTeamMembersOnlyRestriction()
|
nodiscard |
Returns whether the current user can change the teamMembersOnly restriction of this Team Drive.
Definition at line 182 of file teamdrive.cpp.
◆ canComment()
|
nodiscard |
Returns Whether the current user can comment on files in this Team Drive.
Definition at line 187 of file teamdrive.cpp.
◆ canCopy()
|
nodiscard |
Returns Whether the current user can copy files in this Team Drive.
Definition at line 192 of file teamdrive.cpp.
◆ canDeleteChildren()
|
nodiscard |
Returns Whether the current user can delete children from folders in this Team Drive.
Definition at line 197 of file teamdrive.cpp.
◆ canDeleteTeamDrive()
|
nodiscard |
Returns Whether the current user can delete this Team Drive.
Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive.
Definition at line 202 of file teamdrive.cpp.
◆ canDownload()
|
nodiscard |
Returns Whether the current user can download files in this Team Drive.
Definition at line 207 of file teamdrive.cpp.
◆ canEdit()
|
nodiscard |
Returns Whether the current user can edit files in this Team Drive.
Definition at line 212 of file teamdrive.cpp.
◆ canListChildren()
|
nodiscard |
Returns Whether the current user can list the children of folders in this Team Drive.
Definition at line 217 of file teamdrive.cpp.
◆ canManageMembers()
|
nodiscard |
Returns Whether the current user can add members to this Team Drive or remove them or change their role.
Definition at line 222 of file teamdrive.cpp.
◆ canReadRevisions()
|
nodiscard |
Returns Whether the current user can read the revisions resource of files in this Team Drive.
Definition at line 227 of file teamdrive.cpp.
◆ canRename()
|
nodiscard |
Returns Whether the current user can rename files or folders in this Team Drive.
Definition at line 232 of file teamdrive.cpp.
◆ canRenameTeamDrive()
|
nodiscard |
Returns Whether the current user can rename this Team Drive.
Definition at line 237 of file teamdrive.cpp.
◆ canShare()
|
nodiscard |
Returns Whether the current user can share files or folders in this Team Drive.
Definition at line 242 of file teamdrive.cpp.
◆ canTrashChildren()
|
nodiscard |
Returns Whether the current user can trash children from folders in this Team Drive.
Definition at line 247 of file teamdrive.cpp.
◆ operator!=()
|
inline |
Definition at line 162 of file teamdrive.h.
◆ operator==()
bool Teamdrive::Capabilities::operator== | ( | const Capabilities & | other | ) | const |
Definition at line 139 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.