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

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

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


class MessageBodyBuilder(object):
    def __init__(self) -> None:
        self._message_body = MessageBody()

    def content(self, content: str) -> "MessageBodyBuilder":
        self._message_body.content = content
        return self

    def build(self) -> "MessageBody":
        return self._message_body
