# 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 UpdateTabsChatTabResponseBody(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() -> "UpdateTabsChatTabResponseBodyBuilder":
        return UpdateTabsChatTabResponseBodyBuilder()


class UpdateTabsChatTabResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._update_tabs_chat_tab_response_body = UpdateTabsChatTabResponseBody()

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

    def build(self) -> "UpdateTabsChatTabResponseBody":
        return self._update_tabs_chat_tab_response_body
