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

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

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


class PrimarysCalendarRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._primarys_calendar_request_body = PrimarysCalendarRequestBody()

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

    def build(self) -> "PrimarysCalendarRequestBody":
        return self._primarys_calendar_request_body
