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

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

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


class UpdateMessageRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._update_message_request_body = UpdateMessageRequestBody()

    def msg_type(self, msg_type: str) -> "UpdateMessageRequestBodyBuilder":
        self._update_message_request_body.msg_type = msg_type
        return self

    def content(self, content: str) -> "UpdateMessageRequestBodyBuilder":
        self._update_message_request_body.content = content
        return self

    def build(self) -> "UpdateMessageRequestBody":
        return self._update_message_request_body
