# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init
from .member import Member


class RemoveMembersTaskRequestBody(object):
    _types = {
        "members": List[Member],
    }

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

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


class RemoveMembersTaskRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._remove_members_task_request_body = RemoveMembersTaskRequestBody()

    def members(self, members: List[Member]) -> "RemoveMembersTaskRequestBodyBuilder":
        self._remove_members_task_request_body.members = members
        return self

    def build(self) -> "RemoveMembersTaskRequestBody":
        return self._remove_members_task_request_body
