# 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 .external_interview_assessment import ExternalInterviewAssessment


class PatchExternalInterviewAssessmentResponseBody(object):
    _types = {
        "external_interview_assessment": ExternalInterviewAssessment,
    }

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

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


class PatchExternalInterviewAssessmentResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._patch_external_interview_assessment_response_body = PatchExternalInterviewAssessmentResponseBody()

    def external_interview_assessment(self,
                                      external_interview_assessment: ExternalInterviewAssessment) -> "PatchExternalInterviewAssessmentResponseBodyBuilder":
        self._patch_external_interview_assessment_response_body.external_interview_assessment = external_interview_assessment
        return self

    def build(self) -> "PatchExternalInterviewAssessmentResponseBody":
        return self._patch_external_interview_assessment_response_body
