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

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

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


class AilyKnowledgeMessageBuilder(object):
    def __init__(self) -> None:
        self._aily_knowledge_message = AilyKnowledgeMessage()

    def content(self, content: str) -> "AilyKnowledgeMessageBuilder":
        self._aily_knowledge_message.content = content
        return self

    def build(self) -> "AilyKnowledgeMessage":
        return self._aily_knowledge_message
