# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init
from .system_status_user_open_param import SystemStatusUserOpenParam


class BatchOpenSystemStatusRequestBody(object):
    _types = {
        "user_list": List[SystemStatusUserOpenParam],
    }

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

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


class BatchOpenSystemStatusRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_open_system_status_request_body = BatchOpenSystemStatusRequestBody()

    def user_list(self, user_list: List[SystemStatusUserOpenParam]) -> "BatchOpenSystemStatusRequestBodyBuilder":
        self._batch_open_system_status_request_body.user_list = user_list
        return self

    def build(self) -> "BatchOpenSystemStatusRequestBody":
        return self._batch_open_system_status_request_body
