_propDict)) { return $this->_propDict["frequencyInHours"]; } else { return null; } } /** * Sets the frequencyInHours * The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. Possible values are 4, 6, 12, 16, and 24. The default frequency is 12 hours. * * @param int $val The value of the frequencyInHours * * @return CloudPcRestorePointSetting */ public function setFrequencyInHours($val) { $this->_propDict["frequencyInHours"] = $val; return $this; } /** * Gets the userRestoreEnabled * If true, the user has the ability to use snapshots to restore Cloud PCs. If false, non-admin users can't use snapshots to restore the Cloud PC. * * @return bool|null The userRestoreEnabled */ public function getUserRestoreEnabled() { if (array_key_exists("userRestoreEnabled", $this->_propDict)) { return $this->_propDict["userRestoreEnabled"]; } else { return null; } } /** * Sets the userRestoreEnabled * If true, the user has the ability to use snapshots to restore Cloud PCs. If false, non-admin users can't use snapshots to restore the Cloud PC. * * @param bool $val The value of the userRestoreEnabled * * @return CloudPcRestorePointSetting */ public function setUserRestoreEnabled($val) { $this->_propDict["userRestoreEnabled"] = $val; return $this; } }