# 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 .app_table_form import AppTableForm


class PatchAppTableFormResponseBody(object):
    _types = {
        "form": AppTableForm,
    }

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

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


class PatchAppTableFormResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._patch_app_table_form_response_body = PatchAppTableFormResponseBody()

    def form(self, form: AppTableForm) -> "PatchAppTableFormResponseBodyBuilder":
        self._patch_app_table_form_response_body.form = form
        return self

    def build(self) -> "PatchAppTableFormResponseBody":
        return self._patch_app_table_form_response_body
