# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init


class SearchBasicInfoLanguageRequestBody(object):
    _types = {
        "language_id_list": List[str],
        "status_list": List[int],
    }

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

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


class SearchBasicInfoLanguageRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._search_basic_info_language_request_body = SearchBasicInfoLanguageRequestBody()

    def language_id_list(self, language_id_list: List[str]) -> "SearchBasicInfoLanguageRequestBodyBuilder":
        self._search_basic_info_language_request_body.language_id_list = language_id_list
        return self

    def status_list(self, status_list: List[int]) -> "SearchBasicInfoLanguageRequestBodyBuilder":
        self._search_basic_info_language_request_body.status_list = status_list
        return self

    def build(self) -> "SearchBasicInfoLanguageRequestBody":
        return self._search_basic_info_language_request_body
