pub mod copy;
pub mod list;
use crate::core::config::Config;
pub use copy::*;
pub use list::*;
pub struct AppDashboardService {
config: Config,
}
impl AppDashboardService {
pub fn new(config: Config) -> Self {
Self { config }
}
pub async fn copy(
&self,
request: CopyDashboardRequest,
option: Option<crate::core::req_option::RequestOption>,
) -> crate::core::SDKResult<crate::core::api_resp::BaseResponse<CopyDashboardResponse>> {
copy::copy_dashboard(request, &self.config, option).await
}
pub async fn list(
&self,
request: ListDashboardRequest,
option: Option<crate::core::req_option::RequestOption>,
) -> crate::core::SDKResult<crate::core::api_resp::BaseResponse<ListDashboardResponse>> {
list::list_dashboard(request, &self.config, option).await
}
}