# 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 .offer_apply_form_info import OfferApplyFormInfo


class GetOfferApplicationFormResponseBody(object):
    _types = {
        "offer_apply_form": OfferApplyFormInfo,
    }

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

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


class GetOfferApplicationFormResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_offer_application_form_response_body = GetOfferApplicationFormResponseBody()

    def offer_apply_form(self, offer_apply_form: OfferApplyFormInfo) -> "GetOfferApplicationFormResponseBodyBuilder":
        self._get_offer_application_form_response_body.offer_apply_form = offer_apply_form
        return self

    def build(self) -> "GetOfferApplicationFormResponseBody":
        return self._get_offer_application_form_response_body
