# 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 .status import Status


class PresentDataCallbackDialogRequest(object):
    _types = {
        "message_id": str,
        "status": Status,
        "callback_info": str,
    }

    def __init__(self, d=None):
        self.message_id: Optional[str] = None
        self.status: Optional[Status] = None
        self.callback_info: Optional[str] = None
        init(self, d, self._types)

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


class PresentDataCallbackDialogRequestBuilder(object):
    def __init__(self) -> None:
        self._present_data_callback_dialog_request = PresentDataCallbackDialogRequest()

    def message_id(self, message_id: str) -> "PresentDataCallbackDialogRequestBuilder":
        self._present_data_callback_dialog_request.message_id = message_id
        return self

    def status(self, status: Status) -> "PresentDataCallbackDialogRequestBuilder":
        self._present_data_callback_dialog_request.status = status
        return self

    def callback_info(self, callback_info: str) -> "PresentDataCallbackDialogRequestBuilder":
        self._present_data_callback_dialog_request.callback_info = callback_info
        return self

    def build(self) -> "PresentDataCallbackDialogRequest":
        return self._present_data_callback_dialog_request
