use crate::NifiError;
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ReportingTasksBulletinsApi {
async fn clear_bulletins_7(
&self,
body: &crate::v2_7_2::types::ClearBulletinsRequestEntity,
) -> Result<crate::v2_7_2::types::ClearBulletinsResultEntity, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ReportingTasksConfigApi {
async fn analyze_configuration_3(
&self,
body: &crate::v2_7_2::types::ConfigurationAnalysisEntity,
) -> Result<crate::v2_7_2::types::ConfigurationAnalysisDto, NifiError>;
async fn submit_config_verification_request_2(
&self,
body: &crate::v2_7_2::types::VerifyConfigRequestEntity,
) -> Result<crate::v2_7_2::types::VerifyConfigRequestDto, NifiError>;
async fn delete_verification_request_3(
&self,
request_id: &str,
) -> Result<crate::v2_7_2::types::VerifyConfigRequestDto, NifiError>;
async fn get_verification_request_3(
&self,
request_id: &str,
) -> Result<crate::v2_7_2::types::VerifyConfigRequestDto, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ReportingTasksDescriptorsApi {
async fn get_property_descriptor_4(
&self,
property_name: &str,
sensitive: Option<bool>,
) -> Result<crate::v2_7_2::types::PropertyDescriptorDto, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ReportingTasksRunStatusApi {
async fn update_run_status_5(
&self,
body: &crate::v2_7_2::types::ReportingTaskRunStatusEntity,
) -> Result<crate::v2_7_2::types::ReportingTaskEntity, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ReportingTasksStateApi {
async fn get_state_4(&self) -> Result<crate::v2_7_2::types::ComponentStateDto, NifiError>;
async fn clear_state_4(
&self,
body: &crate::v2_7_2::types::ComponentStateEntity,
) -> Result<crate::v2_7_2::types::ComponentStateDto, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ReportingTasksApi {
fn bulletins<'b>(&'b self, id: &'b str) -> impl ReportingTasksBulletinsApi + 'b;
fn config<'b>(&'b self, id: &'b str) -> impl ReportingTasksConfigApi + 'b;
fn descriptors<'b>(&'b self, id: &'b str) -> impl ReportingTasksDescriptorsApi + 'b;
fn run_status<'b>(&'b self, id: &'b str) -> impl ReportingTasksRunStatusApi + 'b;
fn state<'b>(&'b self, id: &'b str) -> impl ReportingTasksStateApi + 'b;
async fn remove_reporting_task(
&self,
id: &str,
version: Option<&str>,
client_id: Option<&str>,
disconnected_node_acknowledged: Option<bool>,
) -> Result<crate::v2_7_2::types::ReportingTaskEntity, NifiError>;
async fn get_reporting_task(
&self,
id: &str,
) -> Result<crate::v2_7_2::types::ReportingTaskEntity, NifiError>;
async fn update_reporting_task(
&self,
id: &str,
body: &crate::v2_7_2::types::ReportingTaskEntity,
) -> Result<crate::v2_7_2::types::ReportingTaskEntity, NifiError>;
}