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

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

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


class CreateFileResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_file_response_body = CreateFileResponseBody()

    def file_key(self, file_key: str) -> "CreateFileResponseBodyBuilder":
        self._create_file_response_body.file_key = file_key
        return self

    def build(self) -> "CreateFileResponseBody":
        return self._create_file_response_body
