# 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 .statictics import Statictics


class GetMinuteStatisticsResponseBody(object):
    _types = {
        "statistics": Statictics,
    }

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

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


class GetMinuteStatisticsResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_minute_statistics_response_body = GetMinuteStatisticsResponseBody()

    def statistics(self, statistics: Statictics) -> "GetMinuteStatisticsResponseBodyBuilder":
        self._get_minute_statistics_response_body.statistics = statistics
        return self

    def build(self) -> "GetMinuteStatisticsResponseBody":
        return self._get_minute_statistics_response_body
