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

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

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


class QueryActivityRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._query_activity_request_body = QueryActivityRequestBody()

    def semester_ids(self, semester_ids: List[int]) -> "QueryActivityRequestBodyBuilder":
        self._query_activity_request_body.semester_ids = semester_ids
        return self

    def activity_ids(self, activity_ids: List[int]) -> "QueryActivityRequestBodyBuilder":
        self._query_activity_request_body.activity_ids = activity_ids
        return self

    def build(self) -> "QueryActivityRequestBody":
        return self._query_activity_request_body
