# 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 .memberlist import Memberlist


class BatchRemoveGroupMemberRequestBody(object):
    _types = {
        "members": List[Memberlist],
    }

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

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


class BatchRemoveGroupMemberRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_remove_group_member_request_body = BatchRemoveGroupMemberRequestBody()

    def members(self, members: List[Memberlist]) -> "BatchRemoveGroupMemberRequestBodyBuilder":
        self._batch_remove_group_member_request_body.members = members
        return self

    def build(self) -> "BatchRemoveGroupMemberRequestBody":
        return self._batch_remove_group_member_request_body
