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

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

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


class DocBulletBuilder(object):
    def __init__(self) -> None:
        self._doc_bullet = DocBullet()

    def text(self, text: str) -> "DocBulletBuilder":
        self._doc_bullet.text = text
        return self

    def build(self) -> "DocBullet":
        return self._doc_bullet
