# generated by datamodel-codegen:
#   filename:  OptionsMarketdata/OptionsWraps.json

from __future__ import annotations

from typing import List

from msgspec import Struct


class OptionsWraps(Struct, omit_defaults=True):
    underlying: str
    wraps: List[str]

    # Constructor that takes all field titles as arguments for convenience
    @classmethod
    def new(
        cls,
        underlying: str,
        wraps: List[str],
    ):
        return cls(
            underlying,
            wraps,
        )

    def __str__(self) -> str:
        return f"OptionsWraps(underlying={self.underlying},wraps={self.wraps})"
