# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init


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

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

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


class CopyAppDashboardResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._copy_app_dashboard_response_body = CopyAppDashboardResponseBody()

    def block_id(self, block_id: str) -> "CopyAppDashboardResponseBodyBuilder":
        self._copy_app_dashboard_response_body.block_id = block_id
        return self

    def name(self, name: str) -> "CopyAppDashboardResponseBodyBuilder":
        self._copy_app_dashboard_response_body.name = name
        return self

    def build(self) -> "CopyAppDashboardResponseBody":
        return self._copy_app_dashboard_response_body
