Geen omschrijving

Role.php 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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_Directory_Role extends Google_Collection
  18. {
  19. protected $collection_key = 'rolePrivileges';
  20. public $etag;
  21. public $isSuperAdminRole;
  22. public $isSystemRole;
  23. public $kind;
  24. public $roleDescription;
  25. public $roleId;
  26. public $roleName;
  27. protected $rolePrivilegesType = 'Google_Service_Directory_RoleRolePrivileges';
  28. protected $rolePrivilegesDataType = 'array';
  29. public function setEtag($etag)
  30. {
  31. $this->etag = $etag;
  32. }
  33. public function getEtag()
  34. {
  35. return $this->etag;
  36. }
  37. public function setIsSuperAdminRole($isSuperAdminRole)
  38. {
  39. $this->isSuperAdminRole = $isSuperAdminRole;
  40. }
  41. public function getIsSuperAdminRole()
  42. {
  43. return $this->isSuperAdminRole;
  44. }
  45. public function setIsSystemRole($isSystemRole)
  46. {
  47. $this->isSystemRole = $isSystemRole;
  48. }
  49. public function getIsSystemRole()
  50. {
  51. return $this->isSystemRole;
  52. }
  53. public function setKind($kind)
  54. {
  55. $this->kind = $kind;
  56. }
  57. public function getKind()
  58. {
  59. return $this->kind;
  60. }
  61. public function setRoleDescription($roleDescription)
  62. {
  63. $this->roleDescription = $roleDescription;
  64. }
  65. public function getRoleDescription()
  66. {
  67. return $this->roleDescription;
  68. }
  69. public function setRoleId($roleId)
  70. {
  71. $this->roleId = $roleId;
  72. }
  73. public function getRoleId()
  74. {
  75. return $this->roleId;
  76. }
  77. public function setRoleName($roleName)
  78. {
  79. $this->roleName = $roleName;
  80. }
  81. public function getRoleName()
  82. {
  83. return $this->roleName;
  84. }
  85. /**
  86. * @param Google_Service_Directory_RoleRolePrivileges
  87. */
  88. public function setRolePrivileges($rolePrivileges)
  89. {
  90. $this->rolePrivileges = $rolePrivileges;
  91. }
  92. /**
  93. * @return Google_Service_Directory_RoleRolePrivileges
  94. */
  95. public function getRolePrivileges()
  96. {
  97. return $this->rolePrivileges;
  98. }
  99. }