# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init


class PatchAppTableRequestBody(object):
    _types = {
        "name": str,
    }

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

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


class PatchAppTableRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._patch_app_table_request_body = PatchAppTableRequestBody()

    def name(self, name: str) -> "PatchAppTableRequestBodyBuilder":
        self._patch_app_table_request_body.name = name
        return self

    def build(self) -> "PatchAppTableRequestBody":
        return self._patch_app_table_request_body
