# 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 import ExternalInterview


class CreateExternalInterviewResponseBody(object):
    _types = {
        "external_interview": ExternalInterview,
    }

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

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


class CreateExternalInterviewResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_external_interview_response_body = CreateExternalInterviewResponseBody()

    def external_interview(self, external_interview: ExternalInterview) -> "CreateExternalInterviewResponseBodyBuilder":
        self._create_external_interview_response_body.external_interview = external_interview
        return self

    def build(self) -> "CreateExternalInterviewResponseBody":
        return self._create_external_interview_response_body
