# 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 .record_result import RecordResult


class BatchDeleteApplicationObjectRecordResponseBody(object):
    _types = {
        "items": List[RecordResult],
    }

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

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


class BatchDeleteApplicationObjectRecordResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_delete_application_object_record_response_body = BatchDeleteApplicationObjectRecordResponseBody()

    def items(self, items: List[RecordResult]) -> "BatchDeleteApplicationObjectRecordResponseBodyBuilder":
        self._batch_delete_application_object_record_response_body.items = items
        return self

    def build(self) -> "BatchDeleteApplicationObjectRecordResponseBody":
        return self._batch_delete_application_object_record_response_body
