# 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 RecognizeBusinessLicenseRequestBody(object):
    _types = {
        "file": IO[Any],
    }

    def __init__(self, d=None):
        self.file: Optional[IO[Any]] = None
        init(self, d, self._types)

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


class RecognizeBusinessLicenseRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._recognize_business_license_request_body = RecognizeBusinessLicenseRequestBody()

    def file(self, file: IO[Any]) -> "RecognizeBusinessLicenseRequestBodyBuilder":
        self._recognize_business_license_request_body.file = file
        return self

    def build(self) -> "RecognizeBusinessLicenseRequestBody":
        return self._recognize_business_license_request_body
