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

from __future__ import annotations
from architect_py.grpc.models.Boss.OptionsTransactionsResponse import (
    OptionsTransactionsResponse,
)

from msgspec import Struct


class OptionsTransactionsRequest(Struct, omit_defaults=True):
    account_id: str

    # Constructor that takes all field titles as arguments for convenience
    @classmethod
    def new(
        cls,
        account_id: str,
    ):
        return cls(
            account_id,
        )

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

    @staticmethod
    def get_response_type():
        return OptionsTransactionsResponse

    @staticmethod
    def get_unannotated_response_type():
        return OptionsTransactionsResponse

    @staticmethod
    def get_route() -> str:
        return "/json.architect.Boss/OptionsTransactions"

    @staticmethod
    def get_rpc_method():
        return "unary"
