use crate::NifiError;
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait RemoteProcessGroupsBulletinsApi {
async fn clear_bulletins_6(
&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 RemoteProcessGroupsInputPortsApi {
async fn update_remote_process_group_input_port(
&self,
port_id: &str,
body: &crate::v2_7_2::types::RemoteProcessGroupPortEntity,
) -> Result<crate::v2_7_2::types::RemoteProcessGroupPortEntity, NifiError>;
async fn update_remote_process_group_input_port_run_status(
&self,
port_id: &str,
body: &crate::v2_7_2::types::RemotePortRunStatusEntity,
) -> Result<crate::v2_7_2::types::RemoteProcessGroupPortEntity, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait RemoteProcessGroupsOutputPortsApi {
async fn update_remote_process_group_output_port(
&self,
port_id: &str,
body: &crate::v2_7_2::types::RemoteProcessGroupPortEntity,
) -> Result<crate::v2_7_2::types::RemoteProcessGroupPortEntity, NifiError>;
async fn update_remote_process_group_output_port_run_status(
&self,
port_id: &str,
body: &crate::v2_7_2::types::RemotePortRunStatusEntity,
) -> Result<crate::v2_7_2::types::RemoteProcessGroupPortEntity, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait RemoteProcessGroupsRunStatusApi {
async fn update_remote_process_group_run_statuses(
&self,
body: &crate::v2_7_2::types::RemotePortRunStatusEntity,
) -> Result<crate::v2_7_2::types::RemoteProcessGroupEntity, NifiError>;
async fn update_remote_process_group_run_status(
&self,
body: &crate::v2_7_2::types::RemotePortRunStatusEntity,
) -> Result<crate::v2_7_2::types::RemoteProcessGroupEntity, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait RemoteProcessGroupsStateApi {
async fn get_state_3(&self) -> Result<crate::v2_7_2::types::ComponentStateDto, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait RemoteProcessGroupsApi {
fn bulletins<'b>(&'b self, id: &'b str) -> impl RemoteProcessGroupsBulletinsApi + 'b;
fn input_ports<'b>(&'b self, id: &'b str) -> impl RemoteProcessGroupsInputPortsApi + 'b;
fn output_ports<'b>(&'b self, id: &'b str) -> impl RemoteProcessGroupsOutputPortsApi + 'b;
fn run_status<'b>(&'b self, id: &'b str) -> impl RemoteProcessGroupsRunStatusApi + 'b;
fn state<'b>(&'b self, id: &'b str) -> impl RemoteProcessGroupsStateApi + 'b;
async fn remove_remote_process_group(
&self,
id: &str,
version: Option<&str>,
client_id: Option<&str>,
disconnected_node_acknowledged: Option<bool>,
) -> Result<crate::v2_7_2::types::RemoteProcessGroupEntity, NifiError>;
async fn get_remote_process_group(
&self,
id: &str,
) -> Result<crate::v2_7_2::types::RemoteProcessGroupEntity, NifiError>;
async fn update_remote_process_group(
&self,
id: &str,
body: &crate::v2_7_2::types::RemoteProcessGroupEntity,
) -> Result<crate::v2_7_2::types::RemoteProcessGroupEntity, NifiError>;
}