# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init
from .minute import Minute


class GetMinuteResponseBody(object):
    _types = {
        "minute": Minute,
    }

    def __init__(self, d=None):
        self.minute: Optional[Minute] = None
        init(self, d, self._types)

    @staticmethod
    def builder() -> "GetMinuteResponseBodyBuilder":
        return GetMinuteResponseBodyBuilder()


class GetMinuteResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_minute_response_body = GetMinuteResponseBody()

    def minute(self, minute: Minute) -> "GetMinuteResponseBodyBuilder":
        self._get_minute_response_body.minute = minute
        return self

    def build(self) -> "GetMinuteResponseBody":
        return self._get_minute_response_body
