_propDict)) { return $this->_propDict["acceptRequests"]; } else { return null; } } /** * Sets the acceptRequests * Indicates whether new requests are accepted on this policy. * * @param bool $val The value of the acceptRequests * * @return RequestorSettings */ public function setAcceptRequests($val) { $this->_propDict["acceptRequests"] = $val; return $this; } /** * Gets the allowedRequestors * The users who are allowed to request on this policy, which can be singleUser, groupMembers, and connectedOrganizationMembers. * * @return UserSet|null The allowedRequestors */ public function getAllowedRequestors() { if (array_key_exists("allowedRequestors", $this->_propDict)) { if (is_a($this->_propDict["allowedRequestors"], "\Beta\Microsoft\Graph\Model\UserSet") || is_null($this->_propDict["allowedRequestors"])) { return $this->_propDict["allowedRequestors"]; } else { $this->_propDict["allowedRequestors"] = new UserSet($this->_propDict["allowedRequestors"]); return $this->_propDict["allowedRequestors"]; } } return null; } /** * Sets the allowedRequestors * The users who are allowed to request on this policy, which can be singleUser, groupMembers, and connectedOrganizationMembers. * * @param UserSet $val The value to assign to the allowedRequestors * * @return RequestorSettings The RequestorSettings */ public function setAllowedRequestors($val) { $this->_propDict["allowedRequestors"] = $val; return $this; } /** * Gets the scopeType * Who can request. One of NoSubjects, SpecificDirectorySubjects, SpecificConnectedOrganizationSubjects, AllConfiguredConnectedOrganizationSubjects, AllExistingConnectedOrganizationSubjects, AllExistingDirectoryMemberUsers, AllExistingDirectorySubjects or AllExternalSubjects. * * @return string|null The scopeType */ public function getScopeType() { if (array_key_exists("scopeType", $this->_propDict)) { return $this->_propDict["scopeType"]; } else { return null; } } /** * Sets the scopeType * Who can request. One of NoSubjects, SpecificDirectorySubjects, SpecificConnectedOrganizationSubjects, AllConfiguredConnectedOrganizationSubjects, AllExistingConnectedOrganizationSubjects, AllExistingDirectoryMemberUsers, AllExistingDirectorySubjects or AllExternalSubjects. * * @param string $val The value of the scopeType * * @return RequestorSettings */ public function setScopeType($val) { $this->_propDict["scopeType"] = $val; return $this; } }