Skip to content

TextValidation

Source code in docs_src/capo_pinpoint_sms_voice_v2/types/text_validation.py
class TextValidation(TypedDict, closed=True):
    min_length: "int"
    """<p>The minimum number of characters for the text field.</p>"""
    max_length: "int"
    """<p>The maximum number of characters for the text field.</p>"""
    pattern: "str"
    """<p>The regular expression used to validate the text field.</p>"""

max_length instance-attribute

max_length: int

The maximum number of characters for the text field.

min_length instance-attribute

min_length: int

The minimum number of characters for the text field.

pattern instance-attribute

pattern: str

The regular expression used to validate the text field.