use crate::NifiError;
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ProvenanceEventsContentApi {
async fn get_input_content(&self, cluster_node_id: Option<&str>) -> Result<(), NifiError>;
async fn get_output_content(&self, cluster_node_id: Option<&str>) -> Result<(), NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ProvenanceEventsApi {
fn content<'b>(&'b self, id: &'b str) -> impl ProvenanceEventsContentApi + 'b;
async fn submit_replay_latest_event(
&self,
body: &crate::v2_6_0::types::ReplayLastEventRequestEntity,
) -> Result<crate::v2_6_0::types::ReplayLastEventResponseEntity, NifiError>;
async fn get_latest_provenance_events(
&self,
component_id: &str,
limit: Option<i32>,
) -> Result<crate::v2_6_0::types::LatestProvenanceEventsDto, NifiError>;
async fn submit_replay(
&self,
body: &crate::v2_6_0::types::SubmitReplayRequestEntity,
) -> Result<crate::v2_6_0::types::ProvenanceEventDto, NifiError>;
async fn get_provenance_event(
&self,
id: &str,
cluster_node_id: Option<&str>,
) -> Result<crate::v2_6_0::types::ProvenanceEventDto, NifiError>;
}