_propDict)) { return $this->_propDict["actionVerb"]; } else { return null; } } /** * Sets the actionVerb * HTTP method for the action, such as DELETE, GET, PATCH, POST, PUT, or null. Supports $filter (eq) but not for null values. * * @param string $val The actionVerb * * @return UnifiedRbacResourceAction */ public function setActionVerb($val) { $this->_propDict["actionVerb"] = $val; return $this; } /** * Gets the authenticationContextId * * @return string|null The authenticationContextId */ public function getAuthenticationContextId() { if (array_key_exists("authenticationContextId", $this->_propDict)) { return $this->_propDict["authenticationContextId"]; } else { return null; } } /** * Sets the authenticationContextId * * @param string $val The authenticationContextId * * @return UnifiedRbacResourceAction */ public function setAuthenticationContextId($val) { $this->_propDict["authenticationContextId"] = $val; return $this; } /** * Gets the description * Description for the action. Supports $filter (eq). * * @return string|null The description */ public function getDescription() { if (array_key_exists("description", $this->_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * Description for the action. Supports $filter (eq). * * @param string $val The description * * @return UnifiedRbacResourceAction */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the isAuthenticationContextSettable * * @return bool|null The isAuthenticationContextSettable */ public function getIsAuthenticationContextSettable() { if (array_key_exists("isAuthenticationContextSettable", $this->_propDict)) { return $this->_propDict["isAuthenticationContextSettable"]; } else { return null; } } /** * Sets the isAuthenticationContextSettable * * @param bool $val The isAuthenticationContextSettable * * @return UnifiedRbacResourceAction */ public function setIsAuthenticationContextSettable($val) { $this->_propDict["isAuthenticationContextSettable"] = boolval($val); return $this; } /** * Gets the isPrivileged * Flag indicating if the action is a sensitive resource action. Applies only for actions in the microsoft.directory resource namespace. Read-only. Supports $filter (eq). * * @return bool|null The isPrivileged */ public function getIsPrivileged() { if (array_key_exists("isPrivileged", $this->_propDict)) { return $this->_propDict["isPrivileged"]; } else { return null; } } /** * Sets the isPrivileged * Flag indicating if the action is a sensitive resource action. Applies only for actions in the microsoft.directory resource namespace. Read-only. Supports $filter (eq). * * @param bool $val The isPrivileged * * @return UnifiedRbacResourceAction */ public function setIsPrivileged($val) { $this->_propDict["isPrivileged"] = boolval($val); return $this; } /** * Gets the name * Name for the action within the resource namespace, such as microsoft.insights/programs/update. Can include slash character (/). Case insensitive. Required. Supports $filter (eq). * * @return string|null The name */ public function getName() { if (array_key_exists("name", $this->_propDict)) { return $this->_propDict["name"]; } else { return null; } } /** * Sets the name * Name for the action within the resource namespace, such as microsoft.insights/programs/update. Can include slash character (/). Case insensitive. Required. Supports $filter (eq). * * @param string $val The name * * @return UnifiedRbacResourceAction */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } /** * Gets the resourceScopeId * Not implemented. * * @return string|null The resourceScopeId */ public function getResourceScopeId() { if (array_key_exists("resourceScopeId", $this->_propDict)) { return $this->_propDict["resourceScopeId"]; } else { return null; } } /** * Sets the resourceScopeId * Not implemented. * * @param string $val The resourceScopeId * * @return UnifiedRbacResourceAction */ public function setResourceScopeId($val) { $this->_propDict["resourceScopeId"] = $val; return $this; } /** * Gets the authenticationContext * * @return AuthenticationContextClassReference|null The authenticationContext */ public function getAuthenticationContext() { if (array_key_exists("authenticationContext", $this->_propDict)) { if (is_a($this->_propDict["authenticationContext"], "\Beta\Microsoft\Graph\Model\AuthenticationContextClassReference") || is_null($this->_propDict["authenticationContext"])) { return $this->_propDict["authenticationContext"]; } else { $this->_propDict["authenticationContext"] = new AuthenticationContextClassReference($this->_propDict["authenticationContext"]); return $this->_propDict["authenticationContext"]; } } return null; } /** * Sets the authenticationContext * * @param AuthenticationContextClassReference $val The authenticationContext * * @return UnifiedRbacResourceAction */ public function setAuthenticationContext($val) { $this->_propDict["authenticationContext"] = $val; return $this; } /** * Gets the resourceScope * * @return UnifiedRbacResourceScope|null The resourceScope */ public function getResourceScope() { if (array_key_exists("resourceScope", $this->_propDict)) { if (is_a($this->_propDict["resourceScope"], "\Beta\Microsoft\Graph\Model\UnifiedRbacResourceScope") || is_null($this->_propDict["resourceScope"])) { return $this->_propDict["resourceScope"]; } else { $this->_propDict["resourceScope"] = new UnifiedRbacResourceScope($this->_propDict["resourceScope"]); return $this->_propDict["resourceScope"]; } } return null; } /** * Sets the resourceScope * * @param UnifiedRbacResourceScope $val The resourceScope * * @return UnifiedRbacResourceAction */ public function setResourceScope($val) { $this->_propDict["resourceScope"] = $val; return $this; } }