# 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 ReplyMessageRequestBody(object):
    _types = {
        "content": str,
        "msg_type": str,
        "reply_in_thread": bool,
        "uuid": str,
    }

    def __init__(self, d=None):
        self.content: Optional[str] = None
        self.msg_type: Optional[str] = None
        self.reply_in_thread: Optional[bool] = None
        self.uuid: Optional[str] = None
        init(self, d, self._types)

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


class ReplyMessageRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._reply_message_request_body = ReplyMessageRequestBody()

    def content(self, content: str) -> "ReplyMessageRequestBodyBuilder":
        self._reply_message_request_body.content = content
        return self

    def msg_type(self, msg_type: str) -> "ReplyMessageRequestBodyBuilder":
        self._reply_message_request_body.msg_type = msg_type
        return self

    def reply_in_thread(self, reply_in_thread: bool) -> "ReplyMessageRequestBodyBuilder":
        self._reply_message_request_body.reply_in_thread = reply_in_thread
        return self

    def uuid(self, uuid: str) -> "ReplyMessageRequestBodyBuilder":
        self._reply_message_request_body.uuid = uuid
        return self

    def build(self) -> "ReplyMessageRequestBody":
        return self._reply_message_request_body
