# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init


class BatchCloseSystemStatusRequestBody(object):
    _types = {
        "user_list": List[str],
    }

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

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


class BatchCloseSystemStatusRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_close_system_status_request_body = BatchCloseSystemStatusRequestBody()

    def user_list(self, user_list: List[str]) -> "BatchCloseSystemStatusRequestBodyBuilder":
        self._batch_close_system_status_request_body.user_list = user_list
        return self

    def build(self) -> "BatchCloseSystemStatusRequestBody":
        return self._batch_close_system_status_request_body
