_propDict)) { return $this->_propDict["isEnabled"]; } else { return null; } } /** * Sets the isEnabled * Specifies whether the admin consent request feature is enabled or disabled. Required. * * @param bool $val The isEnabled * * @return AdminConsentRequestPolicy */ public function setIsEnabled($val) { $this->_propDict["isEnabled"] = boolval($val); return $this; } /** * Gets the notifyReviewers * Specifies whether reviewers will receive notifications. Required. * * @return bool|null The notifyReviewers */ public function getNotifyReviewers() { if (array_key_exists("notifyReviewers", $this->_propDict)) { return $this->_propDict["notifyReviewers"]; } else { return null; } } /** * Sets the notifyReviewers * Specifies whether reviewers will receive notifications. Required. * * @param bool $val The notifyReviewers * * @return AdminConsentRequestPolicy */ public function setNotifyReviewers($val) { $this->_propDict["notifyReviewers"] = boolval($val); return $this; } /** * Gets the remindersEnabled * Specifies whether reviewers will receive reminder emails. Required. * * @return bool|null The remindersEnabled */ public function getRemindersEnabled() { if (array_key_exists("remindersEnabled", $this->_propDict)) { return $this->_propDict["remindersEnabled"]; } else { return null; } } /** * Sets the remindersEnabled * Specifies whether reviewers will receive reminder emails. Required. * * @param bool $val The remindersEnabled * * @return AdminConsentRequestPolicy */ public function setRemindersEnabled($val) { $this->_propDict["remindersEnabled"] = boolval($val); return $this; } /** * Gets the requestDurationInDays * Specifies the duration the request is active before it automatically expires if no decision is applied. * * @return int|null The requestDurationInDays */ public function getRequestDurationInDays() { if (array_key_exists("requestDurationInDays", $this->_propDict)) { return $this->_propDict["requestDurationInDays"]; } else { return null; } } /** * Sets the requestDurationInDays * Specifies the duration the request is active before it automatically expires if no decision is applied. * * @param int $val The requestDurationInDays * * @return AdminConsentRequestPolicy */ public function setRequestDurationInDays($val) { $this->_propDict["requestDurationInDays"] = intval($val); return $this; } /** * Gets the reviewers * The list of reviewers for the admin consent. Required. * * @return array|null The reviewers */ public function getReviewers() { if (array_key_exists("reviewers", $this->_propDict)) { return $this->_propDict["reviewers"]; } else { return null; } } /** * Sets the reviewers * The list of reviewers for the admin consent. Required. * * @param AccessReviewReviewerScope[] $val The reviewers * * @return AdminConsentRequestPolicy */ public function setReviewers($val) { $this->_propDict["reviewers"] = $val; return $this; } /** * Gets the version * Specifies the version of this policy. When the policy is updated, this version is updated. Read-only. * * @return int|null The version */ public function getVersion() { if (array_key_exists("version", $this->_propDict)) { return $this->_propDict["version"]; } else { return null; } } /** * Sets the version * Specifies the version of this policy. When the policy is updated, this version is updated. Read-only. * * @param int $val The version * * @return AdminConsentRequestPolicy */ public function setVersion($val) { $this->_propDict["version"] = intval($val); return $this; } }