_propDict)) { return $this->_propDict["actions"]; } else { return null; } } /** * Sets the actions * Allowed Actions - Deprecated * * @param string $val The value of the actions * * @return RolePermission */ public function setActions($val) { $this->_propDict["actions"] = $val; return $this; } /** * Gets the resourceActions * Resource Actions each containing a set of allowed and not allowed permissions. * * @return ResourceAction|null The resourceActions */ public function getResourceActions() { if (array_key_exists("resourceActions", $this->_propDict)) { if (is_a($this->_propDict["resourceActions"], "\Beta\Microsoft\Graph\Model\ResourceAction") || is_null($this->_propDict["resourceActions"])) { return $this->_propDict["resourceActions"]; } else { $this->_propDict["resourceActions"] = new ResourceAction($this->_propDict["resourceActions"]); return $this->_propDict["resourceActions"]; } } return null; } /** * Sets the resourceActions * Resource Actions each containing a set of allowed and not allowed permissions. * * @param ResourceAction $val The value to assign to the resourceActions * * @return RolePermission The RolePermission */ public function setResourceActions($val) { $this->_propDict["resourceActions"] = $val; return $this; } }