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

import typing

import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_part_metadata_quick_reply_options_item import ConversationPartMetadataQuickReplyOptionsItem


class ConversationPartMetadata(UncheckedBaseModel):
    """
    Metadata for a conversation part
    """

    quick_reply_options: typing.Optional[typing.List[ConversationPartMetadataQuickReplyOptionsItem]] = pydantic.Field(
        default=None
    )
    """
    The quick reply options sent by the Admin or bot, presented in this conversation part.
    """

    quick_reply_uuid: typing.Optional[str] = pydantic.Field(default=None)
    """
    The unique identifier for the quick reply option that was clicked by the end user.
    """

    if IS_PYDANTIC_V2:
        model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)  # type: ignore # Pydantic v2
    else:

        class Config:
            frozen = True
            smart_union = True
            extra = pydantic.Extra.allow
