# 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 .system_status_user_open_result_entity import SystemStatusUserOpenResultEntity


class BatchOpenSystemStatusResponseBody(object):
    _types = {
        "result_list": List[SystemStatusUserOpenResultEntity],
    }

    def __init__(self, d=None):
        self.result_list: Optional[List[SystemStatusUserOpenResultEntity]] = None
        init(self, d, self._types)

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


class BatchOpenSystemStatusResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_open_system_status_response_body = BatchOpenSystemStatusResponseBody()

    def result_list(self,
                    result_list: List[SystemStatusUserOpenResultEntity]) -> "BatchOpenSystemStatusResponseBodyBuilder":
        self._batch_open_system_status_response_body.result_list = result_list
        return self

    def build(self) -> "BatchOpenSystemStatusResponseBody":
        return self._batch_open_system_status_response_body
