_propDict)) { return $this->_propDict["isSingleLineQuestion"]; } else { return null; } } /** * Sets the isSingleLineQuestion * Indicates whether the answer is in single or multiple line format. * * @param bool $val The isSingleLineQuestion * * @return AccessPackageTextInputQuestion */ public function setIsSingleLineQuestion($val) { $this->_propDict["isSingleLineQuestion"] = boolval($val); return $this; } /** * Gets the regexPattern * The regular expression pattern that any answer to this question must match. * * @return string|null The regexPattern */ public function getRegexPattern() { if (array_key_exists("regexPattern", $this->_propDict)) { return $this->_propDict["regexPattern"]; } else { return null; } } /** * Sets the regexPattern * The regular expression pattern that any answer to this question must match. * * @param string $val The regexPattern * * @return AccessPackageTextInputQuestion */ public function setRegexPattern($val) { $this->_propDict["regexPattern"] = $val; return $this; } }