_propDict)) { if (is_a($this->_propDict["deletedDateTime"], "\DateTime") || is_null($this->_propDict["deletedDateTime"])) { return $this->_propDict["deletedDateTime"]; } else { $this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]); return $this->_propDict["deletedDateTime"]; } } return null; } /** * Sets the deletedDateTime * When the workflow was deleted.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * * @param \DateTime $val The deletedDateTime * * @return Workflow */ public function setDeletedDateTime($val) { $this->_propDict["deletedDateTime"] = $val; return $this; } /** * Gets the id * Identifier used for individually addressing a specific workflow.Supports $filter(eq, ne) and $orderby. * * @return string|null The id */ public function getId() { if (array_key_exists("id", $this->_propDict)) { return $this->_propDict["id"]; } else { return null; } } /** * Sets the id * Identifier used for individually addressing a specific workflow.Supports $filter(eq, ne) and $orderby. * * @param string $val The id * * @return Workflow */ public function setId($val) { $this->_propDict["id"] = $val; return $this; } /** * Gets the nextScheduleRunDateTime * The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby. * * @return \DateTime|null The nextScheduleRunDateTime */ public function getNextScheduleRunDateTime() { if (array_key_exists("nextScheduleRunDateTime", $this->_propDict)) { if (is_a($this->_propDict["nextScheduleRunDateTime"], "\DateTime") || is_null($this->_propDict["nextScheduleRunDateTime"])) { return $this->_propDict["nextScheduleRunDateTime"]; } else { $this->_propDict["nextScheduleRunDateTime"] = new \DateTime($this->_propDict["nextScheduleRunDateTime"]); return $this->_propDict["nextScheduleRunDateTime"]; } } return null; } /** * Sets the nextScheduleRunDateTime * The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby. * * @param \DateTime $val The nextScheduleRunDateTime * * @return Workflow */ public function setNextScheduleRunDateTime($val) { $this->_propDict["nextScheduleRunDateTime"] = $val; return $this; } /** * Gets the version * The current version number of the workflow. Value is 1 when the workflow is first created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * * @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 * The current version number of the workflow. Value is 1 when the workflow is first created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. * * @param int $val The version * * @return Workflow */ public function setVersion($val) { $this->_propDict["version"] = intval($val); return $this; } /** * Gets the executionScope * The unique identifier of the Microsoft Entra identity that last modified the workflow object. * * @return array|null The executionScope */ public function getExecutionScope() { if (array_key_exists("executionScope", $this->_propDict)) { return $this->_propDict["executionScope"]; } else { return null; } } /** * Sets the executionScope * The unique identifier of the Microsoft Entra identity that last modified the workflow object. * * @param UserProcessingResult[] $val The executionScope * * @return Workflow */ public function setExecutionScope($val) { $this->_propDict["executionScope"] = $val; return $this; } /** * Gets the runs * Workflow runs. * * @return array|null The runs */ public function getRuns() { if (array_key_exists("runs", $this->_propDict)) { return $this->_propDict["runs"]; } else { return null; } } /** * Sets the runs * Workflow runs. * * @param Run[] $val The runs * * @return Workflow */ public function setRuns($val) { $this->_propDict["runs"] = $val; return $this; } /** * Gets the taskReports * Represents the aggregation of task execution data for tasks within a workflow object. * * @return array|null The taskReports */ public function getTaskReports() { if (array_key_exists("taskReports", $this->_propDict)) { return $this->_propDict["taskReports"]; } else { return null; } } /** * Sets the taskReports * Represents the aggregation of task execution data for tasks within a workflow object. * * @param TaskReport[] $val The taskReports * * @return Workflow */ public function setTaskReports($val) { $this->_propDict["taskReports"] = $val; return $this; } /** * Gets the userProcessingResults * Per-user workflow execution results. * * @return array|null The userProcessingResults */ public function getUserProcessingResults() { if (array_key_exists("userProcessingResults", $this->_propDict)) { return $this->_propDict["userProcessingResults"]; } else { return null; } } /** * Sets the userProcessingResults * Per-user workflow execution results. * * @param UserProcessingResult[] $val The userProcessingResults * * @return Workflow */ public function setUserProcessingResults($val) { $this->_propDict["userProcessingResults"] = $val; return $this; } /** * Gets the versions * The workflow versions that are available. * * @return array|null The versions */ public function getVersions() { if (array_key_exists("versions", $this->_propDict)) { return $this->_propDict["versions"]; } else { return null; } } /** * Sets the versions * The workflow versions that are available. * * @param WorkflowVersion[] $val The versions * * @return Workflow */ public function setVersions($val) { $this->_propDict["versions"] = $val; return $this; } }