use crate::NifiError;
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait InputPortsBulletinsApi {
async fn clear_bulletins_2(
&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 InputPortsRunStatusApi {
async fn update_run_status_2(
&self,
body: &crate::v2_7_2::types::PortRunStatusEntity,
) -> Result<crate::v2_7_2::types::ProcessorEntity, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait InputPortsApi {
fn bulletins<'b>(&'b self, id: &'b str) -> impl InputPortsBulletinsApi + 'b;
fn run_status<'b>(&'b self, id: &'b str) -> impl InputPortsRunStatusApi + 'b;
async fn remove_input_port(
&self,
id: &str,
version: Option<&str>,
client_id: Option<&str>,
disconnected_node_acknowledged: Option<bool>,
) -> Result<crate::v2_7_2::types::PortEntity, NifiError>;
async fn get_input_port(&self, id: &str)
-> Result<crate::v2_7_2::types::PortEntity, NifiError>;
async fn update_input_port(
&self,
id: &str,
body: &crate::v2_7_2::types::PortEntity,
) -> Result<crate::v2_7_2::types::PortEntity, NifiError>;
}