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

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

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


class BotInfoBuilder(object):
    def __init__(self) -> None:
        self._bot_info = BotInfo()

    def app_id(self, app_id: str) -> "BotInfoBuilder":
        self._bot_info.app_id = app_id
        return self

    def build(self) -> "BotInfo":
        return self._bot_info
