_propDict)) { if (is_a($this->_propDict["lastManualSyncTriggerDateTime"], "\DateTime") || is_null($this->_propDict["lastManualSyncTriggerDateTime"])) { return $this->_propDict["lastManualSyncTriggerDateTime"]; } else { $this->_propDict["lastManualSyncTriggerDateTime"] = new \DateTime($this->_propDict["lastManualSyncTriggerDateTime"]); return $this->_propDict["lastManualSyncTriggerDateTime"]; } } return null; } /** * Sets the lastManualSyncTriggerDateTime * Last data sync date time with DDS service. * * @param \DateTime $val The lastManualSyncTriggerDateTime * * @return WindowsAutopilotSettings */ public function setLastManualSyncTriggerDateTime($val) { $this->_propDict["lastManualSyncTriggerDateTime"] = $val; return $this; } /** * Gets the lastSyncDateTime * Last data sync date time with DDS service. * * @return \DateTime|null The lastSyncDateTime */ public function getLastSyncDateTime() { if (array_key_exists("lastSyncDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { return $this->_propDict["lastSyncDateTime"]; } else { $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); return $this->_propDict["lastSyncDateTime"]; } } return null; } /** * Sets the lastSyncDateTime * Last data sync date time with DDS service. * * @param \DateTime $val The lastSyncDateTime * * @return WindowsAutopilotSettings */ public function setLastSyncDateTime($val) { $this->_propDict["lastSyncDateTime"] = $val; return $this; } /** * Gets the syncStatus * Indicates the status of sync with Device data sync (DDS) service. Possible values are: unknown, inProgress, completed, failed. * * @return WindowsAutopilotSyncStatus|null The syncStatus */ public function getSyncStatus() { if (array_key_exists("syncStatus", $this->_propDict)) { if (is_a($this->_propDict["syncStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotSyncStatus") || is_null($this->_propDict["syncStatus"])) { return $this->_propDict["syncStatus"]; } else { $this->_propDict["syncStatus"] = new WindowsAutopilotSyncStatus($this->_propDict["syncStatus"]); return $this->_propDict["syncStatus"]; } } return null; } /** * Sets the syncStatus * Indicates the status of sync with Device data sync (DDS) service. Possible values are: unknown, inProgress, completed, failed. * * @param WindowsAutopilotSyncStatus $val The syncStatus * * @return WindowsAutopilotSettings */ public function setSyncStatus($val) { $this->_propDict["syncStatus"] = $val; return $this; } }