# 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 .user_open_app_feed_card_deleter import UserOpenAppFeedCardDeleter


class DeleteAppFeedCardBatchRequestBody(object):
    _types = {
        "feed_cards": List[UserOpenAppFeedCardDeleter],
    }

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

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


class DeleteAppFeedCardBatchRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._delete_app_feed_card_batch_request_body = DeleteAppFeedCardBatchRequestBody()

    def feed_cards(self, feed_cards: List[UserOpenAppFeedCardDeleter]) -> "DeleteAppFeedCardBatchRequestBodyBuilder":
        self._delete_app_feed_card_batch_request_body.feed_cards = feed_cards
        return self

    def build(self) -> "DeleteAppFeedCardBatchRequestBody":
        return self._delete_app_feed_card_batch_request_body
