# 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 SearchBasicInfoDistrictRequestBody(object):
    _types = {
        "city_id_list": List[str],
        "district_id_list": List[str],
        "status_list": List[int],
    }

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

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


class SearchBasicInfoDistrictRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._search_basic_info_district_request_body = SearchBasicInfoDistrictRequestBody()

    def city_id_list(self, city_id_list: List[str]) -> "SearchBasicInfoDistrictRequestBodyBuilder":
        self._search_basic_info_district_request_body.city_id_list = city_id_list
        return self

    def district_id_list(self, district_id_list: List[str]) -> "SearchBasicInfoDistrictRequestBodyBuilder":
        self._search_basic_info_district_request_body.district_id_list = district_id_list
        return self

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

    def build(self) -> "SearchBasicInfoDistrictRequestBody":
        return self._search_basic_info_district_request_body
