# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init
from .employee_type_enum import EmployeeTypeEnum


class UpdateEmployeeTypeEnumResponseBody(object):
    _types = {
        "employee_type_enum": EmployeeTypeEnum,
    }

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

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


class UpdateEmployeeTypeEnumResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._update_employee_type_enum_response_body = UpdateEmployeeTypeEnumResponseBody()

    def employee_type_enum(self, employee_type_enum: EmployeeTypeEnum) -> "UpdateEmployeeTypeEnumResponseBodyBuilder":
        self._update_employee_type_enum_response_body.employee_type_enum = employee_type_enum
        return self

    def build(self) -> "UpdateEmployeeTypeEnumResponseBody":
        return self._update_employee_type_enum_response_body
