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

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

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


class QueryMetricDetailRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._query_metric_detail_request_body = QueryMetricDetailRequestBody()

    def semester_id(self, semester_id: int) -> "QueryMetricDetailRequestBodyBuilder":
        self._query_metric_detail_request_body.semester_id = semester_id
        return self

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

    def build(self) -> "QueryMetricDetailRequestBody":
        return self._query_metric_detail_request_body
