setODataType("#microsoft.graph.deviceManagementSettingRegexConstraint"); } /** * Gets the regex * The RegEx pattern to match against * * @return string|null The regex */ public function getRegex() { if (array_key_exists("regex", $this->_propDict)) { return $this->_propDict["regex"]; } else { return null; } } /** * Sets the regex * The RegEx pattern to match against * * @param string $val The value of the regex * * @return DeviceManagementSettingRegexConstraint */ public function setRegex($val) { $this->_propDict["regex"] = $val; return $this; } }