toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final canAcceptOwnership = this.canAcceptOwnership;
final canAddChildren = this.canAddChildren;
final canAddFolderFromAnotherDrive = this.canAddFolderFromAnotherDrive;
final canAddMyDriveParent = this.canAddMyDriveParent;
final canChangeCopyRequiresWriterPermission =
this.canChangeCopyRequiresWriterPermission;
final canChangeItemDownloadRestriction =
this.canChangeItemDownloadRestriction;
final canChangeSecurityUpdateEnabled = this.canChangeSecurityUpdateEnabled;
final canChangeViewersCanCopyContent = this.canChangeViewersCanCopyContent;
final canComment = this.canComment;
final canCopy = this.canCopy;
final canDelete = this.canDelete;
final canDeleteChildren = this.canDeleteChildren;
final canDisableInheritedPermissions = this.canDisableInheritedPermissions;
final canDownload = this.canDownload;
final canEdit = this.canEdit;
final canEnableInheritedPermissions = this.canEnableInheritedPermissions;
final canListChildren = this.canListChildren;
final canModifyContent = this.canModifyContent;
final canModifyContentRestriction = this.canModifyContentRestriction;
final canModifyEditorContentRestriction =
this.canModifyEditorContentRestriction;
final canModifyLabels = this.canModifyLabels;
final canModifyOwnerContentRestriction =
this.canModifyOwnerContentRestriction;
final canMoveChildrenOutOfDrive = this.canMoveChildrenOutOfDrive;
final canMoveChildrenOutOfTeamDrive = this.canMoveChildrenOutOfTeamDrive;
final canMoveChildrenWithinDrive = this.canMoveChildrenWithinDrive;
final canMoveChildrenWithinTeamDrive = this.canMoveChildrenWithinTeamDrive;
final canMoveItemIntoTeamDrive = this.canMoveItemIntoTeamDrive;
final canMoveItemOutOfDrive = this.canMoveItemOutOfDrive;
final canMoveItemOutOfTeamDrive = this.canMoveItemOutOfTeamDrive;
final canMoveItemWithinDrive = this.canMoveItemWithinDrive;
final canMoveItemWithinTeamDrive = this.canMoveItemWithinTeamDrive;
final canMoveTeamDriveItem = this.canMoveTeamDriveItem;
final canReadDrive = this.canReadDrive;
final canReadLabels = this.canReadLabels;
final canReadRevisions = this.canReadRevisions;
final canReadTeamDrive = this.canReadTeamDrive;
final canRemoveChildren = this.canRemoveChildren;
final canRemoveContentRestriction = this.canRemoveContentRestriction;
final canRemoveMyDriveParent = this.canRemoveMyDriveParent;
final canRename = this.canRename;
final canShare = this.canShare;
final canTrash = this.canTrash;
final canTrashChildren = this.canTrashChildren;
final canUntrash = this.canUntrash;
return {
'canAcceptOwnership': ?canAcceptOwnership,
'canAddChildren': ?canAddChildren,
'canAddFolderFromAnotherDrive': ?canAddFolderFromAnotherDrive,
'canAddMyDriveParent': ?canAddMyDriveParent,
'canChangeCopyRequiresWriterPermission':
?canChangeCopyRequiresWriterPermission,
'canChangeItemDownloadRestriction': ?canChangeItemDownloadRestriction,
'canChangeSecurityUpdateEnabled': ?canChangeSecurityUpdateEnabled,
'canChangeViewersCanCopyContent': ?canChangeViewersCanCopyContent,
'canComment': ?canComment,
'canCopy': ?canCopy,
'canDelete': ?canDelete,
'canDeleteChildren': ?canDeleteChildren,
'canDisableInheritedPermissions': ?canDisableInheritedPermissions,
'canDownload': ?canDownload,
'canEdit': ?canEdit,
'canEnableInheritedPermissions': ?canEnableInheritedPermissions,
'canListChildren': ?canListChildren,
'canModifyContent': ?canModifyContent,
'canModifyContentRestriction': ?canModifyContentRestriction,
'canModifyEditorContentRestriction': ?canModifyEditorContentRestriction,
'canModifyLabels': ?canModifyLabels,
'canModifyOwnerContentRestriction': ?canModifyOwnerContentRestriction,
'canMoveChildrenOutOfDrive': ?canMoveChildrenOutOfDrive,
'canMoveChildrenOutOfTeamDrive': ?canMoveChildrenOutOfTeamDrive,
'canMoveChildrenWithinDrive': ?canMoveChildrenWithinDrive,
'canMoveChildrenWithinTeamDrive': ?canMoveChildrenWithinTeamDrive,
'canMoveItemIntoTeamDrive': ?canMoveItemIntoTeamDrive,
'canMoveItemOutOfDrive': ?canMoveItemOutOfDrive,
'canMoveItemOutOfTeamDrive': ?canMoveItemOutOfTeamDrive,
'canMoveItemWithinDrive': ?canMoveItemWithinDrive,
'canMoveItemWithinTeamDrive': ?canMoveItemWithinTeamDrive,
'canMoveTeamDriveItem': ?canMoveTeamDriveItem,
'canReadDrive': ?canReadDrive,
'canReadLabels': ?canReadLabels,
'canReadRevisions': ?canReadRevisions,
'canReadTeamDrive': ?canReadTeamDrive,
'canRemoveChildren': ?canRemoveChildren,
'canRemoveContentRestriction': ?canRemoveContentRestriction,
'canRemoveMyDriveParent': ?canRemoveMyDriveParent,
'canRename': ?canRename,
'canShare': ?canShare,
'canTrash': ?canTrash,
'canTrashChildren': ?canTrashChildren,
'canUntrash': ?canUntrash,
};
}