_propDict)) { return $this->_propDict["maxLength"]; } else { return null; } } /** * Sets the maxLength * An unsigned integer that specifies the maximum number of text characters. Default value is 1023. * * @param int $val The maxLength * * @return GroupPolicyPresentationMultiTextBox */ public function setMaxLength($val) { $this->_propDict["maxLength"] = intval($val); return $this; } /** * Gets the maxStrings * An unsigned integer that specifies the maximum number of strings. Default value is 0. * * @return int|null The maxStrings */ public function getMaxStrings() { if (array_key_exists("maxStrings", $this->_propDict)) { return $this->_propDict["maxStrings"]; } else { return null; } } /** * Sets the maxStrings * An unsigned integer that specifies the maximum number of strings. Default value is 0. * * @param int $val The maxStrings * * @return GroupPolicyPresentationMultiTextBox */ public function setMaxStrings($val) { $this->_propDict["maxStrings"] = intval($val); return $this; } /** * Gets the required * Requirement to enter a value in the text box. Default value is false. * * @return bool|null The required */ public function getRequired() { if (array_key_exists("required", $this->_propDict)) { return $this->_propDict["required"]; } else { return null; } } /** * Sets the required * Requirement to enter a value in the text box. Default value is false. * * @param bool $val The required * * @return GroupPolicyPresentationMultiTextBox */ public function setRequired($val) { $this->_propDict["required"] = boolval($val); return $this; } }