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

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

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


class CcUserTaskRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._cc_user_task_request_body = CcUserTaskRequestBody()

    def cc_user_ids(self, cc_user_ids: List[str]) -> "CcUserTaskRequestBodyBuilder":
        self._cc_user_task_request_body.cc_user_ids = cc_user_ids
        return self

    def operator_user_id(self, operator_user_id: str) -> "CcUserTaskRequestBodyBuilder":
        self._cc_user_task_request_body.operator_user_id = operator_user_id
        return self

    def build(self) -> "CcUserTaskRequestBody":
        return self._cc_user_task_request_body
