# 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 .base_member import BaseMember


class BatchCreatePermissionMemberResponseBody(object):
    _types = {
        "members": List[BaseMember],
    }

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

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


class BatchCreatePermissionMemberResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_create_permission_member_response_body = BatchCreatePermissionMemberResponseBody()

    def members(self, members: List[BaseMember]) -> "BatchCreatePermissionMemberResponseBodyBuilder":
        self._batch_create_permission_member_response_body.members = members
        return self

    def build(self) -> "BatchCreatePermissionMemberResponseBody":
        return self._batch_create_permission_member_response_body
