# 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 .data_asset import DataAsset


class DeleteAppDataAssetResponseBody(object):
    _types = {
        "data_asset": DataAsset,
    }

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

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


class DeleteAppDataAssetResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._delete_app_data_asset_response_body = DeleteAppDataAssetResponseBody()

    def data_asset(self, data_asset: DataAsset) -> "DeleteAppDataAssetResponseBodyBuilder":
        self._delete_app_data_asset_response_body.data_asset = data_asset
        return self

    def build(self) -> "DeleteAppDataAssetResponseBody":
        return self._delete_app_data_asset_response_body
