setODataType("#microsoft.graph.singleResourceGcpPermissionsDefinition"); } /** * Gets the actionInfo * * @return GcpPermissionsDefinitionAction|null The actionInfo */ public function getActionInfo() { if (array_key_exists("actionInfo", $this->_propDict)) { if (is_a($this->_propDict["actionInfo"], "\Beta\Microsoft\Graph\Model\GcpPermissionsDefinitionAction") || is_null($this->_propDict["actionInfo"])) { return $this->_propDict["actionInfo"]; } else { $this->_propDict["actionInfo"] = new GcpPermissionsDefinitionAction($this->_propDict["actionInfo"]); return $this->_propDict["actionInfo"]; } } return null; } /** * Sets the actionInfo * * @param GcpPermissionsDefinitionAction $val The value to assign to the actionInfo * * @return SingleResourceGcpPermissionsDefinition The SingleResourceGcpPermissionsDefinition */ public function setActionInfo($val) { $this->_propDict["actionInfo"] = $val; return $this; } /** * Gets the resourceId * * @return string|null The resourceId */ public function getResourceId() { if (array_key_exists("resourceId", $this->_propDict)) { return $this->_propDict["resourceId"]; } else { return null; } } /** * Sets the resourceId * * @param string $val The value of the resourceId * * @return SingleResourceGcpPermissionsDefinition */ public function setResourceId($val) { $this->_propDict["resourceId"] = $val; return $this; } }