# 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 BatchDeleteChatAnnouncementBlockChildrenResponseBody(object):
    _types = {
        "revision_id": int,
        "client_token": str,
    }

    def __init__(self, d=None):
        self.revision_id: Optional[int] = None
        self.client_token: Optional[str] = None
        init(self, d, self._types)

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


class BatchDeleteChatAnnouncementBlockChildrenResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_delete_chat_announcement_block_children_response_body = BatchDeleteChatAnnouncementBlockChildrenResponseBody()

    def revision_id(self, revision_id: int) -> "BatchDeleteChatAnnouncementBlockChildrenResponseBodyBuilder":
        self._batch_delete_chat_announcement_block_children_response_body.revision_id = revision_id
        return self

    def client_token(self, client_token: str) -> "BatchDeleteChatAnnouncementBlockChildrenResponseBodyBuilder":
        self._batch_delete_chat_announcement_block_children_response_body.client_token = client_token
        return self

    def build(self) -> "BatchDeleteChatAnnouncementBlockChildrenResponseBody":
        return self._batch_delete_chat_announcement_block_children_response_body
