# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init


class SortTabsChatTabRequestBody(object):
    _types = {
        "tab_ids": List[str],
    }

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

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


class SortTabsChatTabRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._sort_tabs_chat_tab_request_body = SortTabsChatTabRequestBody()

    def tab_ids(self, tab_ids: List[str]) -> "SortTabsChatTabRequestBodyBuilder":
        self._sort_tabs_chat_tab_request_body.tab_ids = tab_ids
        return self

    def build(self) -> "SortTabsChatTabRequestBody":
        return self._sort_tabs_chat_tab_request_body
