# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init
from .interviewer import Interviewer


class PatchInterviewerRequestBody(object):
    _types = {
        "interviewer": Interviewer,
    }

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

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


class PatchInterviewerRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._patch_interviewer_request_body = PatchInterviewerRequestBody()

    def interviewer(self, interviewer: Interviewer) -> "PatchInterviewerRequestBodyBuilder":
        self._patch_interviewer_request_body.interviewer = interviewer
        return self

    def build(self) -> "PatchInterviewerRequestBody":
        return self._patch_interviewer_request_body
