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

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

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


class IdConvertCardRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._id_convert_card_request_body = IdConvertCardRequestBody()

    def message_id(self, message_id: str) -> "IdConvertCardRequestBodyBuilder":
        self._id_convert_card_request_body.message_id = message_id
        return self

    def build(self) -> "IdConvertCardRequestBody":
        return self._id_convert_card_request_body
