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

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

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


class UrgentReceiversBuilder(object):
    def __init__(self) -> None:
        self._urgent_receivers = UrgentReceivers()

    def user_id_list(self, user_id_list: List[str]) -> "UrgentReceiversBuilder":
        self._urgent_receivers.user_id_list = user_id_list
        return self

    def build(self) -> "UrgentReceivers":
        return self._urgent_receivers
