# 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 ListTabsChatTabResponseBody(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() -> "ListTabsChatTabResponseBodyBuilder":
        return ListTabsChatTabResponseBodyBuilder()


class ListTabsChatTabResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._list_tabs_chat_tab_response_body = ListTabsChatTabResponseBody()

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

    def build(self) -> "ListTabsChatTabResponseBody":
        return self._list_tabs_chat_tab_response_body
