use crate::NifiError;
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ProvenanceApi {
async fn submit_provenance_request(
&self,
body: &crate::v2_8_0::types::ProvenanceEntity,
) -> Result<crate::v2_8_0::types::ProvenanceDto, NifiError>;
async fn submit_lineage_request(
&self,
body: &crate::v2_8_0::types::LineageEntity,
) -> Result<crate::v2_8_0::types::LineageDto, NifiError>;
async fn delete_lineage(
&self,
id: &str,
cluster_node_id: Option<&str>,
) -> Result<crate::v2_8_0::types::LineageDto, NifiError>;
async fn get_lineage(
&self,
id: &str,
cluster_node_id: Option<&str>,
) -> Result<crate::v2_8_0::types::LineageDto, NifiError>;
async fn get_search_options(
&self,
) -> Result<crate::v2_8_0::types::ProvenanceOptionsDto, NifiError>;
async fn delete_provenance(
&self,
id: &str,
cluster_node_id: Option<&str>,
) -> Result<crate::v2_8_0::types::ProvenanceDto, NifiError>;
async fn get_provenance(
&self,
id: &str,
cluster_node_id: Option<&str>,
summarize: Option<bool>,
incremental_results: Option<bool>,
) -> Result<crate::v2_8_0::types::ProvenanceDto, NifiError>;
}