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

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

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


class OpenAppFeedCardTextBuilder(object):
    def __init__(self) -> None:
        self._open_app_feed_card_text = OpenAppFeedCardText()

    def text(self, text: str) -> "OpenAppFeedCardTextBuilder":
        self._open_app_feed_card_text.text = text
        return self

    def build(self) -> "OpenAppFeedCardText":
        return self._open_app_feed_card_text
