# 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_view import AppTableView


class PatchAppTableViewResponseBody(object):
    _types = {
        "view": AppTableView,
    }

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

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


class PatchAppTableViewResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._patch_app_table_view_response_body = PatchAppTableViewResponseBody()

    def view(self, view: AppTableView) -> "PatchAppTableViewResponseBodyBuilder":
        self._patch_app_table_view_response_body.view = view
        return self

    def build(self) -> "PatchAppTableViewResponseBody":
        return self._patch_app_table_view_response_body
