setODataType("#microsoft.graph.windowsUpdates.updateManagementEnrollment"); } /** * Gets the updateCategory * The category of updates that the service manages. Supports a subset of the values for updateCategory. Possible values are: driver, feature, quality, unknownFutureValue. * * @return UpdateCategory|null The updateCategory */ public function getUpdateCategory() { if (array_key_exists("updateCategory", $this->_propDict)) { if (is_a($this->_propDict["updateCategory"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\UpdateCategory") || is_null($this->_propDict["updateCategory"])) { return $this->_propDict["updateCategory"]; } else { $this->_propDict["updateCategory"] = new UpdateCategory($this->_propDict["updateCategory"]); return $this->_propDict["updateCategory"]; } } return null; } /** * Sets the updateCategory * The category of updates that the service manages. Supports a subset of the values for updateCategory. Possible values are: driver, feature, quality, unknownFutureValue. * * @param UpdateCategory $val The value to assign to the updateCategory * * @return UpdateManagementEnrollment The UpdateManagementEnrollment */ public function setUpdateCategory($val) { $this->_propDict["updateCategory"] = $val; return $this; } }