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

from ...core.unchecked_base_model import UncheckedBaseModel
import typing
from ...common.types.problem import Problem
import pydantic
from ...core.pydantic_utilities import IS_PYDANTIC_V2


class IntegrationMessagesResponse(UncheckedBaseModel):
    problems: typing.Optional[typing.List[Problem]] = pydantic.Field(default=None)
    """
    Warnings or issues that occurred during integration creation that did not prevent the request from returning, but may indicate a problem with the integration configuration.
    """

    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
