# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init


class BatchCreateFunctionalRoleMemberRequestBody(object):
    _types = {
        "members": List[str],
    }

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

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


class BatchCreateFunctionalRoleMemberRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_create_functional_role_member_request_body = BatchCreateFunctionalRoleMemberRequestBody()

    def members(self, members: List[str]) -> "BatchCreateFunctionalRoleMemberRequestBodyBuilder":
        self._batch_create_functional_role_member_request_body.members = members
        return self

    def build(self) -> "BatchCreateFunctionalRoleMemberRequestBody":
        return self._batch_create_functional_role_member_request_body
