# 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 .employment_create import EmploymentCreate


class CreateEmploymentResponseBody(object):
    _types = {
        "employment": EmploymentCreate,
    }

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

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


class CreateEmploymentResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_employment_response_body = CreateEmploymentResponseBody()

    def employment(self, employment: EmploymentCreate) -> "CreateEmploymentResponseBodyBuilder":
        self._create_employment_response_body.employment = employment
        return self

    def build(self) -> "CreateEmploymentResponseBody":
        return self._create_employment_response_body
