# 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 CompletePreHireResponseBody(object):
    _types = {
        "success": bool,
    }

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

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


class CompletePreHireResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._complete_pre_hire_response_body = CompletePreHireResponseBody()

    def success(self, success: bool) -> "CompletePreHireResponseBodyBuilder":
        self._complete_pre_hire_response_body.success = success
        return self

    def build(self) -> "CompletePreHireResponseBody":
        return self._complete_pre_hire_response_body
