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

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

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


class BatchDeleteMailgroupMemberRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_delete_mailgroup_member_request_body = BatchDeleteMailgroupMemberRequestBody()

    def member_id_list(self, member_id_list: List[str]) -> "BatchDeleteMailgroupMemberRequestBodyBuilder":
        self._batch_delete_mailgroup_member_request_body.member_id_list = member_id_list
        return self

    def build(self) -> "BatchDeleteMailgroupMemberRequestBody":
        return self._batch_delete_mailgroup_member_request_body
