暂无描述

About.php 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_Drive_About extends Google_Collection
  18. {
  19. protected $collection_key = 'teamDriveThemes';
  20. public $appInstalled;
  21. public $canCreateTeamDrives;
  22. public $exportFormats;
  23. public $folderColorPalette;
  24. public $importFormats;
  25. public $kind;
  26. public $maxImportSizes;
  27. public $maxUploadSize;
  28. protected $storageQuotaType = 'Google_Service_Drive_AboutStorageQuota';
  29. protected $storageQuotaDataType = '';
  30. protected $teamDriveThemesType = 'Google_Service_Drive_AboutTeamDriveThemes';
  31. protected $teamDriveThemesDataType = 'array';
  32. protected $userType = 'Google_Service_Drive_User';
  33. protected $userDataType = '';
  34. public function setAppInstalled($appInstalled)
  35. {
  36. $this->appInstalled = $appInstalled;
  37. }
  38. public function getAppInstalled()
  39. {
  40. return $this->appInstalled;
  41. }
  42. public function setCanCreateTeamDrives($canCreateTeamDrives)
  43. {
  44. $this->canCreateTeamDrives = $canCreateTeamDrives;
  45. }
  46. public function getCanCreateTeamDrives()
  47. {
  48. return $this->canCreateTeamDrives;
  49. }
  50. public function setExportFormats($exportFormats)
  51. {
  52. $this->exportFormats = $exportFormats;
  53. }
  54. public function getExportFormats()
  55. {
  56. return $this->exportFormats;
  57. }
  58. public function setFolderColorPalette($folderColorPalette)
  59. {
  60. $this->folderColorPalette = $folderColorPalette;
  61. }
  62. public function getFolderColorPalette()
  63. {
  64. return $this->folderColorPalette;
  65. }
  66. public function setImportFormats($importFormats)
  67. {
  68. $this->importFormats = $importFormats;
  69. }
  70. public function getImportFormats()
  71. {
  72. return $this->importFormats;
  73. }
  74. public function setKind($kind)
  75. {
  76. $this->kind = $kind;
  77. }
  78. public function getKind()
  79. {
  80. return $this->kind;
  81. }
  82. public function setMaxImportSizes($maxImportSizes)
  83. {
  84. $this->maxImportSizes = $maxImportSizes;
  85. }
  86. public function getMaxImportSizes()
  87. {
  88. return $this->maxImportSizes;
  89. }
  90. public function setMaxUploadSize($maxUploadSize)
  91. {
  92. $this->maxUploadSize = $maxUploadSize;
  93. }
  94. public function getMaxUploadSize()
  95. {
  96. return $this->maxUploadSize;
  97. }
  98. /**
  99. * @param Google_Service_Drive_AboutStorageQuota
  100. */
  101. public function setStorageQuota(Google_Service_Drive_AboutStorageQuota $storageQuota)
  102. {
  103. $this->storageQuota = $storageQuota;
  104. }
  105. /**
  106. * @return Google_Service_Drive_AboutStorageQuota
  107. */
  108. public function getStorageQuota()
  109. {
  110. return $this->storageQuota;
  111. }
  112. /**
  113. * @param Google_Service_Drive_AboutTeamDriveThemes
  114. */
  115. public function setTeamDriveThemes($teamDriveThemes)
  116. {
  117. $this->teamDriveThemes = $teamDriveThemes;
  118. }
  119. /**
  120. * @return Google_Service_Drive_AboutTeamDriveThemes
  121. */
  122. public function getTeamDriveThemes()
  123. {
  124. return $this->teamDriveThemes;
  125. }
  126. /**
  127. * @param Google_Service_Drive_User
  128. */
  129. public function setUser(Google_Service_Drive_User $user)
  130. {
  131. $this->user = $user;
  132. }
  133. /**
  134. * @return Google_Service_Drive_User
  135. */
  136. public function getUser()
  137. {
  138. return $this->user;
  139. }
  140. }