Google_Permission

The Google Drive WP Media Google Permission class.

Defined (1)

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

/gdwpm-api/contrib/Google_DriveService.php  
  1. class Google_Permission extends Google_Model { 
  2. public $additionalRoles; 
  3. public $authKey; 
  4. public $etag; 
  5. public $id; 
  6. public $kind; 
  7. public $name; 
  8. public $photoLink; 
  9. public $role; 
  10. public $selfLink; 
  11. public $type; 
  12. public $value; 
  13. public $withLink; 
  14. public function setAdditionalRoles(/** array(Google_string) */ $additionalRoles) { 
  15. $this->assertIsArray($additionalRoles, 'Google_string', __METHOD__); 
  16. $this->additionalRoles = $additionalRoles; 
  17. public function getAdditionalRoles() { 
  18. return $this->additionalRoles; 
  19. public function setAuthKey( $authKey) { 
  20. $this->authKey = $authKey; 
  21. public function getAuthKey() { 
  22. return $this->authKey; 
  23. public function setEtag( $etag) { 
  24. $this->etag = $etag; 
  25. public function getEtag() { 
  26. return $this->etag; 
  27. public function setId( $id) { 
  28. $this->id = $id; 
  29. public function getId() { 
  30. return $this->id; 
  31. public function setKind( $kind) { 
  32. $this->kind = $kind; 
  33. public function getKind() { 
  34. return $this->kind; 
  35. public function setName( $name) { 
  36. $this->name = $name; 
  37. public function getName() { 
  38. return $this->name; 
  39. public function setPhotoLink( $photoLink) { 
  40. $this->photoLink = $photoLink; 
  41. public function getPhotoLink() { 
  42. return $this->photoLink; 
  43. public function setRole( $role) { 
  44. $this->role = $role; 
  45. public function getRole() { 
  46. return $this->role; 
  47. public function setSelfLink( $selfLink) { 
  48. $this->selfLink = $selfLink; 
  49. public function getSelfLink() { 
  50. return $this->selfLink; 
  51. public function setType( $type) { 
  52. $this->type = $type; 
  53. public function getType() { 
  54. return $this->type; 
  55. public function setValue( $value) { 
  56. $this->value = $value; 
  57. public function getValue() { 
  58. return $this->value; 
  59. public function setWithLink( $withLink) { 
  60. $this->withLink = $withLink; 
  61. public function getWithLink() { 
  62. return $this->withLink;