Google_DriveFile

The Google Drive WP Media Google DriveFile class.

Defined (1)

The class is defined in the following location(s).

/gdwpm-api/contrib/Google_DriveService.php  
  1. class Google_DriveFile extends Google_Model { 
  2. public $alternateLink; 
  3. public $appDataContents; 
  4. public $createdDate; 
  5. public $defaultOpenWithLink; 
  6. public $description; 
  7. public $downloadUrl; 
  8. public $editable; 
  9. public $embedLink; 
  10. public $etag; 
  11. public $explicitlyTrashed; 
  12. public $exportLinks; 
  13. public $fileExtension; 
  14. public $fileSize; 
  15. public $headRevisionId; 
  16. public $iconLink; 
  17. public $id; 
  18. protected $__imageMediaMetadataType = 'Google_DriveFileImageMediaMetadata'; 
  19. protected $__imageMediaMetadataDataType = ''; 
  20. public $imageMediaMetadata; 
  21. protected $__indexableTextType = 'Google_DriveFileIndexableText'; 
  22. protected $__indexableTextDataType = ''; 
  23. public $indexableText; 
  24. public $kind; 
  25. protected $__labelsType = 'Google_DriveFileLabels'; 
  26. protected $__labelsDataType = ''; 
  27. public $labels; 
  28. protected $__lastModifyingUserType = 'Google_User'; 
  29. protected $__lastModifyingUserDataType = ''; 
  30. public $lastModifyingUser; 
  31. public $lastModifyingUserName; 
  32. public $lastViewedByMeDate; 
  33. public $md5Checksum; 
  34. public $mimeType; 
  35. public $modifiedByMeDate; 
  36. public $modifiedDate; 
  37. public $openWithLinks; 
  38. public $originalFilename; 
  39. public $ownerNames; 
  40. protected $__ownersType = 'Google_User'; 
  41. protected $__ownersDataType = 'array'; 
  42. public $owners; 
  43. protected $__parentsType = 'Google_ParentReference'; 
  44. protected $__parentsDataType = 'array'; 
  45. public $parents; 
  46. public $quotaBytesUsed; 
  47. public $selfLink; 
  48. public $shared; 
  49. public $sharedWithMeDate; 
  50. protected $__thumbnailType = 'Google_DriveFileThumbnail'; 
  51. protected $__thumbnailDataType = ''; 
  52. public $thumbnail; 
  53. public $thumbnailLink; 
  54. public $title; 
  55. protected $__userPermissionType = 'Google_Permission'; 
  56. protected $__userPermissionDataType = ''; 
  57. public $userPermission; 
  58. public $webContentLink; 
  59. public $webViewLink; 
  60. public $writersCanShare; 
  61. public function setAlternateLink( $alternateLink) { 
  62. $this->alternateLink = $alternateLink; 
  63. public function getAlternateLink() { 
  64. return $this->alternateLink; 
  65. public function setAppDataContents( $appDataContents) { 
  66. $this->appDataContents = $appDataContents; 
  67. public function getAppDataContents() { 
  68. return $this->appDataContents; 
  69. public function setCreatedDate( $createdDate) { 
  70. $this->createdDate = $createdDate; 
  71. public function getCreatedDate() { 
  72. return $this->createdDate; 
  73. public function setDefaultOpenWithLink( $defaultOpenWithLink) { 
  74. $this->defaultOpenWithLink = $defaultOpenWithLink; 
  75. public function getDefaultOpenWithLink() { 
  76. return $this->defaultOpenWithLink; 
  77. public function setDescription( $description) { 
  78. $this->description = $description; 
  79. public function getDescription() { 
  80. return $this->description; 
  81. public function setDownloadUrl( $downloadUrl) { 
  82. $this->downloadUrl = $downloadUrl; 
  83. public function getDownloadUrl() { 
  84. return $this->downloadUrl; 
  85. public function setEditable( $editable) { 
  86. $this->editable = $editable; 
  87. public function getEditable() { 
  88. return $this->editable; 
  89. public function setEmbedLink( $embedLink) { 
  90. $this->embedLink = $embedLink; 
  91. public function getEmbedLink() { 
  92. return $this->embedLink; 
  93. public function setEtag( $etag) { 
  94. $this->etag = $etag; 
  95. public function getEtag() { 
  96. return $this->etag; 
  97. public function setExplicitlyTrashed( $explicitlyTrashed) { 
  98. $this->explicitlyTrashed = $explicitlyTrashed; 
  99. public function getExplicitlyTrashed() { 
  100. return $this->explicitlyTrashed; 
  101. public function setExportLinks( $exportLinks) { 
  102. $this->exportLinks = $exportLinks; 
  103. public function getExportLinks() { 
  104. return $this->exportLinks; 
  105. public function setFileExtension( $fileExtension) { 
  106. $this->fileExtension = $fileExtension; 
  107. public function getFileExtension() { 
  108. return $this->fileExtension; 
  109. public function setFileSize( $fileSize) { 
  110. $this->fileSize = $fileSize; 
  111. public function getFileSize() { 
  112. return $this->fileSize; 
  113. public function setHeadRevisionId( $headRevisionId) { 
  114. $this->headRevisionId = $headRevisionId; 
  115. public function getHeadRevisionId() { 
  116. return $this->headRevisionId; 
  117. public function setIconLink( $iconLink) { 
  118. $this->iconLink = $iconLink; 
  119. public function getIconLink() { 
  120. return $this->iconLink; 
  121. public function setId( $id) { 
  122. $this->id = $id; 
  123. public function getId() { 
  124. return $this->id; 
  125. public function setImageMediaMetadata(Google_DriveFileImageMediaMetadata $imageMediaMetadata) { 
  126. $this->imageMediaMetadata = $imageMediaMetadata; 
  127. public function getImageMediaMetadata() { 
  128. return $this->imageMediaMetadata; 
  129. public function setIndexableText(Google_DriveFileIndexableText $indexableText) { 
  130. $this->indexableText = $indexableText; 
  131. public function getIndexableText() { 
  132. return $this->indexableText; 
  133. public function setKind( $kind) { 
  134. $this->kind = $kind; 
  135. public function getKind() { 
  136. return $this->kind; 
  137. public function setLabels(Google_DriveFileLabels $labels) { 
  138. $this->labels = $labels; 
  139. public function getLabels() { 
  140. return $this->labels; 
  141. public function setLastModifyingUser(Google_User $lastModifyingUser) { 
  142. $this->lastModifyingUser = $lastModifyingUser; 
  143. public function getLastModifyingUser() { 
  144. return $this->lastModifyingUser; 
  145. public function setLastModifyingUserName( $lastModifyingUserName) { 
  146. $this->lastModifyingUserName = $lastModifyingUserName; 
  147. public function getLastModifyingUserName() { 
  148. return $this->lastModifyingUserName; 
  149. public function setLastViewedByMeDate( $lastViewedByMeDate) { 
  150. $this->lastViewedByMeDate = $lastViewedByMeDate; 
  151. public function getLastViewedByMeDate() { 
  152. return $this->lastViewedByMeDate; 
  153. public function setMd5Checksum( $md5Checksum) { 
  154. $this->md5Checksum = $md5Checksum; 
  155. public function getMd5Checksum() { 
  156. return $this->md5Checksum; 
  157. public function setMimeType( $mimeType) { 
  158. $this->mimeType = $mimeType; 
  159. public function getMimeType() { 
  160. return $this->mimeType; 
  161. public function setModifiedByMeDate( $modifiedByMeDate) { 
  162. $this->modifiedByMeDate = $modifiedByMeDate; 
  163. public function getModifiedByMeDate() { 
  164. return $this->modifiedByMeDate; 
  165. public function setModifiedDate( $modifiedDate) { 
  166. $this->modifiedDate = $modifiedDate; 
  167. public function getModifiedDate() { 
  168. return $this->modifiedDate; 
  169. public function setOpenWithLinks( $openWithLinks) { 
  170. $this->openWithLinks = $openWithLinks; 
  171. public function getOpenWithLinks() { 
  172. return $this->openWithLinks; 
  173. public function setOriginalFilename( $originalFilename) { 
  174. $this->originalFilename = $originalFilename; 
  175. public function getOriginalFilename() { 
  176. return $this->originalFilename; 
  177. public function setOwnerNames(/** array(Google_string) */ $ownerNames) { 
  178. $this->assertIsArray($ownerNames, 'Google_string', __METHOD__); 
  179. $this->ownerNames = $ownerNames; 
  180. public function getOwnerNames() { 
  181. return $this->ownerNames; 
  182. public function setOwners(/** array(Google_User) */ $owners) { 
  183. $this->assertIsArray($owners, 'Google_User', __METHOD__); 
  184. $this->owners = $owners; 
  185. public function getOwners() { 
  186. return $this->owners; 
  187. public function setParents(/** array(Google_ParentReference) */ $parents) { 
  188. $this->assertIsArray($parents, 'Google_ParentReference', __METHOD__); 
  189. $this->parents = $parents; 
  190. public function getParents() { 
  191. return $this->parents; 
  192. public function setQuotaBytesUsed( $quotaBytesUsed) { 
  193. $this->quotaBytesUsed = $quotaBytesUsed; 
  194. public function getQuotaBytesUsed() { 
  195. return $this->quotaBytesUsed; 
  196. public function setSelfLink( $selfLink) { 
  197. $this->selfLink = $selfLink; 
  198. public function getSelfLink() { 
  199. return $this->selfLink; 
  200. public function setShared( $shared) { 
  201. $this->shared = $shared; 
  202. public function getShared() { 
  203. return $this->shared; 
  204. public function setSharedWithMeDate( $sharedWithMeDate) { 
  205. $this->sharedWithMeDate = $sharedWithMeDate; 
  206. public function getSharedWithMeDate() { 
  207. return $this->sharedWithMeDate; 
  208. public function setThumbnail(Google_DriveFileThumbnail $thumbnail) { 
  209. $this->thumbnail = $thumbnail; 
  210. public function getThumbnail() { 
  211. return $this->thumbnail; 
  212. public function setThumbnailLink( $thumbnailLink) { 
  213. $this->thumbnailLink = $thumbnailLink; 
  214. public function getThumbnailLink() { 
  215. return $this->thumbnailLink; 
  216. public function setTitle( $title) { 
  217. $this->title = $title; 
  218. public function getTitle() { 
  219. return $this->title; 
  220. public function setUserPermission(Google_Permission $userPermission) { 
  221. $this->userPermission = $userPermission; 
  222. public function getUserPermission() { 
  223. return $this->userPermission; 
  224. public function setWebContentLink( $webContentLink) { 
  225. $this->webContentLink = $webContentLink; 
  226. public function getWebContentLink() { 
  227. return $this->webContentLink; 
  228. public function setWebViewLink( $webViewLink) { 
  229. $this->webViewLink = $webViewLink; 
  230. public function getWebViewLink() { 
  231. return $this->webViewLink; 
  232. public function setWritersCanShare( $writersCanShare) { 
  233. $this->writersCanShare = $writersCanShare; 
  234. public function getWritersCanShare() { 
  235. return $this->writersCanShare;