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

from __future__ import annotations

from pydantic import BaseModel, Field


class Issue1816Model(BaseModel):
    metadataOnly: str | None = Field(description='Optional field with metadata only.')
    nullableMetadata: str | None = Field(
        None, description='Nullable field with metadata.'
    )
    explicitDefault: str | None = Field(
        'active', description='Optional field with a non-None default.'
    )
    stringNoneDefault: str | None = Field(
        'None', description='Optional field with a string None default.'
    )
    plainOptional: str | None
