# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init
from .system_status import SystemStatus


class CreateSystemStatusResponseBody(object):
    _types = {
        "system_status": SystemStatus,
    }

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

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


class CreateSystemStatusResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_system_status_response_body = CreateSystemStatusResponseBody()

    def system_status(self, system_status: SystemStatus) -> "CreateSystemStatusResponseBodyBuilder":
        self._create_system_status_response_body.system_status = system_status
        return self

    def build(self) -> "CreateSystemStatusResponseBody":
        return self._create_system_status_response_body
