drive  v2
file.h
1 // Copyright 2010 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 // use this file except in compliance with the License. You may obtain a copy of
5 // the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 // License for the specific language governing permissions and limitations under
13 // the License.
14 
15 // This code was generated by google-apis-code-generator 1.5.1
16 // Build date: 2018-10-08 17:45:39 UTC
17 // on: 2020-03-19, 05:24:40 UTC
18 // C++ generator version: 0.1.4
19 
20 // ----------------------------------------------------------------------------
21 // NOTE: This file is generated from Google APIs Discovery Service.
22 // Service:
23 // Drive API (drive/v2)
24 // Generated from:
25 // Version: v2
26 // Revision: 393
27 // Generated by:
28 // Tool: google-apis-code-generator 1.5.1
29 // C++: 0.1.4
30 #ifndef GOOGLE_DRIVE_API_FILE_H_
31 #define GOOGLE_DRIVE_API_FILE_H_
32 
33 #include <string>
34 #include "googleapis/base/integral_types.h"
35 #include "googleapis/base/macros.h"
36 #include "googleapis/client/data/jsoncpp_data.h"
37 #include "googleapis/client/util/date_time.h"
38 #include "googleapis/strings/stringpiece.h"
39 
40 #include "google/drive_api/parent_reference.h"
41 #include "google/drive_api/permission.h"
42 #include "google/drive_api/property.h"
43 #include "google/drive_api/user.h"
44 
45 namespace Json {
46 class Value;
47 } // namespace Json
48 
49 namespace google_drive_api {
50 using namespace googleapis;
51 
57 class File : public client::JsonCppData {
58  public:
65  class FileCapabilities : public client::JsonCppData {
66  public:
72  static FileCapabilities* New();
73 
79  explicit FileCapabilities(const Json::Value& storage);
80 
86  explicit FileCapabilities(Json::Value* storage);
87 
91  virtual ~FileCapabilities();
92 
98  const StringPiece GetTypeName() const {
99  return StringPiece("google_drive_api::FileCapabilities");
100  }
101 
107  bool has_can_add_children() const {
108  return Storage().isMember("canAddChildren");
109  }
110 
115  MutableStorage()->removeMember("canAddChildren");
116  }
117 
118 
122  bool get_can_add_children() const {
123  const Json::Value& storage = Storage("canAddChildren");
124  return client::JsonValueToCppValueHelper<bool >(storage);
125  }
126 
135  void set_can_add_children(bool value) {
136  client::SetJsonValueFromCppValueHelper<bool >(
137  value, MutableStorage("canAddChildren"));
138  }
139 
146  return Storage().isMember("canAddMyDriveParent");
147  }
148 
153  MutableStorage()->removeMember("canAddMyDriveParent");
154  }
155 
156 
161  const Json::Value& storage = Storage("canAddMyDriveParent");
162  return client::JsonValueToCppValueHelper<bool >(storage);
163  }
164 
174  void set_can_add_my_drive_parent(bool value) {
175  client::SetJsonValueFromCppValueHelper<bool >(
176  value, MutableStorage("canAddMyDriveParent"));
177  }
178 
187  return Storage().isMember("canChangeCopyRequiresWriterPermission");
188  }
189 
195  MutableStorage()->removeMember("canChangeCopyRequiresWriterPermission");
196  }
197 
198 
204  const Json::Value& storage = Storage("canChangeCopyRequiresWriterPermission");
205  return client::JsonValueToCppValueHelper<bool >(storage);
206  }
207 
218  client::SetJsonValueFromCppValueHelper<bool >(
219  value, MutableStorage("canChangeCopyRequiresWriterPermission"));
220  }
221 
230  return Storage().isMember("canChangeRestrictedDownload");
231  }
232 
237  MutableStorage()->removeMember("canChangeRestrictedDownload");
238  }
239 
240 
246  const Json::Value& storage = Storage("canChangeRestrictedDownload");
247  return client::JsonValueToCppValueHelper<bool >(storage);
248  }
249 
260  client::SetJsonValueFromCppValueHelper<bool >(
261  value, MutableStorage("canChangeRestrictedDownload"));
262  }
263 
269  bool has_can_comment() const {
270  return Storage().isMember("canComment");
271  }
272 
277  MutableStorage()->removeMember("canComment");
278  }
279 
280 
284  bool get_can_comment() const {
285  const Json::Value& storage = Storage("canComment");
286  return client::JsonValueToCppValueHelper<bool >(storage);
287  }
288 
296  void set_can_comment(bool value) {
297  client::SetJsonValueFromCppValueHelper<bool >(
298  value, MutableStorage("canComment"));
299  }
300 
306  bool has_can_copy() const {
307  return Storage().isMember("canCopy");
308  }
309 
313  void clear_can_copy() {
314  MutableStorage()->removeMember("canCopy");
315  }
316 
317 
321  bool get_can_copy() const {
322  const Json::Value& storage = Storage("canCopy");
323  return client::JsonValueToCppValueHelper<bool >(storage);
324  }
325 
335  void set_can_copy(bool value) {
336  client::SetJsonValueFromCppValueHelper<bool >(
337  value, MutableStorage("canCopy"));
338  }
339 
345  bool has_can_delete() const {
346  return Storage().isMember("canDelete");
347  }
348 
353  MutableStorage()->removeMember("canDelete");
354  }
355 
356 
360  bool get_can_delete() const {
361  const Json::Value& storage = Storage("canDelete");
362  return client::JsonValueToCppValueHelper<bool >(storage);
363  }
364 
372  void set_can_delete(bool value) {
373  client::SetJsonValueFromCppValueHelper<bool >(
374  value, MutableStorage("canDelete"));
375  }
376 
382  bool has_can_delete_children() const {
383  return Storage().isMember("canDeleteChildren");
384  }
385 
390  MutableStorage()->removeMember("canDeleteChildren");
391  }
392 
393 
397  bool get_can_delete_children() const {
398  const Json::Value& storage = Storage("canDeleteChildren");
399  return client::JsonValueToCppValueHelper<bool >(storage);
400  }
401 
411  void set_can_delete_children(bool value) {
412  client::SetJsonValueFromCppValueHelper<bool >(
413  value, MutableStorage("canDeleteChildren"));
414  }
415 
421  bool has_can_download() const {
422  return Storage().isMember("canDownload");
423  }
424 
429  MutableStorage()->removeMember("canDownload");
430  }
431 
432 
436  bool get_can_download() const {
437  const Json::Value& storage = Storage("canDownload");
438  return client::JsonValueToCppValueHelper<bool >(storage);
439  }
440 
448  void set_can_download(bool value) {
449  client::SetJsonValueFromCppValueHelper<bool >(
450  value, MutableStorage("canDownload"));
451  }
452 
458  bool has_can_edit() const {
459  return Storage().isMember("canEdit");
460  }
461 
465  void clear_can_edit() {
466  MutableStorage()->removeMember("canEdit");
467  }
468 
469 
473  bool get_can_edit() const {
474  const Json::Value& storage = Storage("canEdit");
475  return client::JsonValueToCppValueHelper<bool >(storage);
476  }
477 
487  void set_can_edit(bool value) {
488  client::SetJsonValueFromCppValueHelper<bool >(
489  value, MutableStorage("canEdit"));
490  }
491 
497  bool has_can_list_children() const {
498  return Storage().isMember("canListChildren");
499  }
500 
505  MutableStorage()->removeMember("canListChildren");
506  }
507 
508 
512  bool get_can_list_children() const {
513  const Json::Value& storage = Storage("canListChildren");
514  return client::JsonValueToCppValueHelper<bool >(storage);
515  }
516 
525  void set_can_list_children(bool value) {
526  client::SetJsonValueFromCppValueHelper<bool >(
527  value, MutableStorage("canListChildren"));
528  }
529 
535  bool has_can_modify_content() const {
536  return Storage().isMember("canModifyContent");
537  }
538 
543  MutableStorage()->removeMember("canModifyContent");
544  }
545 
546 
550  bool get_can_modify_content() const {
551  const Json::Value& storage = Storage("canModifyContent");
552  return client::JsonValueToCppValueHelper<bool >(storage);
553  }
554 
562  void set_can_modify_content(bool value) {
563  client::SetJsonValueFromCppValueHelper<bool >(
564  value, MutableStorage("canModifyContent"));
565  }
566 
575  return Storage().isMember("canMoveChildrenOutOfDrive");
576  }
577 
582  MutableStorage()->removeMember("canMoveChildrenOutOfDrive");
583  }
584 
585 
590  const Json::Value& storage = Storage("canMoveChildrenOutOfDrive");
591  return client::JsonValueToCppValueHelper<bool >(storage);
592  }
593 
604  client::SetJsonValueFromCppValueHelper<bool >(
605  value, MutableStorage("canMoveChildrenOutOfDrive"));
606  }
607 
616  return Storage().isMember("canMoveChildrenOutOfTeamDrive");
617  }
618 
623  MutableStorage()->removeMember("canMoveChildrenOutOfTeamDrive");
624  }
625 
626 
632  const Json::Value& storage = Storage("canMoveChildrenOutOfTeamDrive");
633  return client::JsonValueToCppValueHelper<bool >(storage);
634  }
635 
646  client::SetJsonValueFromCppValueHelper<bool >(
647  value, MutableStorage("canMoveChildrenOutOfTeamDrive"));
648  }
649 
658  return Storage().isMember("canMoveChildrenWithinDrive");
659  }
660 
665  MutableStorage()->removeMember("canMoveChildrenWithinDrive");
666  }
667 
668 
673  const Json::Value& storage = Storage("canMoveChildrenWithinDrive");
674  return client::JsonValueToCppValueHelper<bool >(storage);
675  }
676 
687  client::SetJsonValueFromCppValueHelper<bool >(
688  value, MutableStorage("canMoveChildrenWithinDrive"));
689  }
690 
699  return Storage().isMember("canMoveChildrenWithinTeamDrive");
700  }
701 
706  MutableStorage()->removeMember("canMoveChildrenWithinTeamDrive");
707  }
708 
709 
715  const Json::Value& storage = Storage("canMoveChildrenWithinTeamDrive");
716  return client::JsonValueToCppValueHelper<bool >(storage);
717  }
718 
729  client::SetJsonValueFromCppValueHelper<bool >(
730  value, MutableStorage("canMoveChildrenWithinTeamDrive"));
731  }
732 
741  return Storage().isMember("canMoveItemIntoTeamDrive");
742  }
743 
748  MutableStorage()->removeMember("canMoveItemIntoTeamDrive");
749  }
750 
751 
756  const Json::Value& storage = Storage("canMoveItemIntoTeamDrive");
757  return client::JsonValueToCppValueHelper<bool >(storage);
758  }
759 
770  client::SetJsonValueFromCppValueHelper<bool >(
771  value, MutableStorage("canMoveItemIntoTeamDrive"));
772  }
773 
781  return Storage().isMember("canMoveItemOutOfDrive");
782  }
783 
788  MutableStorage()->removeMember("canMoveItemOutOfDrive");
789  }
790 
791 
796  const Json::Value& storage = Storage("canMoveItemOutOfDrive");
797  return client::JsonValueToCppValueHelper<bool >(storage);
798  }
799 
810  client::SetJsonValueFromCppValueHelper<bool >(
811  value, MutableStorage("canMoveItemOutOfDrive"));
812  }
813 
822  return Storage().isMember("canMoveItemOutOfTeamDrive");
823  }
824 
829  MutableStorage()->removeMember("canMoveItemOutOfTeamDrive");
830  }
831 
832 
837  const Json::Value& storage = Storage("canMoveItemOutOfTeamDrive");
838  return client::JsonValueToCppValueHelper<bool >(storage);
839  }
840 
851  client::SetJsonValueFromCppValueHelper<bool >(
852  value, MutableStorage("canMoveItemOutOfTeamDrive"));
853  }
854 
862  return Storage().isMember("canMoveItemWithinDrive");
863  }
864 
869  MutableStorage()->removeMember("canMoveItemWithinDrive");
870  }
871 
872 
877  const Json::Value& storage = Storage("canMoveItemWithinDrive");
878  return client::JsonValueToCppValueHelper<bool >(storage);
879  }
880 
892  client::SetJsonValueFromCppValueHelper<bool >(
893  value, MutableStorage("canMoveItemWithinDrive"));
894  }
895 
904  return Storage().isMember("canMoveItemWithinTeamDrive");
905  }
906 
911  MutableStorage()->removeMember("canMoveItemWithinTeamDrive");
912  }
913 
914 
919  const Json::Value& storage = Storage("canMoveItemWithinTeamDrive");
920  return client::JsonValueToCppValueHelper<bool >(storage);
921  }
922 
933  client::SetJsonValueFromCppValueHelper<bool >(
934  value, MutableStorage("canMoveItemWithinTeamDrive"));
935  }
936 
944  return Storage().isMember("canMoveTeamDriveItem");
945  }
946 
951  MutableStorage()->removeMember("canMoveTeamDriveItem");
952  }
953 
954 
959  const Json::Value& storage = Storage("canMoveTeamDriveItem");
960  return client::JsonValueToCppValueHelper<bool >(storage);
961  }
962 
972  void set_can_move_team_drive_item(bool value) {
973  client::SetJsonValueFromCppValueHelper<bool >(
974  value, MutableStorage("canMoveTeamDriveItem"));
975  }
976 
982  bool has_can_read_drive() const {
983  return Storage().isMember("canReadDrive");
984  }
985 
990  MutableStorage()->removeMember("canReadDrive");
991  }
992 
993 
997  bool get_can_read_drive() const {
998  const Json::Value& storage = Storage("canReadDrive");
999  return client::JsonValueToCppValueHelper<bool >(storage);
1000  }
1001 
1010  void set_can_read_drive(bool value) {
1011  client::SetJsonValueFromCppValueHelper<bool >(
1012  value, MutableStorage("canReadDrive"));
1013  }
1014 
1020  bool has_can_read_revisions() const {
1021  return Storage().isMember("canReadRevisions");
1022  }
1023 
1028  MutableStorage()->removeMember("canReadRevisions");
1029  }
1030 
1031 
1035  bool get_can_read_revisions() const {
1036  const Json::Value& storage = Storage("canReadRevisions");
1037  return client::JsonValueToCppValueHelper<bool >(storage);
1038  }
1039 
1049  void set_can_read_revisions(bool value) {
1050  client::SetJsonValueFromCppValueHelper<bool >(
1051  value, MutableStorage("canReadRevisions"));
1052  }
1053 
1060  return Storage().isMember("canReadTeamDrive");
1061  }
1062 
1067  MutableStorage()->removeMember("canReadTeamDrive");
1068  }
1069 
1070 
1075  const Json::Value& storage = Storage("canReadTeamDrive");
1076  return client::JsonValueToCppValueHelper<bool >(storage);
1077  }
1078 
1088  void set_can_read_team_drive(bool value) {
1089  client::SetJsonValueFromCppValueHelper<bool >(
1090  value, MutableStorage("canReadTeamDrive"));
1091  }
1092 
1099  return Storage().isMember("canRemoveChildren");
1100  }
1101 
1106  MutableStorage()->removeMember("canRemoveChildren");
1107  }
1108 
1109 
1114  const Json::Value& storage = Storage("canRemoveChildren");
1115  return client::JsonValueToCppValueHelper<bool >(storage);
1116  }
1117 
1127  void set_can_remove_children(bool value) {
1128  client::SetJsonValueFromCppValueHelper<bool >(
1129  value, MutableStorage("canRemoveChildren"));
1130  }
1131 
1139  return Storage().isMember("canRemoveMyDriveParent");
1140  }
1141 
1146  MutableStorage()->removeMember("canRemoveMyDriveParent");
1147  }
1148 
1149 
1154  const Json::Value& storage = Storage("canRemoveMyDriveParent");
1155  return client::JsonValueToCppValueHelper<bool >(storage);
1156  }
1157 
1167  client::SetJsonValueFromCppValueHelper<bool >(
1168  value, MutableStorage("canRemoveMyDriveParent"));
1169  }
1170 
1176  bool has_can_rename() const {
1177  return Storage().isMember("canRename");
1178  }
1179 
1184  MutableStorage()->removeMember("canRename");
1185  }
1186 
1187 
1191  bool get_can_rename() const {
1192  const Json::Value& storage = Storage("canRename");
1193  return client::JsonValueToCppValueHelper<bool >(storage);
1194  }
1195 
1203  void set_can_rename(bool value) {
1204  client::SetJsonValueFromCppValueHelper<bool >(
1205  value, MutableStorage("canRename"));
1206  }
1207 
1213  bool has_can_share() const {
1214  return Storage().isMember("canShare");
1215  }
1216 
1221  MutableStorage()->removeMember("canShare");
1222  }
1223 
1224 
1228  bool get_can_share() const {
1229  const Json::Value& storage = Storage("canShare");
1230  return client::JsonValueToCppValueHelper<bool >(storage);
1231  }
1232 
1240  void set_can_share(bool value) {
1241  client::SetJsonValueFromCppValueHelper<bool >(
1242  value, MutableStorage("canShare"));
1243  }
1244 
1250  bool has_can_trash() const {
1251  return Storage().isMember("canTrash");
1252  }
1253 
1258  MutableStorage()->removeMember("canTrash");
1259  }
1260 
1261 
1265  bool get_can_trash() const {
1266  const Json::Value& storage = Storage("canTrash");
1267  return client::JsonValueToCppValueHelper<bool >(storage);
1268  }
1269 
1277  void set_can_trash(bool value) {
1278  client::SetJsonValueFromCppValueHelper<bool >(
1279  value, MutableStorage("canTrash"));
1280  }
1281 
1287  bool has_can_trash_children() const {
1288  return Storage().isMember("canTrashChildren");
1289  }
1290 
1295  MutableStorage()->removeMember("canTrashChildren");
1296  }
1297 
1298 
1302  bool get_can_trash_children() const {
1303  const Json::Value& storage = Storage("canTrashChildren");
1304  return client::JsonValueToCppValueHelper<bool >(storage);
1305  }
1306 
1315  void set_can_trash_children(bool value) {
1316  client::SetJsonValueFromCppValueHelper<bool >(
1317  value, MutableStorage("canTrashChildren"));
1318  }
1319 
1325  bool has_can_untrash() const {
1326  return Storage().isMember("canUntrash");
1327  }
1328 
1333  MutableStorage()->removeMember("canUntrash");
1334  }
1335 
1336 
1340  bool get_can_untrash() const {
1341  const Json::Value& storage = Storage("canUntrash");
1342  return client::JsonValueToCppValueHelper<bool >(storage);
1343  }
1344 
1352  void set_can_untrash(bool value) {
1353  client::SetJsonValueFromCppValueHelper<bool >(
1354  value, MutableStorage("canUntrash"));
1355  }
1356 
1357  private:
1358  void operator=(const FileCapabilities&);
1359  }; // FileCapabilities
1366  class FileImageMediaMetadata : public client::JsonCppData {
1367  public:
1373  class FileImageMediaMetadataLocation : public client::JsonCppData {
1374  public:
1380  static FileImageMediaMetadataLocation* New();
1381 
1387  explicit FileImageMediaMetadataLocation(const Json::Value& storage);
1388 
1394  explicit FileImageMediaMetadataLocation(Json::Value* storage);
1395 
1399  virtual ~FileImageMediaMetadataLocation();
1400 
1406  const StringPiece GetTypeName() const {
1407  return StringPiece("google_drive_api::FileImageMediaMetadataLocation");
1408  }
1409 
1415  bool has_altitude() const {
1416  return Storage().isMember("altitude");
1417  }
1418 
1423  MutableStorage()->removeMember("altitude");
1424  }
1425 
1426 
1430  double get_altitude() const {
1431  const Json::Value& storage = Storage("altitude");
1432  return client::JsonValueToCppValueHelper<double >(storage);
1433  }
1434 
1442  void set_altitude(double value) {
1443  client::SetJsonValueFromCppValueHelper<double >(
1444  value, MutableStorage("altitude"));
1445  }
1446 
1452  bool has_latitude() const {
1453  return Storage().isMember("latitude");
1454  }
1455 
1460  MutableStorage()->removeMember("latitude");
1461  }
1462 
1463 
1467  double get_latitude() const {
1468  const Json::Value& storage = Storage("latitude");
1469  return client::JsonValueToCppValueHelper<double >(storage);
1470  }
1471 
1479  void set_latitude(double value) {
1480  client::SetJsonValueFromCppValueHelper<double >(
1481  value, MutableStorage("latitude"));
1482  }
1483 
1489  bool has_longitude() const {
1490  return Storage().isMember("longitude");
1491  }
1492 
1497  MutableStorage()->removeMember("longitude");
1498  }
1499 
1500 
1504  double get_longitude() const {
1505  const Json::Value& storage = Storage("longitude");
1506  return client::JsonValueToCppValueHelper<double >(storage);
1507  }
1508 
1516  void set_longitude(double value) {
1517  client::SetJsonValueFromCppValueHelper<double >(
1518  value, MutableStorage("longitude"));
1519  }
1520 
1521  private:
1522  void operator=(const FileImageMediaMetadataLocation&);
1523  }; // FileImageMediaMetadataLocation
1529  static FileImageMediaMetadata* New();
1530 
1536  explicit FileImageMediaMetadata(const Json::Value& storage);
1537 
1543  explicit FileImageMediaMetadata(Json::Value* storage);
1544 
1548  virtual ~FileImageMediaMetadata();
1549 
1555  const StringPiece GetTypeName() const {
1556  return StringPiece("google_drive_api::FileImageMediaMetadata");
1557  }
1558 
1564  bool has_aperture() const {
1565  return Storage().isMember("aperture");
1566  }
1567 
1572  MutableStorage()->removeMember("aperture");
1573  }
1574 
1575 
1579  float get_aperture() const {
1580  const Json::Value& storage = Storage("aperture");
1581  return client::JsonValueToCppValueHelper<float >(storage);
1582  }
1583 
1591  void set_aperture(float value) {
1592  client::SetJsonValueFromCppValueHelper<float >(
1593  value, MutableStorage("aperture"));
1594  }
1595 
1601  bool has_camera_make() const {
1602  return Storage().isMember("cameraMake");
1603  }
1604 
1609  MutableStorage()->removeMember("cameraMake");
1610  }
1611 
1612 
1616  const StringPiece get_camera_make() const {
1617  const Json::Value& v = Storage("cameraMake");
1618  if (v == Json::Value::null) return StringPiece("");
1619  return StringPiece(v.asCString());
1620  }
1621 
1629  void set_camera_make(const StringPiece& value) {
1630  *MutableStorage("cameraMake") = value.data();
1631  }
1632 
1638  bool has_camera_model() const {
1639  return Storage().isMember("cameraModel");
1640  }
1641 
1646  MutableStorage()->removeMember("cameraModel");
1647  }
1648 
1649 
1653  const StringPiece get_camera_model() const {
1654  const Json::Value& v = Storage("cameraModel");
1655  if (v == Json::Value::null) return StringPiece("");
1656  return StringPiece(v.asCString());
1657  }
1658 
1666  void set_camera_model(const StringPiece& value) {
1667  *MutableStorage("cameraModel") = value.data();
1668  }
1669 
1675  bool has_color_space() const {
1676  return Storage().isMember("colorSpace");
1677  }
1678 
1683  MutableStorage()->removeMember("colorSpace");
1684  }
1685 
1686 
1690  const StringPiece get_color_space() const {
1691  const Json::Value& v = Storage("colorSpace");
1692  if (v == Json::Value::null) return StringPiece("");
1693  return StringPiece(v.asCString());
1694  }
1695 
1703  void set_color_space(const StringPiece& value) {
1704  *MutableStorage("colorSpace") = value.data();
1705  }
1706 
1712  bool has_date() const {
1713  return Storage().isMember("date");
1714  }
1715 
1719  void clear_date() {
1720  MutableStorage()->removeMember("date");
1721  }
1722 
1723 
1727  const StringPiece get_date() const {
1728  const Json::Value& v = Storage("date");
1729  if (v == Json::Value::null) return StringPiece("");
1730  return StringPiece(v.asCString());
1731  }
1732 
1740  void set_date(const StringPiece& value) {
1741  *MutableStorage("date") = value.data();
1742  }
1743 
1749  bool has_exposure_bias() const {
1750  return Storage().isMember("exposureBias");
1751  }
1752 
1757  MutableStorage()->removeMember("exposureBias");
1758  }
1759 
1760 
1764  float get_exposure_bias() const {
1765  const Json::Value& storage = Storage("exposureBias");
1766  return client::JsonValueToCppValueHelper<float >(storage);
1767  }
1768 
1776  void set_exposure_bias(float value) {
1777  client::SetJsonValueFromCppValueHelper<float >(
1778  value, MutableStorage("exposureBias"));
1779  }
1780 
1786  bool has_exposure_mode() const {
1787  return Storage().isMember("exposureMode");
1788  }
1789 
1794  MutableStorage()->removeMember("exposureMode");
1795  }
1796 
1797 
1801  const StringPiece get_exposure_mode() const {
1802  const Json::Value& v = Storage("exposureMode");
1803  if (v == Json::Value::null) return StringPiece("");
1804  return StringPiece(v.asCString());
1805  }
1806 
1814  void set_exposure_mode(const StringPiece& value) {
1815  *MutableStorage("exposureMode") = value.data();
1816  }
1817 
1823  bool has_exposure_time() const {
1824  return Storage().isMember("exposureTime");
1825  }
1826 
1831  MutableStorage()->removeMember("exposureTime");
1832  }
1833 
1834 
1838  float get_exposure_time() const {
1839  const Json::Value& storage = Storage("exposureTime");
1840  return client::JsonValueToCppValueHelper<float >(storage);
1841  }
1842 
1850  void set_exposure_time(float value) {
1851  client::SetJsonValueFromCppValueHelper<float >(
1852  value, MutableStorage("exposureTime"));
1853  }
1854 
1860  bool has_flash_used() const {
1861  return Storage().isMember("flashUsed");
1862  }
1863 
1868  MutableStorage()->removeMember("flashUsed");
1869  }
1870 
1871 
1875  bool get_flash_used() const {
1876  const Json::Value& storage = Storage("flashUsed");
1877  return client::JsonValueToCppValueHelper<bool >(storage);
1878  }
1879 
1887  void set_flash_used(bool value) {
1888  client::SetJsonValueFromCppValueHelper<bool >(
1889  value, MutableStorage("flashUsed"));
1890  }
1891 
1897  bool has_focal_length() const {
1898  return Storage().isMember("focalLength");
1899  }
1900 
1905  MutableStorage()->removeMember("focalLength");
1906  }
1907 
1908 
1912  float get_focal_length() const {
1913  const Json::Value& storage = Storage("focalLength");
1914  return client::JsonValueToCppValueHelper<float >(storage);
1915  }
1916 
1924  void set_focal_length(float value) {
1925  client::SetJsonValueFromCppValueHelper<float >(
1926  value, MutableStorage("focalLength"));
1927  }
1928 
1934  bool has_height() const {
1935  return Storage().isMember("height");
1936  }
1937 
1941  void clear_height() {
1942  MutableStorage()->removeMember("height");
1943  }
1944 
1945 
1949  int32 get_height() const {
1950  const Json::Value& storage = Storage("height");
1951  return client::JsonValueToCppValueHelper<int32 >(storage);
1952  }
1953 
1961  void set_height(int32 value) {
1962  client::SetJsonValueFromCppValueHelper<int32 >(
1963  value, MutableStorage("height"));
1964  }
1965 
1971  bool has_iso_speed() const {
1972  return Storage().isMember("isoSpeed");
1973  }
1974 
1979  MutableStorage()->removeMember("isoSpeed");
1980  }
1981 
1982 
1986  int32 get_iso_speed() const {
1987  const Json::Value& storage = Storage("isoSpeed");
1988  return client::JsonValueToCppValueHelper<int32 >(storage);
1989  }
1990 
1998  void set_iso_speed(int32 value) {
1999  client::SetJsonValueFromCppValueHelper<int32 >(
2000  value, MutableStorage("isoSpeed"));
2001  }
2002 
2008  bool has_lens() const {
2009  return Storage().isMember("lens");
2010  }
2011 
2015  void clear_lens() {
2016  MutableStorage()->removeMember("lens");
2017  }
2018 
2019 
2023  const StringPiece get_lens() const {
2024  const Json::Value& v = Storage("lens");
2025  if (v == Json::Value::null) return StringPiece("");
2026  return StringPiece(v.asCString());
2027  }
2028 
2036  void set_lens(const StringPiece& value) {
2037  *MutableStorage("lens") = value.data();
2038  }
2039 
2045  bool has_location() const {
2046  return Storage().isMember("location");
2047  }
2048 
2053  MutableStorage()->removeMember("location");
2054  }
2055 
2056 
2061  const Json::Value& storage = Storage("location");
2062  return client::JsonValueToCppValueHelper<FileImageMediaMetadataLocation >(storage);
2063  }
2064 
2074  Json::Value* storage = MutableStorage("location");
2075  return client::JsonValueToMutableCppValueHelper<FileImageMediaMetadataLocation >(storage);
2076  }
2077 
2083  bool has_max_aperture_value() const {
2084  return Storage().isMember("maxApertureValue");
2085  }
2086 
2091  MutableStorage()->removeMember("maxApertureValue");
2092  }
2093 
2094 
2098  float get_max_aperture_value() const {
2099  const Json::Value& storage = Storage("maxApertureValue");
2100  return client::JsonValueToCppValueHelper<float >(storage);
2101  }
2102 
2111  void set_max_aperture_value(float value) {
2112  client::SetJsonValueFromCppValueHelper<float >(
2113  value, MutableStorage("maxApertureValue"));
2114  }
2115 
2121  bool has_metering_mode() const {
2122  return Storage().isMember("meteringMode");
2123  }
2124 
2129  MutableStorage()->removeMember("meteringMode");
2130  }
2131 
2132 
2136  const StringPiece get_metering_mode() const {
2137  const Json::Value& v = Storage("meteringMode");
2138  if (v == Json::Value::null) return StringPiece("");
2139  return StringPiece(v.asCString());
2140  }
2141 
2149  void set_metering_mode(const StringPiece& value) {
2150  *MutableStorage("meteringMode") = value.data();
2151  }
2152 
2158  bool has_rotation() const {
2159  return Storage().isMember("rotation");
2160  }
2161 
2166  MutableStorage()->removeMember("rotation");
2167  }
2168 
2169 
2173  int32 get_rotation() const {
2174  const Json::Value& storage = Storage("rotation");
2175  return client::JsonValueToCppValueHelper<int32 >(storage);
2176  }
2177 
2185  void set_rotation(int32 value) {
2186  client::SetJsonValueFromCppValueHelper<int32 >(
2187  value, MutableStorage("rotation"));
2188  }
2189 
2195  bool has_sensor() const {
2196  return Storage().isMember("sensor");
2197  }
2198 
2202  void clear_sensor() {
2203  MutableStorage()->removeMember("sensor");
2204  }
2205 
2206 
2210  const StringPiece get_sensor() const {
2211  const Json::Value& v = Storage("sensor");
2212  if (v == Json::Value::null) return StringPiece("");
2213  return StringPiece(v.asCString());
2214  }
2215 
2223  void set_sensor(const StringPiece& value) {
2224  *MutableStorage("sensor") = value.data();
2225  }
2226 
2232  bool has_subject_distance() const {
2233  return Storage().isMember("subjectDistance");
2234  }
2235 
2240  MutableStorage()->removeMember("subjectDistance");
2241  }
2242 
2243 
2247  int32 get_subject_distance() const {
2248  const Json::Value& storage = Storage("subjectDistance");
2249  return client::JsonValueToCppValueHelper<int32 >(storage);
2250  }
2251 
2259  void set_subject_distance(int32 value) {
2260  client::SetJsonValueFromCppValueHelper<int32 >(
2261  value, MutableStorage("subjectDistance"));
2262  }
2263 
2269  bool has_white_balance() const {
2270  return Storage().isMember("whiteBalance");
2271  }
2272 
2277  MutableStorage()->removeMember("whiteBalance");
2278  }
2279 
2280 
2284  const StringPiece get_white_balance() const {
2285  const Json::Value& v = Storage("whiteBalance");
2286  if (v == Json::Value::null) return StringPiece("");
2287  return StringPiece(v.asCString());
2288  }
2289 
2297  void set_white_balance(const StringPiece& value) {
2298  *MutableStorage("whiteBalance") = value.data();
2299  }
2300 
2306  bool has_width() const {
2307  return Storage().isMember("width");
2308  }
2309 
2313  void clear_width() {
2314  MutableStorage()->removeMember("width");
2315  }
2316 
2317 
2321  int32 get_width() const {
2322  const Json::Value& storage = Storage("width");
2323  return client::JsonValueToCppValueHelper<int32 >(storage);
2324  }
2325 
2333  void set_width(int32 value) {
2334  client::SetJsonValueFromCppValueHelper<int32 >(
2335  value, MutableStorage("width"));
2336  }
2337 
2338  private:
2339  void operator=(const FileImageMediaMetadata&);
2340  }; // FileImageMediaMetadata
2346  class FileIndexableText : public client::JsonCppData {
2347  public:
2353  static FileIndexableText* New();
2354 
2360  explicit FileIndexableText(const Json::Value& storage);
2361 
2367  explicit FileIndexableText(Json::Value* storage);
2368 
2372  virtual ~FileIndexableText();
2373 
2379  const StringPiece GetTypeName() const {
2380  return StringPiece("google_drive_api::FileIndexableText");
2381  }
2382 
2388  bool has_text() const {
2389  return Storage().isMember("text");
2390  }
2391 
2395  void clear_text() {
2396  MutableStorage()->removeMember("text");
2397  }
2398 
2399 
2403  const StringPiece get_text() const {
2404  const Json::Value& v = Storage("text");
2405  if (v == Json::Value::null) return StringPiece("");
2406  return StringPiece(v.asCString());
2407  }
2408 
2416  void set_text(const StringPiece& value) {
2417  *MutableStorage("text") = value.data();
2418  }
2419 
2420  private:
2421  void operator=(const FileIndexableText&);
2422  }; // FileIndexableText
2428  class FileLabels : public client::JsonCppData {
2429  public:
2435  static FileLabels* New();
2436 
2442  explicit FileLabels(const Json::Value& storage);
2443 
2449  explicit FileLabels(Json::Value* storage);
2450 
2454  virtual ~FileLabels();
2455 
2461  const StringPiece GetTypeName() const {
2462  return StringPiece("google_drive_api::FileLabels");
2463  }
2464 
2470  bool has_hidden() const {
2471  return Storage().isMember("hidden");
2472  }
2473 
2477  void clear_hidden() {
2478  MutableStorage()->removeMember("hidden");
2479  }
2480 
2481 
2485  bool get_hidden() const {
2486  const Json::Value& storage = Storage("hidden");
2487  return client::JsonValueToCppValueHelper<bool >(storage);
2488  }
2489 
2499  void set_hidden(bool value) {
2500  client::SetJsonValueFromCppValueHelper<bool >(
2501  value, MutableStorage("hidden"));
2502  }
2503 
2509  bool has_modified() const {
2510  return Storage().isMember("modified");
2511  }
2512 
2517  MutableStorage()->removeMember("modified");
2518  }
2519 
2520 
2524  bool get_modified() const {
2525  const Json::Value& storage = Storage("modified");
2526  return client::JsonValueToCppValueHelper<bool >(storage);
2527  }
2528 
2536  void set_modified(bool value) {
2537  client::SetJsonValueFromCppValueHelper<bool >(
2538  value, MutableStorage("modified"));
2539  }
2540 
2546  bool has_restricted() const {
2547  return Storage().isMember("restricted");
2548  }
2549 
2554  MutableStorage()->removeMember("restricted");
2555  }
2556 
2557 
2561  bool get_restricted() const {
2562  const Json::Value& storage = Storage("restricted");
2563  return client::JsonValueToCppValueHelper<bool >(storage);
2564  }
2565 
2575  void set_restricted(bool value) {
2576  client::SetJsonValueFromCppValueHelper<bool >(
2577  value, MutableStorage("restricted"));
2578  }
2579 
2585  bool has_starred() const {
2586  return Storage().isMember("starred");
2587  }
2588 
2592  void clear_starred() {
2593  MutableStorage()->removeMember("starred");
2594  }
2595 
2596 
2600  bool get_starred() const {
2601  const Json::Value& storage = Storage("starred");
2602  return client::JsonValueToCppValueHelper<bool >(storage);
2603  }
2604 
2612  void set_starred(bool value) {
2613  client::SetJsonValueFromCppValueHelper<bool >(
2614  value, MutableStorage("starred"));
2615  }
2616 
2622  bool has_trashed() const {
2623  return Storage().isMember("trashed");
2624  }
2625 
2629  void clear_trashed() {
2630  MutableStorage()->removeMember("trashed");
2631  }
2632 
2633 
2637  bool get_trashed() const {
2638  const Json::Value& storage = Storage("trashed");
2639  return client::JsonValueToCppValueHelper<bool >(storage);
2640  }
2641 
2651  void set_trashed(bool value) {
2652  client::SetJsonValueFromCppValueHelper<bool >(
2653  value, MutableStorage("trashed"));
2654  }
2655 
2661  bool has_viewed() const {
2662  return Storage().isMember("viewed");
2663  }
2664 
2668  void clear_viewed() {
2669  MutableStorage()->removeMember("viewed");
2670  }
2671 
2672 
2676  bool get_viewed() const {
2677  const Json::Value& storage = Storage("viewed");
2678  return client::JsonValueToCppValueHelper<bool >(storage);
2679  }
2680 
2688  void set_viewed(bool value) {
2689  client::SetJsonValueFromCppValueHelper<bool >(
2690  value, MutableStorage("viewed"));
2691  }
2692 
2693  private:
2694  void operator=(const FileLabels&);
2695  }; // FileLabels
2702  class FileShortcutDetails : public client::JsonCppData {
2703  public:
2709  static FileShortcutDetails* New();
2710 
2716  explicit FileShortcutDetails(const Json::Value& storage);
2717 
2723  explicit FileShortcutDetails(Json::Value* storage);
2724 
2728  virtual ~FileShortcutDetails();
2729 
2735  const StringPiece GetTypeName() const {
2736  return StringPiece("google_drive_api::FileShortcutDetails");
2737  }
2738 
2744  bool has_target_id() const {
2745  return Storage().isMember("targetId");
2746  }
2747 
2752  MutableStorage()->removeMember("targetId");
2753  }
2754 
2755 
2759  const StringPiece get_target_id() const {
2760  const Json::Value& v = Storage("targetId");
2761  if (v == Json::Value::null) return StringPiece("");
2762  return StringPiece(v.asCString());
2763  }
2764 
2772  void set_target_id(const StringPiece& value) {
2773  *MutableStorage("targetId") = value.data();
2774  }
2775 
2781  bool has_target_mime_type() const {
2782  return Storage().isMember("targetMimeType");
2783  }
2784 
2789  MutableStorage()->removeMember("targetMimeType");
2790  }
2791 
2792 
2796  const StringPiece get_target_mime_type() const {
2797  const Json::Value& v = Storage("targetMimeType");
2798  if (v == Json::Value::null) return StringPiece("");
2799  return StringPiece(v.asCString());
2800  }
2801 
2811  void set_target_mime_type(const StringPiece& value) {
2812  *MutableStorage("targetMimeType") = value.data();
2813  }
2814 
2815  private:
2816  void operator=(const FileShortcutDetails&);
2817  }; // FileShortcutDetails
2824  class FileThumbnail : public client::JsonCppData {
2825  public:
2831  static FileThumbnail* New();
2832 
2838  explicit FileThumbnail(const Json::Value& storage);
2839 
2845  explicit FileThumbnail(Json::Value* storage);
2846 
2850  virtual ~FileThumbnail();
2851 
2857  const StringPiece GetTypeName() const {
2858  return StringPiece("google_drive_api::FileThumbnail");
2859  }
2860 
2866  bool has_image() const {
2867  return Storage().isMember("image");
2868  }
2869 
2873  void clear_image() {
2874  MutableStorage()->removeMember("image");
2875  }
2876 
2877 
2881  const StringPiece get_image() const {
2882  const Json::Value& v = Storage("image");
2883  if (v == Json::Value::null) return StringPiece("");
2884  return StringPiece(v.asCString());
2885  }
2886 
2895  void set_image(const StringPiece& value) {
2896  *MutableStorage("image") = value.data();
2897  }
2898 
2904  bool has_mime_type() const {
2905  return Storage().isMember("mimeType");
2906  }
2907 
2912  MutableStorage()->removeMember("mimeType");
2913  }
2914 
2915 
2919  const StringPiece get_mime_type() const {
2920  const Json::Value& v = Storage("mimeType");
2921  if (v == Json::Value::null) return StringPiece("");
2922  return StringPiece(v.asCString());
2923  }
2924 
2932  void set_mime_type(const StringPiece& value) {
2933  *MutableStorage("mimeType") = value.data();
2934  }
2935 
2936  private:
2937  void operator=(const FileThumbnail&);
2938  }; // FileThumbnail
2944  class FileVideoMediaMetadata : public client::JsonCppData {
2945  public:
2951  static FileVideoMediaMetadata* New();
2952 
2958  explicit FileVideoMediaMetadata(const Json::Value& storage);
2959 
2965  explicit FileVideoMediaMetadata(Json::Value* storage);
2966 
2970  virtual ~FileVideoMediaMetadata();
2971 
2977  const StringPiece GetTypeName() const {
2978  return StringPiece("google_drive_api::FileVideoMediaMetadata");
2979  }
2980 
2986  bool has_duration_millis() const {
2987  return Storage().isMember("durationMillis");
2988  }
2989 
2994  MutableStorage()->removeMember("durationMillis");
2995  }
2996 
2997 
3001  int64 get_duration_millis() const {
3002  const Json::Value& storage = Storage("durationMillis");
3003  return client::JsonValueToCppValueHelper<int64 >(storage);
3004  }
3005 
3013  void set_duration_millis(int64 value) {
3014  client::SetJsonValueFromCppValueHelper<int64 >(
3015  value, MutableStorage("durationMillis"));
3016  }
3017 
3023  bool has_height() const {
3024  return Storage().isMember("height");
3025  }
3026 
3030  void clear_height() {
3031  MutableStorage()->removeMember("height");
3032  }
3033 
3034 
3038  int32 get_height() const {
3039  const Json::Value& storage = Storage("height");
3040  return client::JsonValueToCppValueHelper<int32 >(storage);
3041  }
3042 
3050  void set_height(int32 value) {
3051  client::SetJsonValueFromCppValueHelper<int32 >(
3052  value, MutableStorage("height"));
3053  }
3054 
3060  bool has_width() const {
3061  return Storage().isMember("width");
3062  }
3063 
3067  void clear_width() {
3068  MutableStorage()->removeMember("width");
3069  }
3070 
3071 
3075  int32 get_width() const {
3076  const Json::Value& storage = Storage("width");
3077  return client::JsonValueToCppValueHelper<int32 >(storage);
3078  }
3079 
3087  void set_width(int32 value) {
3088  client::SetJsonValueFromCppValueHelper<int32 >(
3089  value, MutableStorage("width"));
3090  }
3091 
3092  private:
3093  void operator=(const FileVideoMediaMetadata&);
3094  }; // FileVideoMediaMetadata
3100  static File* New();
3101 
3107  explicit File(const Json::Value& storage);
3108 
3114  explicit File(Json::Value* storage);
3115 
3119  virtual ~File();
3120 
3126  const StringPiece GetTypeName() const {
3127  return StringPiece("google_drive_api::File");
3128  }
3129 
3135  bool has_alternate_link() const {
3136  return Storage().isMember("alternateLink");
3137  }
3138 
3143  MutableStorage()->removeMember("alternateLink");
3144  }
3145 
3146 
3150  const StringPiece get_alternate_link() const {
3151  const Json::Value& v = Storage("alternateLink");
3152  if (v == Json::Value::null) return StringPiece("");
3153  return StringPiece(v.asCString());
3154  }
3155 
3163  void set_alternate_link(const StringPiece& value) {
3164  *MutableStorage("alternateLink") = value.data();
3165  }
3166 
3172  bool has_app_data_contents() const {
3173  return Storage().isMember("appDataContents");
3174  }
3175 
3180  MutableStorage()->removeMember("appDataContents");
3181  }
3182 
3183 
3187  bool get_app_data_contents() const {
3188  const Json::Value& storage = Storage("appDataContents");
3189  return client::JsonValueToCppValueHelper<bool >(storage);
3190  }
3191 
3199  void set_app_data_contents(bool value) {
3200  client::SetJsonValueFromCppValueHelper<bool >(
3201  value, MutableStorage("appDataContents"));
3202  }
3203 
3209  bool has_can_comment() const {
3210  return Storage().isMember("canComment");
3211  }
3212 
3217  MutableStorage()->removeMember("canComment");
3218  }
3219 
3220 
3224  bool get_can_comment() const {
3225  const Json::Value& storage = Storage("canComment");
3226  return client::JsonValueToCppValueHelper<bool >(storage);
3227  }
3228 
3238  void set_can_comment(bool value) {
3239  client::SetJsonValueFromCppValueHelper<bool >(
3240  value, MutableStorage("canComment"));
3241  }
3242 
3248  bool has_can_read_revisions() const {
3249  return Storage().isMember("canReadRevisions");
3250  }
3251 
3256  MutableStorage()->removeMember("canReadRevisions");
3257  }
3258 
3259 
3263  bool get_can_read_revisions() const {
3264  const Json::Value& storage = Storage("canReadRevisions");
3265  return client::JsonValueToCppValueHelper<bool >(storage);
3266  }
3267 
3277  void set_can_read_revisions(bool value) {
3278  client::SetJsonValueFromCppValueHelper<bool >(
3279  value, MutableStorage("canReadRevisions"));
3280  }
3281 
3287  bool has_capabilities() const {
3288  return Storage().isMember("capabilities");
3289  }
3290 
3295  MutableStorage()->removeMember("capabilities");
3296  }
3297 
3298 
3303  const Json::Value& storage = Storage("capabilities");
3304  return client::JsonValueToCppValueHelper<FileCapabilities >(storage);
3305  }
3306 
3317  Json::Value* storage = MutableStorage("capabilities");
3318  return client::JsonValueToMutableCppValueHelper<FileCapabilities >(storage);
3319  }
3320 
3329  return Storage().isMember("copyRequiresWriterPermission");
3330  }
3331 
3336  MutableStorage()->removeMember("copyRequiresWriterPermission");
3337  }
3338 
3339 
3344  const Json::Value& storage = Storage("copyRequiresWriterPermission");
3345  return client::JsonValueToCppValueHelper<bool >(storage);
3346  }
3347 
3357  client::SetJsonValueFromCppValueHelper<bool >(
3358  value, MutableStorage("copyRequiresWriterPermission"));
3359  }
3360 
3366  bool has_copyable() const {
3367  return Storage().isMember("copyable");
3368  }
3369 
3374  MutableStorage()->removeMember("copyable");
3375  }
3376 
3377 
3381  bool get_copyable() const {
3382  const Json::Value& storage = Storage("copyable");
3383  return client::JsonValueToCppValueHelper<bool >(storage);
3384  }
3385 
3395  void set_copyable(bool value) {
3396  client::SetJsonValueFromCppValueHelper<bool >(
3397  value, MutableStorage("copyable"));
3398  }
3399 
3405  bool has_created_date() const {
3406  return Storage().isMember("createdDate");
3407  }
3408 
3413  MutableStorage()->removeMember("createdDate");
3414  }
3415 
3416 
3420  client::DateTime get_created_date() const {
3421  const Json::Value& storage = Storage("createdDate");
3422  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
3423  }
3424 
3432  void set_created_date(client::DateTime value) {
3433  client::SetJsonValueFromCppValueHelper<client::DateTime >(
3434  value, MutableStorage("createdDate"));
3435  }
3436 
3443  return Storage().isMember("defaultOpenWithLink");
3444  }
3445 
3450  MutableStorage()->removeMember("defaultOpenWithLink");
3451  }
3452 
3453 
3457  const StringPiece get_default_open_with_link() const {
3458  const Json::Value& v = Storage("defaultOpenWithLink");
3459  if (v == Json::Value::null) return StringPiece("");
3460  return StringPiece(v.asCString());
3461  }
3462 
3471  void set_default_open_with_link(const StringPiece& value) {
3472  *MutableStorage("defaultOpenWithLink") = value.data();
3473  }
3474 
3480  bool has_description() const {
3481  return Storage().isMember("description");
3482  }
3483 
3488  MutableStorage()->removeMember("description");
3489  }
3490 
3491 
3495  const StringPiece get_description() const {
3496  const Json::Value& v = Storage("description");
3497  if (v == Json::Value::null) return StringPiece("");
3498  return StringPiece(v.asCString());
3499  }
3500 
3508  void set_description(const StringPiece& value) {
3509  *MutableStorage("description") = value.data();
3510  }
3511 
3517  bool has_download_url() const {
3518  return Storage().isMember("downloadUrl");
3519  }
3520 
3525  MutableStorage()->removeMember("downloadUrl");
3526  }
3527 
3528 
3532  const StringPiece get_download_url() const {
3533  const Json::Value& v = Storage("downloadUrl");
3534  if (v == Json::Value::null) return StringPiece("");
3535  return StringPiece(v.asCString());
3536  }
3537 
3547  void set_download_url(const StringPiece& value) {
3548  *MutableStorage("downloadUrl") = value.data();
3549  }
3550 
3556  bool has_drive_id() const {
3557  return Storage().isMember("driveId");
3558  }
3559 
3564  MutableStorage()->removeMember("driveId");
3565  }
3566 
3567 
3571  const StringPiece get_drive_id() const {
3572  const Json::Value& v = Storage("driveId");
3573  if (v == Json::Value::null) return StringPiece("");
3574  return StringPiece(v.asCString());
3575  }
3576 
3585  void set_drive_id(const StringPiece& value) {
3586  *MutableStorage("driveId") = value.data();
3587  }
3588 
3594  bool has_editable() const {
3595  return Storage().isMember("editable");
3596  }
3597 
3602  MutableStorage()->removeMember("editable");
3603  }
3604 
3605 
3609  bool get_editable() const {
3610  const Json::Value& storage = Storage("editable");
3611  return client::JsonValueToCppValueHelper<bool >(storage);
3612  }
3613 
3623  void set_editable(bool value) {
3624  client::SetJsonValueFromCppValueHelper<bool >(
3625  value, MutableStorage("editable"));
3626  }
3627 
3633  bool has_embed_link() const {
3634  return Storage().isMember("embedLink");
3635  }
3636 
3641  MutableStorage()->removeMember("embedLink");
3642  }
3643 
3644 
3648  const StringPiece get_embed_link() const {
3649  const Json::Value& v = Storage("embedLink");
3650  if (v == Json::Value::null) return StringPiece("");
3651  return StringPiece(v.asCString());
3652  }
3653 
3661  void set_embed_link(const StringPiece& value) {
3662  *MutableStorage("embedLink") = value.data();
3663  }
3664 
3670  bool has_etag() const {
3671  return Storage().isMember("etag");
3672  }
3673 
3677  void clear_etag() {
3678  MutableStorage()->removeMember("etag");
3679  }
3680 
3681 
3685  const StringPiece get_etag() const {
3686  const Json::Value& v = Storage("etag");
3687  if (v == Json::Value::null) return StringPiece("");
3688  return StringPiece(v.asCString());
3689  }
3690 
3698  void set_etag(const StringPiece& value) {
3699  *MutableStorage("etag") = value.data();
3700  }
3701 
3707  bool has_explicitly_trashed() const {
3708  return Storage().isMember("explicitlyTrashed");
3709  }
3710 
3715  MutableStorage()->removeMember("explicitlyTrashed");
3716  }
3717 
3718 
3722  bool get_explicitly_trashed() const {
3723  const Json::Value& storage = Storage("explicitlyTrashed");
3724  return client::JsonValueToCppValueHelper<bool >(storage);
3725  }
3726 
3735  void set_explicitly_trashed(bool value) {
3736  client::SetJsonValueFromCppValueHelper<bool >(
3737  value, MutableStorage("explicitlyTrashed"));
3738  }
3739 
3745  bool has_export_links() const {
3746  return Storage().isMember("exportLinks");
3747  }
3748 
3753  MutableStorage()->removeMember("exportLinks");
3754  }
3755 
3756 
3760  const client::JsonCppAssociativeArray<string > get_export_links() const {
3761  const Json::Value& storage = Storage("exportLinks");
3762  return client::JsonValueToCppValueHelper<client::JsonCppAssociativeArray<string > >(storage);
3763  }
3764 
3773  client::JsonCppAssociativeArray<string > mutable_exportLinks() {
3774  Json::Value* storage = MutableStorage("exportLinks");
3775  return client::JsonValueToMutableCppValueHelper<client::JsonCppAssociativeArray<string > >(storage);
3776  }
3777 
3783  bool has_file_extension() const {
3784  return Storage().isMember("fileExtension");
3785  }
3786 
3791  MutableStorage()->removeMember("fileExtension");
3792  }
3793 
3794 
3798  const StringPiece get_file_extension() const {
3799  const Json::Value& v = Storage("fileExtension");
3800  if (v == Json::Value::null) return StringPiece("");
3801  return StringPiece(v.asCString());
3802  }
3803 
3814  void set_file_extension(const StringPiece& value) {
3815  *MutableStorage("fileExtension") = value.data();
3816  }
3817 
3823  bool has_file_size() const {
3824  return Storage().isMember("fileSize");
3825  }
3826 
3831  MutableStorage()->removeMember("fileSize");
3832  }
3833 
3834 
3838  int64 get_file_size() const {
3839  const Json::Value& storage = Storage("fileSize");
3840  return client::JsonValueToCppValueHelper<int64 >(storage);
3841  }
3842 
3852  void set_file_size(int64 value) {
3853  client::SetJsonValueFromCppValueHelper<int64 >(
3854  value, MutableStorage("fileSize"));
3855  }
3856 
3862  bool has_folder_color_rgb() const {
3863  return Storage().isMember("folderColorRgb");
3864  }
3865 
3870  MutableStorage()->removeMember("folderColorRgb");
3871  }
3872 
3873 
3877  const StringPiece get_folder_color_rgb() const {
3878  const Json::Value& v = Storage("folderColorRgb");
3879  if (v == Json::Value::null) return StringPiece("");
3880  return StringPiece(v.asCString());
3881  }
3882 
3893  void set_folder_color_rgb(const StringPiece& value) {
3894  *MutableStorage("folderColorRgb") = value.data();
3895  }
3896 
3903  return Storage().isMember("fullFileExtension");
3904  }
3905 
3910  MutableStorage()->removeMember("fullFileExtension");
3911  }
3912 
3913 
3917  const StringPiece get_full_file_extension() const {
3918  const Json::Value& v = Storage("fullFileExtension");
3919  if (v == Json::Value::null) return StringPiece("");
3920  return StringPiece(v.asCString());
3921  }
3922 
3935  void set_full_file_extension(const StringPiece& value) {
3936  *MutableStorage("fullFileExtension") = value.data();
3937  }
3938 
3946  return Storage().isMember("hasAugmentedPermissions");
3947  }
3948 
3953  MutableStorage()->removeMember("hasAugmentedPermissions");
3954  }
3955 
3956 
3961  const Json::Value& storage = Storage("hasAugmentedPermissions");
3962  return client::JsonValueToCppValueHelper<bool >(storage);
3963  }
3964 
3974  client::SetJsonValueFromCppValueHelper<bool >(
3975  value, MutableStorage("hasAugmentedPermissions"));
3976  }
3977 
3983  bool has_has_thumbnail() const {
3984  return Storage().isMember("hasThumbnail");
3985  }
3986 
3991  MutableStorage()->removeMember("hasThumbnail");
3992  }
3993 
3994 
3998  bool get_has_thumbnail() const {
3999  const Json::Value& storage = Storage("hasThumbnail");
4000  return client::JsonValueToCppValueHelper<bool >(storage);
4001  }
4002 
4012  void set_has_thumbnail(bool value) {
4013  client::SetJsonValueFromCppValueHelper<bool >(
4014  value, MutableStorage("hasThumbnail"));
4015  }
4016 
4022  bool has_head_revision_id() const {
4023  return Storage().isMember("headRevisionId");
4024  }
4025 
4030  MutableStorage()->removeMember("headRevisionId");
4031  }
4032 
4033 
4037  const StringPiece get_head_revision_id() const {
4038  const Json::Value& v = Storage("headRevisionId");
4039  if (v == Json::Value::null) return StringPiece("");
4040  return StringPiece(v.asCString());
4041  }
4042 
4052  void set_head_revision_id(const StringPiece& value) {
4053  *MutableStorage("headRevisionId") = value.data();
4054  }
4055 
4061  bool has_icon_link() const {
4062  return Storage().isMember("iconLink");
4063  }
4064 
4069  MutableStorage()->removeMember("iconLink");
4070  }
4071 
4072 
4076  const StringPiece get_icon_link() const {
4077  const Json::Value& v = Storage("iconLink");
4078  if (v == Json::Value::null) return StringPiece("");
4079  return StringPiece(v.asCString());
4080  }
4081 
4089  void set_icon_link(const StringPiece& value) {
4090  *MutableStorage("iconLink") = value.data();
4091  }
4092 
4098  bool has_id() const {
4099  return Storage().isMember("id");
4100  }
4101 
4105  void clear_id() {
4106  MutableStorage()->removeMember("id");
4107  }
4108 
4109 
4113  const StringPiece get_id() const {
4114  const Json::Value& v = Storage("id");
4115  if (v == Json::Value::null) return StringPiece("");
4116  return StringPiece(v.asCString());
4117  }
4118 
4126  void set_id(const StringPiece& value) {
4127  *MutableStorage("id") = value.data();
4128  }
4129 
4136  return Storage().isMember("imageMediaMetadata");
4137  }
4138 
4143  MutableStorage()->removeMember("imageMediaMetadata");
4144  }
4145 
4146 
4152  const Json::Value& storage = Storage("imageMediaMetadata");
4153  return client::JsonValueToCppValueHelper<FileImageMediaMetadata >(storage);
4154  }
4155 
4166  Json::Value* storage = MutableStorage("imageMediaMetadata");
4167  return client::JsonValueToMutableCppValueHelper<FileImageMediaMetadata >(storage);
4168  }
4169 
4175  bool has_indexable_text() const {
4176  return Storage().isMember("indexableText");
4177  }
4178 
4183  MutableStorage()->removeMember("indexableText");
4184  }
4185 
4186 
4191  const Json::Value& storage = Storage("indexableText");
4192  return client::JsonValueToCppValueHelper<FileIndexableText >(storage);
4193  }
4194 
4204  Json::Value* storage = MutableStorage("indexableText");
4205  return client::JsonValueToMutableCppValueHelper<FileIndexableText >(storage);
4206  }
4207 
4213  bool has_is_app_authorized() const {
4214  return Storage().isMember("isAppAuthorized");
4215  }
4216 
4221  MutableStorage()->removeMember("isAppAuthorized");
4222  }
4223 
4224 
4228  bool get_is_app_authorized() const {
4229  const Json::Value& storage = Storage("isAppAuthorized");
4230  return client::JsonValueToCppValueHelper<bool >(storage);
4231  }
4232 
4240  void set_is_app_authorized(bool value) {
4241  client::SetJsonValueFromCppValueHelper<bool >(
4242  value, MutableStorage("isAppAuthorized"));
4243  }
4244 
4250  bool has_kind() const {
4251  return Storage().isMember("kind");
4252  }
4253 
4257  void clear_kind() {
4258  MutableStorage()->removeMember("kind");
4259  }
4260 
4261 
4265  const StringPiece get_kind() const {
4266  const Json::Value& v = Storage("kind");
4267  if (v == Json::Value::null) return StringPiece("");
4268  return StringPiece(v.asCString());
4269  }
4270 
4278  void set_kind(const StringPiece& value) {
4279  *MutableStorage("kind") = value.data();
4280  }
4281 
4287  bool has_labels() const {
4288  return Storage().isMember("labels");
4289  }
4290 
4294  void clear_labels() {
4295  MutableStorage()->removeMember("labels");
4296  }
4297 
4298 
4302  const FileLabels get_labels() const {
4303  const Json::Value& storage = Storage("labels");
4304  return client::JsonValueToCppValueHelper<FileLabels >(storage);
4305  }
4306 
4315  Json::Value* storage = MutableStorage("labels");
4316  return client::JsonValueToMutableCppValueHelper<FileLabels >(storage);
4317  }
4318 
4325  return Storage().isMember("lastModifyingUser");
4326  }
4327 
4332  MutableStorage()->removeMember("lastModifyingUser");
4333  }
4334 
4335 
4340  const User get_last_modifying_user() const;
4341 
4350  User mutable_lastModifyingUser();
4351 
4358  return Storage().isMember("lastModifyingUserName");
4359  }
4360 
4365  MutableStorage()->removeMember("lastModifyingUserName");
4366  }
4367 
4368 
4372  const StringPiece get_last_modifying_user_name() const {
4373  const Json::Value& v = Storage("lastModifyingUserName");
4374  if (v == Json::Value::null) return StringPiece("");
4375  return StringPiece(v.asCString());
4376  }
4377 
4385  void set_last_modifying_user_name(const StringPiece& value) {
4386  *MutableStorage("lastModifyingUserName") = value.data();
4387  }
4388 
4395  return Storage().isMember("lastViewedByMeDate");
4396  }
4397 
4402  MutableStorage()->removeMember("lastViewedByMeDate");
4403  }
4404 
4405 
4409  client::DateTime get_last_viewed_by_me_date() const {
4410  const Json::Value& storage = Storage("lastViewedByMeDate");
4411  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
4412  }
4413 
4421  void set_last_viewed_by_me_date(client::DateTime value) {
4422  client::SetJsonValueFromCppValueHelper<client::DateTime >(
4423  value, MutableStorage("lastViewedByMeDate"));
4424  }
4425 
4432  return Storage().isMember("markedViewedByMeDate");
4433  }
4434 
4439  MutableStorage()->removeMember("markedViewedByMeDate");
4440  }
4441 
4442 
4446  client::DateTime get_marked_viewed_by_me_date() const {
4447  const Json::Value& storage = Storage("markedViewedByMeDate");
4448  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
4449  }
4450 
4460  void set_marked_viewed_by_me_date(client::DateTime value) {
4461  client::SetJsonValueFromCppValueHelper<client::DateTime >(
4462  value, MutableStorage("markedViewedByMeDate"));
4463  }
4464 
4470  bool has_md5_checksum() const {
4471  return Storage().isMember("md5Checksum");
4472  }
4473 
4478  MutableStorage()->removeMember("md5Checksum");
4479  }
4480 
4481 
4485  const StringPiece get_md5_checksum() const {
4486  const Json::Value& v = Storage("md5Checksum");
4487  if (v == Json::Value::null) return StringPiece("");
4488  return StringPiece(v.asCString());
4489  }
4490 
4500  void set_md5_checksum(const StringPiece& value) {
4501  *MutableStorage("md5Checksum") = value.data();
4502  }
4503 
4509  bool has_mime_type() const {
4510  return Storage().isMember("mimeType");
4511  }
4512 
4517  MutableStorage()->removeMember("mimeType");
4518  }
4519 
4520 
4524  const StringPiece get_mime_type() const {
4525  const Json::Value& v = Storage("mimeType");
4526  if (v == Json::Value::null) return StringPiece("");
4527  return StringPiece(v.asCString());
4528  }
4529 
4539  void set_mime_type(const StringPiece& value) {
4540  *MutableStorage("mimeType") = value.data();
4541  }
4542 
4549  return Storage().isMember("modifiedByMeDate");
4550  }
4551 
4556  MutableStorage()->removeMember("modifiedByMeDate");
4557  }
4558 
4559 
4563  client::DateTime get_modified_by_me_date() const {
4564  const Json::Value& storage = Storage("modifiedByMeDate");
4565  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
4566  }
4567 
4577  void set_modified_by_me_date(client::DateTime value) {
4578  client::SetJsonValueFromCppValueHelper<client::DateTime >(
4579  value, MutableStorage("modifiedByMeDate"));
4580  }
4581 
4587  bool has_modified_date() const {
4588  return Storage().isMember("modifiedDate");
4589  }
4590 
4595  MutableStorage()->removeMember("modifiedDate");
4596  }
4597 
4598 
4602  client::DateTime get_modified_date() const {
4603  const Json::Value& storage = Storage("modifiedDate");
4604  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
4605  }
4606 
4615  void set_modified_date(client::DateTime value) {
4616  client::SetJsonValueFromCppValueHelper<client::DateTime >(
4617  value, MutableStorage("modifiedDate"));
4618  }
4619 
4625  bool has_open_with_links() const {
4626  return Storage().isMember("openWithLinks");
4627  }
4628 
4633  MutableStorage()->removeMember("openWithLinks");
4634  }
4635 
4636 
4640  const client::JsonCppAssociativeArray<string > get_open_with_links() const {
4641  const Json::Value& storage = Storage("openWithLinks");
4642  return client::JsonValueToCppValueHelper<client::JsonCppAssociativeArray<string > >(storage);
4643  }
4644 
4654  client::JsonCppAssociativeArray<string > mutable_openWithLinks() {
4655  Json::Value* storage = MutableStorage("openWithLinks");
4656  return client::JsonValueToMutableCppValueHelper<client::JsonCppAssociativeArray<string > >(storage);
4657  }
4658 
4664  bool has_original_filename() const {
4665  return Storage().isMember("originalFilename");
4666  }
4667 
4672  MutableStorage()->removeMember("originalFilename");
4673  }
4674 
4675 
4679  const StringPiece get_original_filename() const {
4680  const Json::Value& v = Storage("originalFilename");
4681  if (v == Json::Value::null) return StringPiece("");
4682  return StringPiece(v.asCString());
4683  }
4684 
4694  void set_original_filename(const StringPiece& value) {
4695  *MutableStorage("originalFilename") = value.data();
4696  }
4697 
4703  bool has_owned_by_me() const {
4704  return Storage().isMember("ownedByMe");
4705  }
4706 
4711  MutableStorage()->removeMember("ownedByMe");
4712  }
4713 
4714 
4718  bool get_owned_by_me() const {
4719  const Json::Value& storage = Storage("ownedByMe");
4720  return client::JsonValueToCppValueHelper<bool >(storage);
4721  }
4722 
4731  void set_owned_by_me(bool value) {
4732  client::SetJsonValueFromCppValueHelper<bool >(
4733  value, MutableStorage("ownedByMe"));
4734  }
4735 
4741  bool has_owner_names() const {
4742  return Storage().isMember("ownerNames");
4743  }
4744 
4749  MutableStorage()->removeMember("ownerNames");
4750  }
4751 
4752 
4756  const client::JsonCppArray<string > get_owner_names() const {
4757  const Json::Value& storage = Storage("ownerNames");
4758  return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
4759  }
4760 
4770  client::JsonCppArray<string > mutable_ownerNames() {
4771  Json::Value* storage = MutableStorage("ownerNames");
4772  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
4773  }
4774 
4780  bool has_owners() const {
4781  return Storage().isMember("owners");
4782  }
4783 
4787  void clear_owners() {
4788  MutableStorage()->removeMember("owners");
4789  }
4790 
4791 
4795  const client::JsonCppArray<User > get_owners() const;
4796 
4804  client::JsonCppArray<User > mutable_owners();
4805 
4811  bool has_parents() const {
4812  return Storage().isMember("parents");
4813  }
4814 
4818  void clear_parents() {
4819  MutableStorage()->removeMember("parents");
4820  }
4821 
4822 
4826  const client::JsonCppArray<ParentReference > get_parents() const;
4827 
4840  client::JsonCppArray<ParentReference > mutable_parents();
4841 
4847  bool has_permission_ids() const {
4848  return Storage().isMember("permissionIds");
4849  }
4850 
4855  MutableStorage()->removeMember("permissionIds");
4856  }
4857 
4858 
4862  const client::JsonCppArray<string > get_permission_ids() const {
4863  const Json::Value& storage = Storage("permissionIds");
4864  return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
4865  }
4866 
4875  client::JsonCppArray<string > mutable_permissionIds() {
4876  Json::Value* storage = MutableStorage("permissionIds");
4877  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
4878  }
4879 
4885  bool has_permissions() const {
4886  return Storage().isMember("permissions");
4887  }
4888 
4893  MutableStorage()->removeMember("permissions");
4894  }
4895 
4896 
4900  const client::JsonCppArray<Permission > get_permissions() const;
4901 
4911  client::JsonCppArray<Permission > mutable_permissions();
4912 
4918  bool has_properties() const {
4919  return Storage().isMember("properties");
4920  }
4921 
4926  MutableStorage()->removeMember("properties");
4927  }
4928 
4929 
4933  const client::JsonCppArray<Property > get_properties() const;
4934 
4943  client::JsonCppArray<Property > mutable_properties();
4944 
4950  bool has_quota_bytes_used() const {
4951  return Storage().isMember("quotaBytesUsed");
4952  }
4953 
4958  MutableStorage()->removeMember("quotaBytesUsed");
4959  }
4960 
4961 
4965  int64 get_quota_bytes_used() const {
4966  const Json::Value& storage = Storage("quotaBytesUsed");
4967  return client::JsonValueToCppValueHelper<int64 >(storage);
4968  }
4969 
4977  void set_quota_bytes_used(int64 value) {
4978  client::SetJsonValueFromCppValueHelper<int64 >(
4979  value, MutableStorage("quotaBytesUsed"));
4980  }
4981 
4987  bool has_self_link() const {
4988  return Storage().isMember("selfLink");
4989  }
4990 
4995  MutableStorage()->removeMember("selfLink");
4996  }
4997 
4998 
5002  const StringPiece get_self_link() const {
5003  const Json::Value& v = Storage("selfLink");
5004  if (v == Json::Value::null) return StringPiece("");
5005  return StringPiece(v.asCString());
5006  }
5007 
5015  void set_self_link(const StringPiece& value) {
5016  *MutableStorage("selfLink") = value.data();
5017  }
5018 
5024  bool has_shareable() const {
5025  return Storage().isMember("shareable");
5026  }
5027 
5032  MutableStorage()->removeMember("shareable");
5033  }
5034 
5035 
5039  bool get_shareable() const {
5040  const Json::Value& storage = Storage("shareable");
5041  return client::JsonValueToCppValueHelper<bool >(storage);
5042  }
5043 
5053  void set_shareable(bool value) {
5054  client::SetJsonValueFromCppValueHelper<bool >(
5055  value, MutableStorage("shareable"));
5056  }
5057 
5063  bool has_shared() const {
5064  return Storage().isMember("shared");
5065  }
5066 
5070  void clear_shared() {
5071  MutableStorage()->removeMember("shared");
5072  }
5073 
5074 
5078  bool get_shared() const {
5079  const Json::Value& storage = Storage("shared");
5080  return client::JsonValueToCppValueHelper<bool >(storage);
5081  }
5082 
5090  void set_shared(bool value) {
5091  client::SetJsonValueFromCppValueHelper<bool >(
5092  value, MutableStorage("shared"));
5093  }
5094 
5101  return Storage().isMember("sharedWithMeDate");
5102  }
5103 
5108  MutableStorage()->removeMember("sharedWithMeDate");
5109  }
5110 
5111 
5115  client::DateTime get_shared_with_me_date() const {
5116  const Json::Value& storage = Storage("sharedWithMeDate");
5117  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
5118  }
5119 
5128  void set_shared_with_me_date(client::DateTime value) {
5129  client::SetJsonValueFromCppValueHelper<client::DateTime >(
5130  value, MutableStorage("sharedWithMeDate"));
5131  }
5132 
5138  bool has_sharing_user() const {
5139  return Storage().isMember("sharingUser");
5140  }
5141 
5146  MutableStorage()->removeMember("sharingUser");
5147  }
5148 
5149 
5153  const User get_sharing_user() const;
5154 
5163  User mutable_sharingUser();
5164 
5170  bool has_shortcut_details() const {
5171  return Storage().isMember("shortcutDetails");
5172  }
5173 
5178  MutableStorage()->removeMember("shortcutDetails");
5179  }
5180 
5181 
5187  const Json::Value& storage = Storage("shortcutDetails");
5188  return client::JsonValueToCppValueHelper<FileShortcutDetails >(storage);
5189  }
5190 
5201  Json::Value* storage = MutableStorage("shortcutDetails");
5202  return client::JsonValueToMutableCppValueHelper<FileShortcutDetails >(storage);
5203  }
5204 
5210  bool has_spaces() const {
5211  return Storage().isMember("spaces");
5212  }
5213 
5217  void clear_spaces() {
5218  MutableStorage()->removeMember("spaces");
5219  }
5220 
5221 
5225  const client::JsonCppArray<string > get_spaces() const {
5226  const Json::Value& storage = Storage("spaces");
5227  return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
5228  }
5229 
5238  client::JsonCppArray<string > mutable_spaces() {
5239  Json::Value* storage = MutableStorage("spaces");
5240  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
5241  }
5242 
5248  bool has_team_drive_id() const {
5249  return Storage().isMember("teamDriveId");
5250  }
5251 
5256  MutableStorage()->removeMember("teamDriveId");
5257  }
5258 
5259 
5263  const StringPiece get_team_drive_id() const {
5264  const Json::Value& v = Storage("teamDriveId");
5265  if (v == Json::Value::null) return StringPiece("");
5266  return StringPiece(v.asCString());
5267  }
5268 
5278  void set_team_drive_id(const StringPiece& value) {
5279  *MutableStorage("teamDriveId") = value.data();
5280  }
5281 
5287  bool has_thumbnail() const {
5288  return Storage().isMember("thumbnail");
5289  }
5290 
5295  MutableStorage()->removeMember("thumbnail");
5296  }
5297 
5298 
5303  const Json::Value& storage = Storage("thumbnail");
5304  return client::JsonValueToCppValueHelper<FileThumbnail >(storage);
5305  }
5306 
5317  Json::Value* storage = MutableStorage("thumbnail");
5318  return client::JsonValueToMutableCppValueHelper<FileThumbnail >(storage);
5319  }
5320 
5326  bool has_thumbnail_link() const {
5327  return Storage().isMember("thumbnailLink");
5328  }
5329 
5334  MutableStorage()->removeMember("thumbnailLink");
5335  }
5336 
5337 
5341  const StringPiece get_thumbnail_link() const {
5342  const Json::Value& v = Storage("thumbnailLink");
5343  if (v == Json::Value::null) return StringPiece("");
5344  return StringPiece(v.asCString());
5345  }
5346 
5356  void set_thumbnail_link(const StringPiece& value) {
5357  *MutableStorage("thumbnailLink") = value.data();
5358  }
5359 
5365  bool has_thumbnail_version() const {
5366  return Storage().isMember("thumbnailVersion");
5367  }
5368 
5373  MutableStorage()->removeMember("thumbnailVersion");
5374  }
5375 
5376 
5380  int64 get_thumbnail_version() const {
5381  const Json::Value& storage = Storage("thumbnailVersion");
5382  return client::JsonValueToCppValueHelper<int64 >(storage);
5383  }
5384 
5392  void set_thumbnail_version(int64 value) {
5393  client::SetJsonValueFromCppValueHelper<int64 >(
5394  value, MutableStorage("thumbnailVersion"));
5395  }
5396 
5402  bool has_title() const {
5403  return Storage().isMember("title");
5404  }
5405 
5409  void clear_title() {
5410  MutableStorage()->removeMember("title");
5411  }
5412 
5413 
5417  const StringPiece get_title() const {
5418  const Json::Value& v = Storage("title");
5419  if (v == Json::Value::null) return StringPiece("");
5420  return StringPiece(v.asCString());
5421  }
5422 
5432  void set_title(const StringPiece& value) {
5433  *MutableStorage("title") = value.data();
5434  }
5435 
5441  bool has_trashed_date() const {
5442  return Storage().isMember("trashedDate");
5443  }
5444 
5449  MutableStorage()->removeMember("trashedDate");
5450  }
5451 
5452 
5456  client::DateTime get_trashed_date() const {
5457  const Json::Value& storage = Storage("trashedDate");
5458  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
5459  }
5460 
5469  void set_trashed_date(client::DateTime value) {
5470  client::SetJsonValueFromCppValueHelper<client::DateTime >(
5471  value, MutableStorage("trashedDate"));
5472  }
5473 
5479  bool has_trashing_user() const {
5480  return Storage().isMember("trashingUser");
5481  }
5482 
5487  MutableStorage()->removeMember("trashingUser");
5488  }
5489 
5490 
5494  const User get_trashing_user() const;
5495 
5505  User mutable_trashingUser();
5506 
5512  bool has_user_permission() const {
5513  return Storage().isMember("userPermission");
5514  }
5515 
5520  MutableStorage()->removeMember("userPermission");
5521  }
5522 
5523 
5528  const Permission get_user_permission() const;
5529 
5538  Permission mutable_userPermission();
5539 
5545  bool has_version() const {
5546  return Storage().isMember("version");
5547  }
5548 
5552  void clear_version() {
5553  MutableStorage()->removeMember("version");
5554  }
5555 
5556 
5560  int64 get_version() const {
5561  const Json::Value& storage = Storage("version");
5562  return client::JsonValueToCppValueHelper<int64 >(storage);
5563  }
5564 
5574  void set_version(int64 value) {
5575  client::SetJsonValueFromCppValueHelper<int64 >(
5576  value, MutableStorage("version"));
5577  }
5578 
5585  return Storage().isMember("videoMediaMetadata");
5586  }
5587 
5592  MutableStorage()->removeMember("videoMediaMetadata");
5593  }
5594 
5595 
5601  const Json::Value& storage = Storage("videoMediaMetadata");
5602  return client::JsonValueToCppValueHelper<FileVideoMediaMetadata >(storage);
5603  }
5604 
5614  Json::Value* storage = MutableStorage("videoMediaMetadata");
5615  return client::JsonValueToMutableCppValueHelper<FileVideoMediaMetadata >(storage);
5616  }
5617 
5623  bool has_web_content_link() const {
5624  return Storage().isMember("webContentLink");
5625  }
5626 
5631  MutableStorage()->removeMember("webContentLink");
5632  }
5633 
5634 
5638  const StringPiece get_web_content_link() const {
5639  const Json::Value& v = Storage("webContentLink");
5640  if (v == Json::Value::null) return StringPiece("");
5641  return StringPiece(v.asCString());
5642  }
5643 
5653  void set_web_content_link(const StringPiece& value) {
5654  *MutableStorage("webContentLink") = value.data();
5655  }
5656 
5662  bool has_web_view_link() const {
5663  return Storage().isMember("webViewLink");
5664  }
5665 
5670  MutableStorage()->removeMember("webViewLink");
5671  }
5672 
5673 
5677  const StringPiece get_web_view_link() const {
5678  const Json::Value& v = Storage("webViewLink");
5679  if (v == Json::Value::null) return StringPiece("");
5680  return StringPiece(v.asCString());
5681  }
5682 
5691  void set_web_view_link(const StringPiece& value) {
5692  *MutableStorage("webViewLink") = value.data();
5693  }
5694 
5700  bool has_writers_can_share() const {
5701  return Storage().isMember("writersCanShare");
5702  }
5703 
5708  MutableStorage()->removeMember("writersCanShare");
5709  }
5710 
5711 
5715  bool get_writers_can_share() const {
5716  const Json::Value& storage = Storage("writersCanShare");
5717  return client::JsonValueToCppValueHelper<bool >(storage);
5718  }
5719 
5728  void set_writers_can_share(bool value) {
5729  client::SetJsonValueFromCppValueHelper<bool >(
5730  value, MutableStorage("writersCanShare"));
5731  }
5732 
5733  private:
5734  void operator=(const File&);
5735 }; // File
5736 } // namespace google_drive_api
5737 #endif // GOOGLE_DRIVE_API_FILE_H_
void clear_can_comment()
Definition: file.h:3216
bool has_shortcut_details() const
Definition: file.h:5170
void clear_embed_link()
Definition: file.h:3640
bool get_can_copy() const
Definition: file.h:321
void clear_can_add_my_drive_parent()
Definition: file.h:152
void clear_original_filename()
Definition: file.h:4671
bool get_can_move_children_out_of_team_drive() const
Definition: file.h:631
bool has_can_read_team_drive() const
Definition: file.h:1059
void clear_quota_bytes_used()
Definition: file.h:4957
bool has_camera_make() const
Definition: file.h:1601
FileShortcutDetails mutable_shortcutDetails()
Definition: file.h:5200
void clear_title()
Definition: file.h:5409
const FileShortcutDetails get_shortcut_details() const
Definition: file.h:5186
FileImageMediaMetadataLocation mutable_location()
Definition: file.h:2073
void clear_target_mime_type()
Definition: file.h:2788
void clear_folder_color_rgb()
Definition: file.h:3869
bool has_sharing_user() const
Definition: file.h:5138
bool has_can_download() const
Definition: file.h:421
bool has_shared_with_me_date() const
Definition: file.h:5100
void set_last_viewed_by_me_date(client::DateTime value)
Definition: file.h:4421
bool has_has_augmented_permissions() const
Definition: file.h:3945
bool has_exposure_bias() const
Definition: file.h:1749
void clear_camera_model()
Definition: file.h:1645
void set_height(int32 value)
Definition: file.h:1961
const StringPiece get_lens() const
Definition: file.h:2023
const StringPiece get_text() const
Definition: file.h:2403
bool has_metering_mode() const
Definition: file.h:2121
void set_rotation(int32 value)
Definition: file.h:2185
Definition: permission.h:51
const StringPiece get_exposure_mode() const
Definition: file.h:1801
bool has_web_view_link() const
Definition: file.h:5662
bool has_last_viewed_by_me_date() const
Definition: file.h:4394
void clear_copyable()
Definition: file.h:3373
const client::JsonCppAssociativeArray< string > get_open_with_links() const
Definition: file.h:4640
void clear_id()
Definition: file.h:4105
void set_owned_by_me(bool value)
Definition: file.h:4731
void set_can_change_restricted_download(bool value)
Definition: file.h:259
void clear_can_trash()
Definition: file.h:1257
bool has_description() const
Definition: file.h:3480
const FileVideoMediaMetadata get_video_media_metadata() const
Definition: file.h:5600
const StringPiece get_download_url() const
Definition: file.h:3532
const StringPiece get_team_drive_id() const
Definition: file.h:5263
void set_trashed(bool value)
Definition: file.h:2651
bool has_modified() const
Definition: file.h:2509
bool get_can_remove_my_drive_parent() const
Definition: file.h:1153
void clear_duration_millis()
Definition: file.h:2993
void clear_explicitly_trashed()
Definition: file.h:3714
void set_icon_link(const StringPiece &value)
Definition: file.h:4089
bool has_hidden() const
Definition: file.h:2470
void clear_export_links()
Definition: file.h:3752
void set_metering_mode(const StringPiece &value)
Definition: file.h:2149
bool get_can_list_children() const
Definition: file.h:512
const StringPiece GetTypeName() const
Definition: file.h:2461
bool get_copy_requires_writer_permission() const
Definition: file.h:3343
bool has_head_revision_id() const
Definition: file.h:4022
const StringPiece get_original_filename() const
Definition: file.h:4679
void set_can_comment(bool value)
Definition: file.h:3238
bool has_can_move_children_within_team_drive() const
Definition: file.h:698
void clear_web_content_link()
Definition: file.h:5630
float get_max_aperture_value() const
Definition: file.h:2098
void clear_owners()
Definition: file.h:4787
int64 get_version() const
Definition: file.h:5560
void set_can_remove_my_drive_parent(bool value)
Definition: file.h:1166
bool has_duration_millis() const
Definition: file.h:2986
bool get_can_modify_content() const
Definition: file.h:550
void set_kind(const StringPiece &value)
Definition: file.h:4278
void clear_exposure_bias()
Definition: file.h:1756
bool get_is_app_authorized() const
Definition: file.h:4228
const FileLabels get_labels() const
Definition: file.h:4302
const StringPiece get_target_id() const
Definition: file.h:2759
bool has_target_mime_type() const
Definition: file.h:2781
bool has_is_app_authorized() const
Definition: file.h:4213
void set_created_date(client::DateTime value)
Definition: file.h:3432
void set_thumbnail_link(const StringPiece &value)
Definition: file.h:5356
void set_viewed(bool value)
Definition: file.h:2688
bool has_file_extension() const
Definition: file.h:3783
void clear_marked_viewed_by_me_date()
Definition: file.h:4438
void set_exposure_time(float value)
Definition: file.h:1850
void clear_width()
Definition: file.h:3067
void clear_image()
Definition: file.h:2873
void clear_can_move_item_out_of_team_drive()
Definition: file.h:828
void clear_trashed()
Definition: file.h:2629
float get_aperture() const
Definition: file.h:1579
bool has_last_modifying_user_name() const
Definition: file.h:4357
bool get_can_remove_children() const
Definition: file.h:1113
const FileIndexableText get_indexable_text() const
Definition: file.h:4190
void set_white_balance(const StringPiece &value)
Definition: file.h:2297
void set_width(int32 value)
Definition: file.h:3087
void set_web_content_link(const StringPiece &value)
Definition: file.h:5653
void clear_can_remove_children()
Definition: file.h:1105
void clear_sensor()
Definition: file.h:2202
bool has_full_file_extension() const
Definition: file.h:3902
bool get_can_change_restricted_download() const
Definition: file.h:245
bool has_thumbnail_link() const
Definition: file.h:5326
const StringPiece get_metering_mode() const
Definition: file.h:2136
bool has_original_filename() const
Definition: file.h:4664
bool has_can_read_revisions() const
Definition: file.h:3248
bool get_flash_used() const
Definition: file.h:1875
bool has_restricted() const
Definition: file.h:2546
bool get_can_move_children_within_team_drive() const
Definition: file.h:714
void set_can_move_children_within_team_drive(bool value)
Definition: file.h:728
void clear_height()
Definition: file.h:1941
void set_thumbnail_version(int64 value)
Definition: file.h:5392
void clear_file_extension()
Definition: file.h:3790
void set_modified(bool value)
Definition: file.h:2536
bool get_can_move_item_into_team_drive() const
Definition: file.h:755
void clear_can_read_revisions()
Definition: file.h:1027
void clear_app_data_contents()
Definition: file.h:3179
bool has_marked_viewed_by_me_date() const
Definition: file.h:4431
void clear_web_view_link()
Definition: file.h:5669
const StringPiece GetTypeName() const
Definition: file.h:2379
const StringPiece get_folder_color_rgb() const
Definition: file.h:3877
bool get_can_move_children_within_drive() const
Definition: file.h:672
void clear_can_copy()
Definition: file.h:313
bool has_can_move_team_drive_item() const
Definition: file.h:943
void clear_exposure_mode()
Definition: file.h:1793
void clear_parents()
Definition: file.h:4818
bool has_image() const
Definition: file.h:2866
void set_can_edit(bool value)
Definition: file.h:487
bool has_can_read_revisions() const
Definition: file.h:1020
void clear_can_edit()
Definition: file.h:465
const StringPiece get_title() const
Definition: file.h:5417
void set_md5_checksum(const StringPiece &value)
Definition: file.h:4500
bool has_can_move_children_within_drive() const
Definition: file.h:657
void set_can_untrash(bool value)
Definition: file.h:1352
void clear_last_modifying_user_name()
Definition: file.h:4364
const client::JsonCppArray< string > get_owner_names() const
Definition: file.h:4756
bool get_can_read_revisions() const
Definition: file.h:1035
bool get_has_thumbnail() const
Definition: file.h:3998
bool has_aperture() const
Definition: file.h:1564
void clear_text()
Definition: file.h:2395
bool has_kind() const
Definition: file.h:4250
const StringPiece get_alternate_link() const
Definition: file.h:3150
bool has_icon_link() const
Definition: file.h:4061
bool get_starred() const
Definition: file.h:2600
bool get_owned_by_me() const
Definition: file.h:4718
void clear_viewed()
Definition: file.h:2668
void clear_modified_date()
Definition: file.h:4594
void set_max_aperture_value(float value)
Definition: file.h:2111
void set_can_move_item_out_of_team_drive(bool value)
Definition: file.h:850
void set_sensor(const StringPiece &value)
Definition: file.h:2223
void set_can_move_children_out_of_team_drive(bool value)
Definition: file.h:645
FileLabels mutable_labels()
Definition: file.h:4314
void set_can_remove_children(bool value)
Definition: file.h:1127
Definition: user.h:50
void set_can_delete(bool value)
Definition: file.h:372
int32 get_width() const
Definition: file.h:2321
void clear_can_move_children_out_of_drive()
Definition: file.h:581
const StringPiece get_icon_link() const
Definition: file.h:4076
void set_file_extension(const StringPiece &value)
Definition: file.h:3814
void clear_created_date()
Definition: file.h:3412
void clear_shared_with_me_date()
Definition: file.h:5107
void set_trashed_date(client::DateTime value)
Definition: file.h:5469
bool has_can_list_children() const
Definition: file.h:497
void set_can_trash_children(bool value)
Definition: file.h:1315
void set_copy_requires_writer_permission(bool value)
Definition: file.h:3356
bool has_can_move_item_out_of_team_drive() const
Definition: file.h:821
void set_camera_model(const StringPiece &value)
Definition: file.h:1666
const StringPiece get_last_modifying_user_name() const
Definition: file.h:4372
void clear_can_read_revisions()
Definition: file.h:3255
void clear_has_augmented_permissions()
Definition: file.h:3952
bool has_can_move_children_out_of_team_drive() const
Definition: file.h:615
const StringPiece get_description() const
Definition: file.h:3495
bool has_rotation() const
Definition: file.h:2158
bool has_iso_speed() const
Definition: file.h:1971
void set_title(const StringPiece &value)
Definition: file.h:5432
void clear_focal_length()
Definition: file.h:1904
void set_has_augmented_permissions(bool value)
Definition: file.h:3973
bool get_can_move_item_within_team_drive() const
Definition: file.h:918
void clear_modified()
Definition: file.h:2516
void clear_team_drive_id()
Definition: file.h:5255
bool has_target_id() const
Definition: file.h:2744
bool get_can_trash_children() const
Definition: file.h:1302
bool has_can_read_drive() const
Definition: file.h:982
void set_can_share(bool value)
Definition: file.h:1240
bool get_can_comment() const
Definition: file.h:284
void clear_alternate_link()
Definition: file.h:3142
bool get_can_move_item_within_drive() const
Definition: file.h:876
void clear_thumbnail_link()
Definition: file.h:5333
void clear_can_move_item_out_of_drive()
Definition: file.h:787
bool has_can_change_restricted_download() const
Definition: file.h:229
bool get_can_read_drive() const
Definition: file.h:997
bool get_can_download() const
Definition: file.h:436
void clear_permissions()
Definition: file.h:4892
bool has_owned_by_me() const
Definition: file.h:4703
void set_alternate_link(const StringPiece &value)
Definition: file.h:3163
bool has_date() const
Definition: file.h:1712
void clear_writers_can_share()
Definition: file.h:5707
bool get_can_move_item_out_of_drive() const
Definition: file.h:795
const StringPiece get_thumbnail_link() const
Definition: file.h:5341
void clear_open_with_links()
Definition: file.h:4632
bool has_web_content_link() const
Definition: file.h:5623
void set_mime_type(const StringPiece &value)
Definition: file.h:4539
void set_explicitly_trashed(bool value)
Definition: file.h:3735
void set_can_move_children_out_of_drive(bool value)
Definition: file.h:603
void clear_file_size()
Definition: file.h:3830
void set_date(const StringPiece &value)
Definition: file.h:1740
bool get_can_move_item_out_of_team_drive() const
Definition: file.h:836
bool get_has_augmented_permissions() const
Definition: file.h:3960
bool has_can_untrash() const
Definition: file.h:1325
bool has_starred() const
Definition: file.h:2585
void set_restricted(bool value)
Definition: file.h:2575
bool has_default_open_with_link() const
Definition: file.h:3442
client::DateTime get_modified_by_me_date() const
Definition: file.h:4563
bool has_can_delete() const
Definition: file.h:345
client::DateTime get_trashed_date() const
Definition: file.h:5456
bool has_copy_requires_writer_permission() const
Definition: file.h:3328
void set_app_data_contents(bool value)
Definition: file.h:3199
void set_text(const StringPiece &value)
Definition: file.h:2416
FileCapabilities mutable_capabilities()
Definition: file.h:3316
const StringPiece get_camera_model() const
Definition: file.h:1653
Definition: file.h:57
void clear_can_change_restricted_download()
Definition: file.h:236
void clear_labels()
Definition: file.h:4294
bool has_explicitly_trashed() const
Definition: file.h:3707
void clear_can_move_item_within_drive()
Definition: file.h:868
void set_shareable(bool value)
Definition: file.h:5053
void set_shared_with_me_date(client::DateTime value)
Definition: file.h:5128
void clear_location()
Definition: file.h:2052
bool has_title() const
Definition: file.h:5402
int64 get_thumbnail_version() const
Definition: file.h:5380
void clear_owned_by_me()
Definition: file.h:4710
bool has_owners() const
Definition: file.h:4780
void set_target_mime_type(const StringPiece &value)
Definition: file.h:2811
void clear_owner_names()
Definition: file.h:4748
const StringPiece get_camera_make() const
Definition: file.h:1616
bool has_writers_can_share() const
Definition: file.h:5700
const StringPiece get_image() const
Definition: file.h:2881
bool has_can_rename() const
Definition: file.h:1176
void set_has_thumbnail(bool value)
Definition: file.h:4012
void set_default_open_with_link(const StringPiece &value)
Definition: file.h:3471
bool has_can_comment() const
Definition: file.h:269
int32 get_subject_distance() const
Definition: file.h:2247
void set_full_file_extension(const StringPiece &value)
Definition: file.h:3935
bool has_can_change_copy_requires_writer_permission() const
Definition: file.h:186
bool has_user_permission() const
Definition: file.h:5512
bool has_can_delete_children() const
Definition: file.h:382
void set_exposure_mode(const StringPiece &value)
Definition: file.h:1814
bool get_restricted() const
Definition: file.h:2561
void clear_can_delete()
Definition: file.h:352
void clear_sharing_user()
Definition: file.h:5145
bool get_modified() const
Definition: file.h:2524
void clear_height()
Definition: file.h:3030
const StringPiece get_mime_type() const
Definition: file.h:2919
void set_self_link(const StringPiece &value)
Definition: file.h:5015
void clear_max_aperture_value()
Definition: file.h:2090
void set_can_read_team_drive(bool value)
Definition: file.h:1088
bool has_shareable() const
Definition: file.h:5024
void clear_icon_link()
Definition: file.h:4068
int32 get_rotation() const
Definition: file.h:2173
void set_image(const StringPiece &value)
Definition: file.h:2895
bool get_can_delete_children() const
Definition: file.h:397
void set_version(int64 value)
Definition: file.h:5574
const FileImageMediaMetadata get_image_media_metadata() const
Definition: file.h:4151
void clear_color_space()
Definition: file.h:1682
void set_color_space(const StringPiece &value)
Definition: file.h:1703
void clear_properties()
Definition: file.h:4925
client::JsonCppArray< string > mutable_permissionIds()
Definition: file.h:4875
void set_iso_speed(int32 value)
Definition: file.h:1998
bool has_subject_distance() const
Definition: file.h:2232
bool has_mime_type() const
Definition: file.h:4509
const StringPiece get_sensor() const
Definition: file.h:2210
void clear_can_untrash()
Definition: file.h:1332
client::DateTime get_modified_date() const
Definition: file.h:4602
bool has_modified_date() const
Definition: file.h:4587
bool get_shareable() const
Definition: file.h:5039
int32 get_height() const
Definition: file.h:3038
void clear_target_id()
Definition: file.h:2751
void set_head_revision_id(const StringPiece &value)
Definition: file.h:4052
bool has_location() const
Definition: file.h:2045
bool get_can_add_children() const
Definition: file.h:122
bool get_explicitly_trashed() const
Definition: file.h:3722
void set_file_size(int64 value)
Definition: file.h:3852
bool get_trashed() const
Definition: file.h:2637
void clear_iso_speed()
Definition: file.h:1978
const StringPiece get_md5_checksum() const
Definition: file.h:4485
void clear_can_comment()
Definition: file.h:276
void clear_trashing_user()
Definition: file.h:5486
void set_can_move_item_into_team_drive(bool value)
Definition: file.h:769
bool get_can_untrash() const
Definition: file.h:1340
void clear_metering_mode()
Definition: file.h:2128
void set_can_add_children(bool value)
Definition: file.h:135
bool has_camera_model() const
Definition: file.h:1638
void set_can_download(bool value)
Definition: file.h:448
void set_embed_link(const StringPiece &value)
Definition: file.h:3661
bool has_thumbnail_version() const
Definition: file.h:5365
bool get_editable() const
Definition: file.h:3609
const FileCapabilities get_capabilities() const
Definition: file.h:3302
void set_editable(bool value)
Definition: file.h:3623
int64 get_duration_millis() const
Definition: file.h:3001
client::JsonCppAssociativeArray< string > mutable_exportLinks()
Definition: file.h:3773
const StringPiece get_file_extension() const
Definition: file.h:3798
void set_can_move_children_within_drive(bool value)
Definition: file.h:686
const StringPiece get_target_mime_type() const
Definition: file.h:2796
const StringPiece GetTypeName() const
Definition: file.h:2735
void clear_video_media_metadata()
Definition: file.h:5591
bool get_writers_can_share() const
Definition: file.h:5715
client::JsonCppAssociativeArray< string > mutable_openWithLinks()
Definition: file.h:4654
float get_focal_length() const
Definition: file.h:1912
void clear_exposure_time()
Definition: file.h:1830
FileThumbnail mutable_thumbnail()
Definition: file.h:5316
void clear_can_modify_content()
Definition: file.h:542
bool get_can_comment() const
Definition: file.h:3224
void clear_shared()
Definition: file.h:5070
void clear_can_change_copy_requires_writer_permission()
Definition: file.h:194
void clear_restricted()
Definition: file.h:2553
void set_can_delete_children(bool value)
Definition: file.h:411
bool has_focal_length() const
Definition: file.h:1897
const StringPiece get_embed_link() const
Definition: file.h:3648
const StringPiece get_color_space() const
Definition: file.h:1690
client::JsonCppArray< string > mutable_ownerNames()
Definition: file.h:4770
const FileImageMediaMetadataLocation get_location() const
Definition: file.h:2060
bool has_copyable() const
Definition: file.h:3366
void set_flash_used(bool value)
Definition: file.h:1887
bool has_trashing_user() const
Definition: file.h:5479
void set_last_modifying_user_name(const StringPiece &value)
Definition: file.h:4385
bool has_modified_by_me_date() const
Definition: file.h:4548
void clear_shareable()
Definition: file.h:5031
void set_lens(const StringPiece &value)
Definition: file.h:2036
bool has_labels() const
Definition: file.h:4287
void set_can_move_item_within_team_drive(bool value)
Definition: file.h:932
void set_id(const StringPiece &value)
Definition: file.h:4126
bool has_permission_ids() const
Definition: file.h:4847
void set_can_list_children(bool value)
Definition: file.h:525
void clear_camera_make()
Definition: file.h:1608
bool has_spaces() const
Definition: file.h:5210
bool has_drive_id() const
Definition: file.h:3556
void clear_is_app_authorized()
Definition: file.h:4220
void set_shared(bool value)
Definition: file.h:5090
bool has_self_link() const
Definition: file.h:4987
client::JsonCppArray< string > mutable_spaces()
Definition: file.h:5238
void clear_editable()
Definition: file.h:3601
void set_can_move_team_drive_item(bool value)
Definition: file.h:972
bool has_can_copy() const
Definition: file.h:306
void clear_modified_by_me_date()
Definition: file.h:4555
const client::JsonCppAssociativeArray< string > get_export_links() const
Definition: file.h:3760
void clear_can_rename()
Definition: file.h:1183
bool has_owner_names() const
Definition: file.h:4741
bool has_video_media_metadata() const
Definition: file.h:5584
void set_mime_type(const StringPiece &value)
Definition: file.h:2932
void set_can_read_drive(bool value)
Definition: file.h:1010
void clear_can_delete_children()
Definition: file.h:389
bool has_can_move_item_within_team_drive() const
Definition: file.h:903
void clear_last_modifying_user()
Definition: file.h:4331
void clear_full_file_extension()
Definition: file.h:3909
const StringPiece GetTypeName() const
Definition: file.h:3126
bool get_can_edit() const
Definition: file.h:473
Definition: about.h:41
bool get_can_read_team_drive() const
Definition: file.h:1074
client::DateTime get_last_viewed_by_me_date() const
Definition: file.h:4409
bool get_can_move_children_out_of_drive() const
Definition: file.h:589
void clear_image_media_metadata()
Definition: file.h:4142
bool has_has_thumbnail() const
Definition: file.h:3983
bool has_quota_bytes_used() const
Definition: file.h:4950
int32 get_iso_speed() const
Definition: file.h:1986
bool has_height() const
Definition: file.h:3023
bool has_open_with_links() const
Definition: file.h:4625
void clear_user_permission()
Definition: file.h:5519
bool has_can_modify_content() const
Definition: file.h:535
void set_can_move_item_out_of_drive(bool value)
Definition: file.h:809
bool has_exposure_time() const
Definition: file.h:1823
const StringPiece get_white_balance() const
Definition: file.h:2284
bool has_white_balance() const
Definition: file.h:2269
void clear_hidden()
Definition: file.h:2477
bool has_exposure_mode() const
Definition: file.h:1786
void set_can_copy(bool value)
Definition: file.h:335
void clear_can_move_item_into_team_drive()
Definition: file.h:747
void set_hidden(bool value)
Definition: file.h:2499
void clear_permission_ids()
Definition: file.h:4854
void clear_copy_requires_writer_permission()
Definition: file.h:3335
const StringPiece get_kind() const
Definition: file.h:4265
void clear_shortcut_details()
Definition: file.h:5177
void clear_can_add_children()
Definition: file.h:114
void clear_rotation()
Definition: file.h:2165
bool has_can_edit() const
Definition: file.h:458
bool get_app_data_contents() const
Definition: file.h:3187
bool get_can_move_team_drive_item() const
Definition: file.h:958
bool has_can_remove_children() const
Definition: file.h:1098
void clear_indexable_text()
Definition: file.h:4182
bool has_created_date() const
Definition: file.h:3405
const StringPiece get_full_file_extension() const
Definition: file.h:3917
void clear_can_trash_children()
Definition: file.h:1294
void set_focal_length(float value)
Definition: file.h:1924
void set_original_filename(const StringPiece &value)
Definition: file.h:4694
const FileThumbnail get_thumbnail() const
Definition: file.h:5302
bool get_can_change_copy_requires_writer_permission() const
Definition: file.h:203
bool has_image_media_metadata() const
Definition: file.h:4135
void clear_flash_used()
Definition: file.h:1867
bool get_shared() const
Definition: file.h:5078
bool get_copyable() const
Definition: file.h:3381
bool has_version() const
Definition: file.h:5545
void clear_md5_checksum()
Definition: file.h:4477
bool has_id() const
Definition: file.h:4098
bool has_mime_type() const
Definition: file.h:2904
bool has_can_trash() const
Definition: file.h:1250
int64 get_quota_bytes_used() const
Definition: file.h:4965
void clear_etag()
Definition: file.h:3677
bool has_viewed() const
Definition: file.h:2661
void set_can_trash(bool value)
Definition: file.h:1277
void set_modified_by_me_date(client::DateTime value)
Definition: file.h:4577
bool has_embed_link() const
Definition: file.h:3633
float get_exposure_time() const
Definition: file.h:1838
void set_width(int32 value)
Definition: file.h:2333
void set_can_move_item_within_drive(bool value)
Definition: file.h:891
void set_team_drive_id(const StringPiece &value)
Definition: file.h:5278
client::DateTime get_shared_with_me_date() const
Definition: file.h:5115
bool has_can_share() const
Definition: file.h:1213
void clear_subject_distance()
Definition: file.h:2239
bool has_can_remove_my_drive_parent() const
Definition: file.h:1138
const StringPiece get_id() const
Definition: file.h:4113
void set_copyable(bool value)
Definition: file.h:3395
bool has_can_comment() const
Definition: file.h:3209
bool has_thumbnail() const
Definition: file.h:5287
bool has_team_drive_id() const
Definition: file.h:5248
void set_can_add_my_drive_parent(bool value)
Definition: file.h:174
void set_download_url(const StringPiece &value)
Definition: file.h:3547
void clear_description()
Definition: file.h:3487
bool has_can_move_item_within_drive() const
Definition: file.h:861
void set_subject_distance(int32 value)
Definition: file.h:2259
client::DateTime get_marked_viewed_by_me_date() const
Definition: file.h:4446
void set_drive_id(const StringPiece &value)
Definition: file.h:3585
void set_can_read_revisions(bool value)
Definition: file.h:1049
const StringPiece get_etag() const
Definition: file.h:3685
void clear_kind()
Definition: file.h:4257
bool get_hidden() const
Definition: file.h:2485
bool has_trashed() const
Definition: file.h:2622
void set_can_rename(bool value)
Definition: file.h:1203
bool has_last_modifying_user() const
Definition: file.h:4324
void clear_can_download()
Definition: file.h:428
int64 get_file_size() const
Definition: file.h:3838
void clear_white_balance()
Definition: file.h:2276
const StringPiece get_mime_type() const
Definition: file.h:4524
bool has_folder_color_rgb() const
Definition: file.h:3862
bool has_height() const
Definition: file.h:1934
const client::JsonCppArray< string > get_spaces() const
Definition: file.h:5225
void set_can_read_revisions(bool value)
Definition: file.h:3277
void set_writers_can_share(bool value)
Definition: file.h:5728
bool has_capabilities() const
Definition: file.h:3287
int32 get_height() const
Definition: file.h:1949
bool has_download_url() const
Definition: file.h:3517
float get_exposure_bias() const
Definition: file.h:1764
void clear_self_link()
Definition: file.h:4994
int32 get_width() const
Definition: file.h:3075
FileIndexableText mutable_indexableText()
Definition: file.h:4203
void clear_can_share()
Definition: file.h:1220
void set_description(const StringPiece &value)
Definition: file.h:3508
bool has_md5_checksum() const
Definition: file.h:4470
void clear_spaces()
Definition: file.h:5217
bool get_can_trash() const
Definition: file.h:1265
void clear_download_url()
Definition: file.h:3524
bool has_properties() const
Definition: file.h:4918
bool get_can_rename() const
Definition: file.h:1191
const client::JsonCppArray< string > get_permission_ids() const
Definition: file.h:4862
bool has_can_move_item_into_team_drive() const
Definition: file.h:740
bool has_shared() const
Definition: file.h:5063
void set_exposure_bias(float value)
Definition: file.h:1776
void set_can_change_copy_requires_writer_permission(bool value)
Definition: file.h:217
void clear_thumbnail_version()
Definition: file.h:5372
bool has_can_move_children_out_of_drive() const
Definition: file.h:574
void set_height(int32 value)
Definition: file.h:3050
bool has_width() const
Definition: file.h:2306
void clear_can_move_children_out_of_team_drive()
Definition: file.h:622
void clear_can_move_item_within_team_drive()
Definition: file.h:910
const StringPiece GetTypeName() const
Definition: file.h:2977
bool has_can_trash_children() const
Definition: file.h:1287
const StringPiece get_default_open_with_link() const
Definition: file.h:3457
void clear_can_move_team_drive_item()
Definition: file.h:950
void set_can_modify_content(bool value)
Definition: file.h:562
const StringPiece get_self_link() const
Definition: file.h:5002
void clear_mime_type()
Definition: file.h:2911
bool has_max_aperture_value() const
Definition: file.h:2083
void set_etag(const StringPiece &value)
Definition: file.h:3698
void clear_capabilities()
Definition: file.h:3294
bool get_viewed() const
Definition: file.h:2676
bool has_can_add_my_drive_parent() const
Definition: file.h:145
bool has_indexable_text() const
Definition: file.h:4175
void clear_lens()
Definition: file.h:2015
bool has_etag() const
Definition: file.h:3670
void clear_starred()
Definition: file.h:2592
void set_marked_viewed_by_me_date(client::DateTime value)
Definition: file.h:4460
bool has_width() const
Definition: file.h:3060
bool has_can_move_item_out_of_drive() const
Definition: file.h:780
bool has_color_space() const
Definition: file.h:1675
void clear_can_list_children()
Definition: file.h:504
client::DateTime get_created_date() const
Definition: file.h:3420
bool has_sensor() const
Definition: file.h:2195
void set_duration_millis(int64 value)
Definition: file.h:3013
bool has_file_size() const
Definition: file.h:3823
bool get_can_delete() const
Definition: file.h:360
void clear_can_move_children_within_drive()
Definition: file.h:664
const StringPiece get_date() const
Definition: file.h:1727
void clear_aperture()
Definition: file.h:1571
void clear_date()
Definition: file.h:1719
bool has_can_add_children() const
Definition: file.h:107
void set_aperture(float value)
Definition: file.h:1591
FileImageMediaMetadata mutable_imageMediaMetadata()
Definition: file.h:4165
bool get_can_share() const
Definition: file.h:1228
const StringPiece get_web_content_link() const
Definition: file.h:5638
bool has_permissions() const
Definition: file.h:4885
void set_camera_make(const StringPiece &value)
Definition: file.h:1629
const StringPiece get_head_revision_id() const
Definition: file.h:4037
bool has_flash_used() const
Definition: file.h:1860
bool get_can_read_revisions() const
Definition: file.h:3263
void set_target_id(const StringPiece &value)
Definition: file.h:2772
void set_is_app_authorized(bool value)
Definition: file.h:4240
bool has_parents() const
Definition: file.h:4811
void clear_has_thumbnail()
Definition: file.h:3990
void clear_can_remove_my_drive_parent()
Definition: file.h:1145
void clear_thumbnail()
Definition: file.h:5294
const StringPiece GetTypeName() const
Definition: file.h:98
void clear_trashed_date()
Definition: file.h:5448
void clear_can_read_drive()
Definition: file.h:989
bool has_text() const
Definition: file.h:2388
void clear_can_read_team_drive()
Definition: file.h:1066
void set_modified_date(client::DateTime value)
Definition: file.h:4615
void clear_drive_id()
Definition: file.h:3563
void clear_width()
Definition: file.h:2313
const StringPiece get_drive_id() const
Definition: file.h:3571
void set_starred(bool value)
Definition: file.h:2612
Definition: file.h:2428
void clear_mime_type()
Definition: file.h:4516
Definition: about.cc:43
bool get_can_add_my_drive_parent() const
Definition: file.h:160
void clear_head_revision_id()
Definition: file.h:4029
FileVideoMediaMetadata mutable_videoMediaMetadata()
Definition: file.h:5613
void clear_version()
Definition: file.h:5552
bool has_editable() const
Definition: file.h:3594
bool has_export_links() const
Definition: file.h:3745
void set_web_view_link(const StringPiece &value)
Definition: file.h:5691
void set_can_comment(bool value)
Definition: file.h:296
void clear_last_viewed_by_me_date()
Definition: file.h:4401
const StringPiece get_web_view_link() const
Definition: file.h:5677
const StringPiece GetTypeName() const
Definition: file.h:1555
bool has_trashed_date() const
Definition: file.h:5441
void set_quota_bytes_used(int64 value)
Definition: file.h:4977
const StringPiece GetTypeName() const
Definition: file.h:2857
bool has_app_data_contents() const
Definition: file.h:3172
void set_folder_color_rgb(const StringPiece &value)
Definition: file.h:3893
void clear_default_open_with_link()
Definition: file.h:3449
void clear_can_move_children_within_team_drive()
Definition: file.h:705
bool has_lens() const
Definition: file.h:2008
bool has_alternate_link() const
Definition: file.h:3135