# 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 QueryAdditionalInformationRequestBody(object):
    _types = {
        "semester_id": str,
        "item_ids": List[str],
        "external_ids": List[str],
        "reviewee_user_ids": List[str],
    }

    def __init__(self, d=None):
        self.semester_id: Optional[str] = None
        self.item_ids: Optional[List[str]] = None
        self.external_ids: Optional[List[str]] = None
        self.reviewee_user_ids: Optional[List[str]] = None
        init(self, d, self._types)

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


class QueryAdditionalInformationRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._query_additional_information_request_body = QueryAdditionalInformationRequestBody()

    def semester_id(self, semester_id: str) -> "QueryAdditionalInformationRequestBodyBuilder":
        self._query_additional_information_request_body.semester_id = semester_id
        return self

    def item_ids(self, item_ids: List[str]) -> "QueryAdditionalInformationRequestBodyBuilder":
        self._query_additional_information_request_body.item_ids = item_ids
        return self

    def external_ids(self, external_ids: List[str]) -> "QueryAdditionalInformationRequestBodyBuilder":
        self._query_additional_information_request_body.external_ids = external_ids
        return self

    def reviewee_user_ids(self, reviewee_user_ids: List[str]) -> "QueryAdditionalInformationRequestBodyBuilder":
        self._query_additional_information_request_body.reviewee_user_ids = reviewee_user_ids
        return self

    def build(self) -> "QueryAdditionalInformationRequestBody":
        return self._query_additional_information_request_body
