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

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

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


class UploadFinishFileResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._upload_finish_file_response_body = UploadFinishFileResponseBody()

    def file_token(self, file_token: str) -> "UploadFinishFileResponseBodyBuilder":
        self._upload_finish_file_response_body.file_token = file_token
        return self

    def build(self) -> "UploadFinishFileResponseBody":
        return self._upload_finish_file_response_body
