# 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 .job_family import JobFamily


class GetJobFamilyResponseBody(object):
    _types = {
        "job_family": JobFamily,
    }

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

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


class GetJobFamilyResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_job_family_response_body = GetJobFamilyResponseBody()

    def job_family(self, job_family: JobFamily) -> "GetJobFamilyResponseBodyBuilder":
        self._get_job_family_response_body.job_family = job_family
        return self

    def build(self) -> "GetJobFamilyResponseBody":
        return self._get_job_family_response_body
