# 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 QueryRevieweeRequestBody(object):
    _types = {
        "semester_id": int,
        "user_ids": List[str],
        "activity_ids": List[str],
    }

    def __init__(self, d=None):
        self.semester_id: Optional[int] = None
        self.user_ids: Optional[List[str]] = None
        self.activity_ids: Optional[List[str]] = None
        init(self, d, self._types)

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


class QueryRevieweeRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._query_reviewee_request_body = QueryRevieweeRequestBody()

    def semester_id(self, semester_id: int) -> "QueryRevieweeRequestBodyBuilder":
        self._query_reviewee_request_body.semester_id = semester_id
        return self

    def user_ids(self, user_ids: List[str]) -> "QueryRevieweeRequestBodyBuilder":
        self._query_reviewee_request_body.user_ids = user_ids
        return self

    def activity_ids(self, activity_ids: List[str]) -> "QueryRevieweeRequestBodyBuilder":
        self._query_reviewee_request_body.activity_ids = activity_ids
        return self

    def build(self) -> "QueryRevieweeRequestBody":
        return self._query_reviewee_request_body
