# generated by datamodel-codegen:
#   filename:  pattern.json
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from typing import Annotated

from msgspec import UNSET, Meta, Struct, UnsetType


class Info(Struct):
    hostName: (
        Annotated[
            str,
            Meta(
                pattern='^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]{0,61}[A-Za-z0-9])$'
            ),
        ]
        | UnsetType
    ) = UNSET
    arn: (
        Annotated[
            str,
            Meta(pattern='(^arn:([^:]*):([^:]*):([^:]*):(|\\*|[\\d]{12}):(.+)$)|^\\*$'),
        ]
        | UnsetType
    ) = UNSET
    tel: (
        Annotated[str, Meta(pattern='^(\\([0-9]{3}\\))?[0-9]{3}-[0-9]{4}$')] | UnsetType
    ) = UNSET
    comment: (
        Annotated[str, Meta(pattern='[^\\x08\\f\\n\\r\\t\\\\a+.?\'"|()]+$')] | UnsetType
    ) = UNSET
