# generated by datamodel-codegen:
#   filename:  protobuf
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from pydantic import BaseModel, ConfigDict

from . import example_legacy_legacy_message_legacy_group, example_legacy_legacy_status


class ExampleLegacyLegacyMessage(BaseModel):
    model_config = ConfigDict(
        extra='forbid',
    )
    id: str
    count: int | None = 7
    enabled: bool | None = True
    tags: list[str] | None = []
    ratio: float | None = float('inf')
    status: example_legacy_legacy_status.ExampleLegacyLegacyStatus | None = (
        'LEGACY_ACTIVE'
    )
    title: str | None = 'legacy'
    annotated: str | None = 'kept'
    annotation_only: str | None = None
    escaped: str | None = 'a"b'
    empty_default: str | None = ''
    multiline_option: str | None = 'wrapped'
    bracket_default: str | None = 'a]b'
    legacygroup: example_legacy_legacy_message_legacy_group.ExampleLegacyLegacyMessageLegacyGroup | None = (
        None
    )
