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

from ...engine.types.api_response import ApiResponse
import typing
import pydantic
from ...core.pydantic_utilities import IS_PYDANTIC_V2


class CreateSiemEventsResponse(ApiResponse):
    result: typing.List[typing.Dict[str, typing.Optional[typing.Any]]] = (
        pydantic.Field()
    )
    """
    List of events written if available. Most providers do not return events, just a success status. Review messages for any failure details available.
    """

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

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