# 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 import App


class PatchAppResponseBody(object):
    _types = {
        "app": App,
    }

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

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


class PatchAppResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._patch_app_response_body = PatchAppResponseBody()

    def app(self, app: App) -> "PatchAppResponseBodyBuilder":
        self._patch_app_response_body.app = app
        return self

    def build(self) -> "PatchAppResponseBody":
        return self._patch_app_response_body
