# 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 QueryReviewTemplateRequestBody(object):
    _types = {
        "review_template_ids": List[int],
    }

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

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


class QueryReviewTemplateRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._query_review_template_request_body = QueryReviewTemplateRequestBody()

    def review_template_ids(self, review_template_ids: List[int]) -> "QueryReviewTemplateRequestBodyBuilder":
        self._query_review_template_request_body.review_template_ids = review_template_ids
        return self

    def build(self) -> "QueryReviewTemplateRequestBody":
        return self._query_review_template_request_body
