# 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 .application_detail_info import ApplicationDetailInfo


class GetDetailApplicationResponseBody(object):
    _types = {
        "application_detail": ApplicationDetailInfo,
    }

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

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


class GetDetailApplicationResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_detail_application_response_body = GetDetailApplicationResponseBody()

    def application_detail(self,
                           application_detail: ApplicationDetailInfo) -> "GetDetailApplicationResponseBodyBuilder":
        self._get_detail_application_response_body.application_detail = application_detail
        return self

    def build(self) -> "GetDetailApplicationResponseBody":
        return self._get_detail_application_response_body
