# 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 .chat_tab import ChatTab


class DeleteTabsChatTabResponseBody(object):
    _types = {
        "chat_tabs": List[ChatTab],
    }

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

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


class DeleteTabsChatTabResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._delete_tabs_chat_tab_response_body = DeleteTabsChatTabResponseBody()

    def chat_tabs(self, chat_tabs: List[ChatTab]) -> "DeleteTabsChatTabResponseBodyBuilder":
        self._delete_tabs_chat_tab_response_body.chat_tabs = chat_tabs
        return self

    def build(self) -> "DeleteTabsChatTabResponseBody":
        return self._delete_tabs_chat_tab_response_body
