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

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

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


class ParseResumeRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._parse_resume_request_body = ParseResumeRequestBody()

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

    def build(self) -> "ParseResumeRequestBody":
        return self._parse_resume_request_body
