# generated by datamodel-codegen:
#   filename:  Symbology/ExecutionInfoResponse.json

from __future__ import annotations

from typing import Dict

from msgspec import Struct

from .. import definitions


class ExecutionInfoResponse(Struct, omit_defaults=True):
    execution_info: Dict[str, definitions.ExecutionInfo]

    # Constructor that takes all field titles as arguments for convenience
    @classmethod
    def new(
        cls,
        execution_info: Dict[str, definitions.ExecutionInfo],
    ):
        return cls(
            execution_info,
        )

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