# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init
from .disable_inform_config import DisableInformConfig


class GetReserveConfigDisableInformResponseBody(object):
    _types = {
        "disable_inform": DisableInformConfig,
    }

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

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


class GetReserveConfigDisableInformResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_reserve_config_disable_inform_response_body = GetReserveConfigDisableInformResponseBody()

    def disable_inform(self, disable_inform: DisableInformConfig) -> "GetReserveConfigDisableInformResponseBodyBuilder":
        self._get_reserve_config_disable_inform_response_body.disable_inform = disable_inform
        return self

    def build(self) -> "GetReserveConfigDisableInformResponseBody":
        return self._get_reserve_config_disable_inform_response_body
