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

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

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


class BatchRemoveAuthorizationApplicationRoleMemberRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_remove_authorization_application_role_member_request_body = BatchRemoveAuthorizationApplicationRoleMemberRequestBody()

    def user_ids(self, user_ids: List[str]) -> "BatchRemoveAuthorizationApplicationRoleMemberRequestBodyBuilder":
        self._batch_remove_authorization_application_role_member_request_body.user_ids = user_ids
        return self

    def department_ids(self,
                       department_ids: List[str]) -> "BatchRemoveAuthorizationApplicationRoleMemberRequestBodyBuilder":
        self._batch_remove_authorization_application_role_member_request_body.department_ids = department_ids
        return self

    def build(self) -> "BatchRemoveAuthorizationApplicationRoleMemberRequestBody":
        return self._batch_remove_authorization_application_role_member_request_body
