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

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

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


class MoveFileRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._move_file_request_body = MoveFileRequestBody()

    def type(self, type: str) -> "MoveFileRequestBodyBuilder":
        self._move_file_request_body.type = type
        return self

    def folder_token(self, folder_token: str) -> "MoveFileRequestBodyBuilder":
        self._move_file_request_body.folder_token = folder_token
        return self

    def build(self) -> "MoveFileRequestBody":
        return self._move_file_request_body
