_propDict)) { return $this->_propDict["defaultValue"]; } else { return null; } } /** * Sets the defaultValue * Localized default string displayed in the text box. The default value is empty. * * @param string $val The defaultValue * * @return GroupPolicyPresentationTextBox */ public function setDefaultValue($val) { $this->_propDict["defaultValue"] = $val; return $this; } /** * Gets the maxLength * An unsigned integer that specifies the maximum number of text characters. Default value is 1023. * * @return int|null The maxLength */ public function getMaxLength() { if (array_key_exists("maxLength", $this->_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 GroupPolicyPresentationTextBox */ public function setMaxLength($val) { $this->_propDict["maxLength"] = 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 GroupPolicyPresentationTextBox */ public function setRequired($val) { $this->_propDict["required"] = boolval($val); return $this; } }