_propDict)) { return $this->_propDict["actionName"]; } else { return null; } } /** * Sets the actionName * The specified action. Supported values in the Microsoft Endpoint Manager portal are: Reprovision, Resize, Restore. Supported values in enterprise Cloud PC devices are: Reboot, Rename, Reprovision, Troubleshoot. * * @param string $val The value of the actionName * * @return CloudPcRemoteActionResult */ public function setActionName($val) { $this->_propDict["actionName"] = $val; return $this; } /** * Gets the actionState * State of the action. Possible values are: None, pending, canceled, active, done, failed, notSupported. Read-only. * * @return ActionState|null The actionState */ public function getActionState() { if (array_key_exists("actionState", $this->_propDict)) { if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\ActionState") || is_null($this->_propDict["actionState"])) { return $this->_propDict["actionState"]; } else { $this->_propDict["actionState"] = new ActionState($this->_propDict["actionState"]); return $this->_propDict["actionState"]; } } return null; } /** * Sets the actionState * State of the action. Possible values are: None, pending, canceled, active, done, failed, notSupported. Read-only. * * @param ActionState $val The value to assign to the actionState * * @return CloudPcRemoteActionResult The CloudPcRemoteActionResult */ public function setActionState($val) { $this->_propDict["actionState"] = $val; return $this; } /** * Gets the cloudPcId * The ID of the Cloud PC device on which the remote action is performed. Read-only. * * @return string|null The cloudPcId */ public function getCloudPcId() { if (array_key_exists("cloudPcId", $this->_propDict)) { return $this->_propDict["cloudPcId"]; } else { return null; } } /** * Sets the cloudPcId * The ID of the Cloud PC device on which the remote action is performed. Read-only. * * @param string $val The value of the cloudPcId * * @return CloudPcRemoteActionResult */ public function setCloudPcId($val) { $this->_propDict["cloudPcId"] = $val; return $this; } /** * Gets the lastUpdatedDateTime * Last update time for action. The Timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'. * * @return \DateTime|null The lastUpdatedDateTime */ public function getLastUpdatedDateTime() { if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdatedDateTime"])) { return $this->_propDict["lastUpdatedDateTime"]; } else { $this->_propDict["lastUpdatedDateTime"] = new \DateTime($this->_propDict["lastUpdatedDateTime"]); return $this->_propDict["lastUpdatedDateTime"]; } } return null; } /** * Sets the lastUpdatedDateTime * Last update time for action. The Timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'. * * @param \DateTime $val The value to assign to the lastUpdatedDateTime * * @return CloudPcRemoteActionResult The CloudPcRemoteActionResult */ public function setLastUpdatedDateTime($val) { $this->_propDict["lastUpdatedDateTime"] = $val; return $this; } /** * Gets the managedDeviceId * The ID of the Intune managed device on which the remote action is performed. Read-only. * * @return string|null The managedDeviceId */ public function getManagedDeviceId() { if (array_key_exists("managedDeviceId", $this->_propDict)) { return $this->_propDict["managedDeviceId"]; } else { return null; } } /** * Sets the managedDeviceId * The ID of the Intune managed device on which the remote action is performed. Read-only. * * @param string $val The value of the managedDeviceId * * @return CloudPcRemoteActionResult */ public function setManagedDeviceId($val) { $this->_propDict["managedDeviceId"] = $val; return $this; } /** * Gets the startDateTime * Time the action was initiated. The Timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'. * * @return \DateTime|null The startDateTime */ public function getStartDateTime() { if (array_key_exists("startDateTime", $this->_propDict)) { if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { return $this->_propDict["startDateTime"]; } else { $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); return $this->_propDict["startDateTime"]; } } return null; } /** * Sets the startDateTime * Time the action was initiated. The Timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'. * * @param \DateTime $val The value to assign to the startDateTime * * @return CloudPcRemoteActionResult The CloudPcRemoteActionResult */ public function setStartDateTime($val) { $this->_propDict["startDateTime"] = $val; return $this; } /** * Gets the statusDetails * The details of the Cloud PC status. * * @return CloudPcStatusDetails|null The statusDetails */ public function getStatusDetails() { if (array_key_exists("statusDetails", $this->_propDict)) { if (is_a($this->_propDict["statusDetails"], "\Beta\Microsoft\Graph\Model\CloudPcStatusDetails") || is_null($this->_propDict["statusDetails"])) { return $this->_propDict["statusDetails"]; } else { $this->_propDict["statusDetails"] = new CloudPcStatusDetails($this->_propDict["statusDetails"]); return $this->_propDict["statusDetails"]; } } return null; } /** * Sets the statusDetails * The details of the Cloud PC status. * * @param CloudPcStatusDetails $val The value to assign to the statusDetails * * @return CloudPcRemoteActionResult The CloudPcRemoteActionResult */ public function setStatusDetails($val) { $this->_propDict["statusDetails"] = $val; return $this; } }