/php/bitbucket_external_repository_group_privilege.class.php
https://bitbucket.org/chamilo/chamilo-ext-repo-bitbucket-dev/ · PHP · 102 lines · 64 code · 15 blank · 23 comment · 0 complexity · bdf6556b7b5ff253225e021ce6e47174 MD5 · raw file
- <?php
- namespace common\extensions\external_repository_manager\implementation\bitbucket;
-
- /**
- *
- * @author magali.gillard
- *
- */
- class BitbucketExternalRepositoryGroupPrivilege
- {
- private $group;
- private $name;
- private $privilege;
- private $repository;
- private $members;
- private $owner;
-
- function get_group()
- {
- return $this->group;
- }
-
- function set_group($group)
- {
- $this->group = $group;
- }
-
- function get_privilege()
- {
- return $this->privilege;
- }
-
- function set_privilege($privilege)
- {
- $this->privilege = $privilege;
- }
-
- function get_repository()
- {
- return $this->repository;
- }
-
- function set_repository($repository)
- {
- $this->repository = $repository;
- }
-
- /**
- * @return the $members
- */
- public function get_members()
- {
- return $this->members;
- }
-
- /**
- * @param $members the $members to set
- */
- public function set_members($members)
- {
- $this->members = $members;
- }
-
- /**
- * @return the $name
- */
- public function get_name()
- {
- return $this->name;
- }
-
- /**
- * @param $name the $name to set
- */
- public function set_name($name)
- {
- $this->name = $name;
- }
-
- /**
- * @return the $owner
- */
- public function get_owner()
- {
- return $this->owner;
- }
-
- /**
- * @param $owner the $owner to set
- */
- public function set_owner($owner)
- {
- $this->owner = $owner;
- }
-
- public function get_owner_username()
- {
- return $this->get_owner()->username;
- }
-
- }
- ?>