# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init


class MeetingChat(object):
    _types = {
        "meeting_chat_id": str,
        "applink": str,
    }

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

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


class MeetingChatBuilder(object):
    def __init__(self) -> None:
        self._meeting_chat = MeetingChat()

    def meeting_chat_id(self, meeting_chat_id: str) -> "MeetingChatBuilder":
        self._meeting_chat.meeting_chat_id = meeting_chat_id
        return self

    def applink(self, applink: str) -> "MeetingChatBuilder":
        self._meeting_chat.applink = applink
        return self

    def build(self) -> "MeetingChat":
        return self._meeting_chat
