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

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

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


class BatchDelUserFlowResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_del_user_flow_response_body = BatchDelUserFlowResponseBody()

    def success_record_ids(self, success_record_ids: List[str]) -> "BatchDelUserFlowResponseBodyBuilder":
        self._batch_del_user_flow_response_body.success_record_ids = success_record_ids
        return self

    def fail_record_ids(self, fail_record_ids: List[str]) -> "BatchDelUserFlowResponseBodyBuilder":
        self._batch_del_user_flow_response_body.fail_record_ids = fail_record_ids
        return self

    def build(self) -> "BatchDelUserFlowResponseBody":
        return self._batch_del_user_flow_response_body
