暫無描述

Permission.php 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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_Permission extends Google_Collection
  18. {
  19. protected $collection_key = 'teamDrivePermissionDetails';
  20. public $allowFileDiscovery;
  21. public $deleted;
  22. public $displayName;
  23. public $domain;
  24. public $emailAddress;
  25. public $expirationTime;
  26. public $id;
  27. public $kind;
  28. public $photoLink;
  29. public $role;
  30. protected $teamDrivePermissionDetailsType = 'Google_Service_Drive_PermissionTeamDrivePermissionDetails';
  31. protected $teamDrivePermissionDetailsDataType = 'array';
  32. public $type;
  33. public function setAllowFileDiscovery($allowFileDiscovery)
  34. {
  35. $this->allowFileDiscovery = $allowFileDiscovery;
  36. }
  37. public function getAllowFileDiscovery()
  38. {
  39. return $this->allowFileDiscovery;
  40. }
  41. public function setDeleted($deleted)
  42. {
  43. $this->deleted = $deleted;
  44. }
  45. public function getDeleted()
  46. {
  47. return $this->deleted;
  48. }
  49. public function setDisplayName($displayName)
  50. {
  51. $this->displayName = $displayName;
  52. }
  53. public function getDisplayName()
  54. {
  55. return $this->displayName;
  56. }
  57. public function setDomain($domain)
  58. {
  59. $this->domain = $domain;
  60. }
  61. public function getDomain()
  62. {
  63. return $this->domain;
  64. }
  65. public function setEmailAddress($emailAddress)
  66. {
  67. $this->emailAddress = $emailAddress;
  68. }
  69. public function getEmailAddress()
  70. {
  71. return $this->emailAddress;
  72. }
  73. public function setExpirationTime($expirationTime)
  74. {
  75. $this->expirationTime = $expirationTime;
  76. }
  77. public function getExpirationTime()
  78. {
  79. return $this->expirationTime;
  80. }
  81. public function setId($id)
  82. {
  83. $this->id = $id;
  84. }
  85. public function getId()
  86. {
  87. return $this->id;
  88. }
  89. public function setKind($kind)
  90. {
  91. $this->kind = $kind;
  92. }
  93. public function getKind()
  94. {
  95. return $this->kind;
  96. }
  97. public function setPhotoLink($photoLink)
  98. {
  99. $this->photoLink = $photoLink;
  100. }
  101. public function getPhotoLink()
  102. {
  103. return $this->photoLink;
  104. }
  105. public function setRole($role)
  106. {
  107. $this->role = $role;
  108. }
  109. public function getRole()
  110. {
  111. return $this->role;
  112. }
  113. /**
  114. * @param Google_Service_Drive_PermissionTeamDrivePermissionDetails
  115. */
  116. public function setTeamDrivePermissionDetails($teamDrivePermissionDetails)
  117. {
  118. $this->teamDrivePermissionDetails = $teamDrivePermissionDetails;
  119. }
  120. /**
  121. * @return Google_Service_Drive_PermissionTeamDrivePermissionDetails
  122. */
  123. public function getTeamDrivePermissionDetails()
  124. {
  125. return $this->teamDrivePermissionDetails;
  126. }
  127. public function setType($type)
  128. {
  129. $this->type = $type;
  130. }
  131. public function getType()
  132. {
  133. return $this->type;
  134. }
  135. }