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

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

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


class BatchUpdateCardRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._batch_update_card_request_body = BatchUpdateCardRequestBody()

    def uuid(self, uuid: str) -> "BatchUpdateCardRequestBodyBuilder":
        self._batch_update_card_request_body.uuid = uuid
        return self

    def sequence(self, sequence: int) -> "BatchUpdateCardRequestBodyBuilder":
        self._batch_update_card_request_body.sequence = sequence
        return self

    def actions(self, actions: str) -> "BatchUpdateCardRequestBodyBuilder":
        self._batch_update_card_request_body.actions = actions
        return self

    def build(self) -> "BatchUpdateCardRequestBody":
        return self._batch_update_card_request_body
