# This file was auto-generated by Fern from our API Definition.

import typing

import pydantic
from ..core.pydantic_utilities import UniversalBaseModel
from .toggle_definition_params_field_configuration import ToggleDefinitionParamsFieldConfiguration


class ToggleDefinitionParams(UniversalBaseModel):
    field_configuration: typing.Optional[ToggleDefinitionParamsFieldConfiguration] = None
    field_type: typing.Literal["toggle"] = "toggle"
    name: str = pydantic.Field()
    """
    Field definition name
    """

    model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
