# generated by datamodel-codegen:
#   filename:  Boss/StatementsResponse.json

from __future__ import annotations

from typing import List

from msgspec import Struct

from .. import definitions


class StatementsResponse(Struct, omit_defaults=True):
    statements: List[definitions.Statement]

    # Constructor that takes all field titles as arguments for convenience
    @classmethod
    def new(
        cls,
        statements: List[definitions.Statement],
    ):
        return cls(
            statements,
        )

    def __str__(self) -> str:
        return f"StatementsResponse(statements={self.statements})"
