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

from __future__ import annotations

from pydantic import BaseModel


class ExampleWithBackslash(BaseModel):
    """
    Observe the backslash \\ in this line
    """

    name: str | None = None
    """
    Path like C:\\Users\\name
    """


class ExampleWithTripleQuotes(BaseModel):
    """
    Contains \"\"\"triple quotes\"\"\"
    """

    value: str | None = None
    """
    Field with \"\"\"quotes\"\"\"
    """


class ExampleWithBoth(BaseModel):
    """
    Has both \\ backslash and \"\"\"quotes\"\"\"
    """

    data: str | None = None
    """
    Data: C:\\path\\to\\\"\"\"file\"\"\"
    """


class ExampleWithNewlineEscape(BaseModel):
    """
    Text with \\n which looks like newline escape
    """

    text: str | None = None
