# generated by datamodel-codegen:
#   filename:  Core/ConfigRequest.json

from __future__ import annotations
from architect_py.grpc.models.Core.ConfigResponse import ConfigResponse

from msgspec import Struct


class ConfigRequest(Struct, omit_defaults=True):
    pass

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

    def __str__(self) -> str:
        return f"ConfigRequest()"

    @staticmethod
    def get_response_type():
        return ConfigResponse

    @staticmethod
    def get_unannotated_response_type():
        return ConfigResponse

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

    @staticmethod
    def get_rpc_method():
        return "unary"
