# 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_background_check import ExternalBackgroundCheck


class UpdateExternalBackgroundCheckResponseBody(object):
    _types = {
        "external_background_check": ExternalBackgroundCheck,
    }

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

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


class UpdateExternalBackgroundCheckResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._update_external_background_check_response_body = UpdateExternalBackgroundCheckResponseBody()

    def external_background_check(self,
                                  external_background_check: ExternalBackgroundCheck) -> "UpdateExternalBackgroundCheckResponseBodyBuilder":
        self._update_external_background_check_response_body.external_background_check = external_background_check
        return self

    def build(self) -> "UpdateExternalBackgroundCheckResponseBody":
        return self._update_external_background_check_response_body
