# 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 DeleteCardElementRequestBody(object):
    _types = {
        "uuid": str,
        "sequence": int,
    }

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

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


class DeleteCardElementRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._delete_card_element_request_body = DeleteCardElementRequestBody()

    def uuid(self, uuid: str) -> "DeleteCardElementRequestBodyBuilder":
        self._delete_card_element_request_body.uuid = uuid
        return self

    def sequence(self, sequence: int) -> "DeleteCardElementRequestBodyBuilder":
        self._delete_card_element_request_body.sequence = sequence
        return self

    def build(self) -> "DeleteCardElementRequestBody":
        return self._delete_card_element_request_body
