File indexing completed on 2024-05-12 05:22:19
0001 /* 0002 SPDX-FileCopyrightText: 2012 Andrius da Costa Ribas <andriusmao@gmail.com> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #pragma once 0008 0009 #include "file.h" 0010 0011 #include <QVariantMap> 0012 0013 namespace KGAPI2 0014 { 0015 0016 namespace Drive 0017 { 0018 0019 class Q_DECL_HIDDEN File::Private 0020 { 0021 public: 0022 Private(); 0023 Private(const Private &other); 0024 0025 QString id; 0026 QUrl selfLink; 0027 QString title; 0028 QString mimeType; 0029 QString description; 0030 LabelsPtr labels; 0031 QDateTime createdDate; 0032 QDateTime modifiedDate; 0033 QDateTime modifiedByMeDate; 0034 QUrl downloadUrl; 0035 IndexableTextPtr indexableText; 0036 PermissionPtr userPermission; 0037 QString fileExtension; 0038 QString md5Checksum; 0039 qlonglong fileSize; 0040 QUrl alternateLink; 0041 QUrl embedLink; 0042 qlonglong version; 0043 QDateTime sharedWithMeDate; 0044 ParentReferencesList parents; 0045 QMap<QString, QUrl> exportLinks; 0046 QString originalFileName; 0047 qlonglong quotaBytesUsed; 0048 QList<QString> ownerNames; 0049 QString lastModifyingUserName; 0050 bool editable; 0051 bool writersCanShare; 0052 QUrl thumbnailLink; 0053 QDateTime lastViewedByMeDate; 0054 QUrl webContentLink; 0055 bool explicitlyTrashed; 0056 ImageMediaMetadataPtr imageMediaMetadata; 0057 ThumbnailPtr thumbnail; 0058 QUrl webViewLink; 0059 QUrl iconLink; 0060 bool shared; 0061 UsersList owners; 0062 UserPtr lastModifyingUser; 0063 0064 static FilePtr fromJSON(const QVariantMap &map); 0065 }; 0066 0067 } // namespace Drive 0068 0069 } // namespace KGAPI2