# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init


class BatchGetLocationRequestBody(object):
    _types = {
        "location_ids": List[str],
    }

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

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


class BatchGetLocationRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_get_location_request_body = BatchGetLocationRequestBody()

    def location_ids(self, location_ids: List[str]) -> "BatchGetLocationRequestBodyBuilder":
        self._batch_get_location_request_body.location_ids = location_ids
        return self

    def build(self) -> "BatchGetLocationRequestBody":
        return self._batch_get_location_request_body
