# 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 CreatePreHireResponseBody(object):
    _types = {
        "pre_hire_id": str,
    }

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

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


class CreatePreHireResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_pre_hire_response_body = CreatePreHireResponseBody()

    def pre_hire_id(self, pre_hire_id: str) -> "CreatePreHireResponseBodyBuilder":
        self._create_pre_hire_response_body.pre_hire_id = pre_hire_id
        return self

    def build(self) -> "CreatePreHireResponseBody":
        return self._create_pre_hire_response_body
