# 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_detail import JobDetail


class GetDetailJobResponseBody(object):
    _types = {
        "job_detail": JobDetail,
    }

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

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


class GetDetailJobResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_detail_job_response_body = GetDetailJobResponseBody()

    def job_detail(self, job_detail: JobDetail) -> "GetDetailJobResponseBodyBuilder":
        self._get_detail_job_response_body.job_detail = job_detail
        return self

    def build(self) -> "GetDetailJobResponseBody":
        return self._get_detail_job_response_body
