_propDict)) { if (is_a($this->_propDict["lastCheckInDateTime"], "\DateTime") || is_null($this->_propDict["lastCheckInDateTime"])) { return $this->_propDict["lastCheckInDateTime"]; } else { $this->_propDict["lastCheckInDateTime"] = new \DateTime($this->_propDict["lastCheckInDateTime"]); return $this->_propDict["lastCheckInDateTime"]; } } return null; } /** * Sets the lastCheckInDateTime * Last checkin time of the device that was targeted by this wipe action. * * @param \DateTime $val The lastCheckInDateTime * * @return WindowsInformationProtectionWipeAction */ public function setLastCheckInDateTime($val) { $this->_propDict["lastCheckInDateTime"] = $val; return $this; } /** * Gets the status * Wipe action status. Possible values are: none, pending, canceled, active, done, failed, notSupported. * * @return ActionState|null The status */ public function getStatus() { if (array_key_exists("status", $this->_propDict)) { if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ActionState") || is_null($this->_propDict["status"])) { return $this->_propDict["status"]; } else { $this->_propDict["status"] = new ActionState($this->_propDict["status"]); return $this->_propDict["status"]; } } return null; } /** * Sets the status * Wipe action status. Possible values are: none, pending, canceled, active, done, failed, notSupported. * * @param ActionState $val The status * * @return WindowsInformationProtectionWipeAction */ public function setStatus($val) { $this->_propDict["status"] = $val; return $this; } /** * Gets the targetedDeviceMacAddress * Targeted device Mac address. * * @return string|null The targetedDeviceMacAddress */ public function getTargetedDeviceMacAddress() { if (array_key_exists("targetedDeviceMacAddress", $this->_propDict)) { return $this->_propDict["targetedDeviceMacAddress"]; } else { return null; } } /** * Sets the targetedDeviceMacAddress * Targeted device Mac address. * * @param string $val The targetedDeviceMacAddress * * @return WindowsInformationProtectionWipeAction */ public function setTargetedDeviceMacAddress($val) { $this->_propDict["targetedDeviceMacAddress"] = $val; return $this; } /** * Gets the targetedDeviceName * Targeted device name. * * @return string|null The targetedDeviceName */ public function getTargetedDeviceName() { if (array_key_exists("targetedDeviceName", $this->_propDict)) { return $this->_propDict["targetedDeviceName"]; } else { return null; } } /** * Sets the targetedDeviceName * Targeted device name. * * @param string $val The targetedDeviceName * * @return WindowsInformationProtectionWipeAction */ public function setTargetedDeviceName($val) { $this->_propDict["targetedDeviceName"] = $val; return $this; } /** * Gets the targetedDeviceRegistrationId * The DeviceRegistrationId being targeted by this wipe action. * * @return string|null The targetedDeviceRegistrationId */ public function getTargetedDeviceRegistrationId() { if (array_key_exists("targetedDeviceRegistrationId", $this->_propDict)) { return $this->_propDict["targetedDeviceRegistrationId"]; } else { return null; } } /** * Sets the targetedDeviceRegistrationId * The DeviceRegistrationId being targeted by this wipe action. * * @param string $val The targetedDeviceRegistrationId * * @return WindowsInformationProtectionWipeAction */ public function setTargetedDeviceRegistrationId($val) { $this->_propDict["targetedDeviceRegistrationId"] = $val; return $this; } /** * Gets the targetedUserId * The UserId being targeted by this wipe action. * * @return string|null The targetedUserId */ public function getTargetedUserId() { if (array_key_exists("targetedUserId", $this->_propDict)) { return $this->_propDict["targetedUserId"]; } else { return null; } } /** * Sets the targetedUserId * The UserId being targeted by this wipe action. * * @param string $val The targetedUserId * * @return WindowsInformationProtectionWipeAction */ public function setTargetedUserId($val) { $this->_propDict["targetedUserId"] = $val; return $this; } }