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

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

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


class IdConvertCardResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._id_convert_card_response_body = IdConvertCardResponseBody()

    def card_id(self, card_id: str) -> "IdConvertCardResponseBodyBuilder":
        self._id_convert_card_response_body.card_id = card_id
        return self

    def build(self) -> "IdConvertCardResponseBody":
        return self._id_convert_card_response_body
