use crate::NifiError;
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ParameterProvidersApplyParametersRequestsApi {
async fn submit_apply_parameters(
&self,
body: &crate::v2_7_2::types::ParameterProviderParameterApplicationEntity,
) -> Result<crate::v2_7_2::types::ParameterProviderApplyParametersRequestDto, NifiError>;
async fn delete_apply_parameters_request(
&self,
request_id: &str,
disconnected_node_acknowledged: Option<bool>,
) -> Result<crate::v2_7_2::types::ParameterProviderApplyParametersRequestDto, NifiError>;
async fn get_parameter_provider_apply_parameters_request(
&self,
request_id: &str,
) -> Result<crate::v2_7_2::types::ParameterProviderApplyParametersRequestDto, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ParameterProvidersBulletinsApi {
async fn clear_bulletins_4(
&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 ParameterProvidersConfigApi {
async fn analyze_configuration_1(
&self,
body: &crate::v2_7_2::types::ConfigurationAnalysisEntity,
) -> Result<crate::v2_7_2::types::ConfigurationAnalysisDto, NifiError>;
async fn submit_config_verification_request_1(
&self,
body: &crate::v2_7_2::types::VerifyConfigRequestEntity,
) -> Result<crate::v2_7_2::types::VerifyConfigRequestDto, NifiError>;
async fn delete_verification_request_1(
&self,
request_id: &str,
) -> Result<crate::v2_7_2::types::VerifyConfigRequestDto, NifiError>;
async fn get_verification_request_1(
&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 ParameterProvidersDescriptorsApi {
async fn get_property_descriptor_2(
&self,
property_name: &str,
) -> Result<crate::v2_7_2::types::PropertyDescriptorDto, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ParameterProvidersParametersApi {
async fn fetch_parameters(
&self,
body: &crate::v2_7_2::types::ParameterProviderParameterFetchEntity,
) -> Result<crate::v2_7_2::types::ParameterProviderEntity, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ParameterProvidersReferencesApi {
async fn get_parameter_provider_references(
&self,
) -> Result<crate::v2_7_2::types::ParameterProviderReferencingComponentsEntity, NifiError>;
}
#[allow(unused_variables, async_fn_in_trait, clippy::too_many_arguments)]
pub trait ParameterProvidersStateApi {
async fn get_state_1(&self) -> Result<crate::v2_7_2::types::ComponentStateDto, NifiError>;
async fn clear_state_2(
&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 ParameterProvidersApi {
fn apply_parameters_requests<'b>(
&'b self,
provider_id: &'b str,
) -> impl ParameterProvidersApplyParametersRequestsApi + 'b;
fn bulletins<'b>(&'b self, id: &'b str) -> impl ParameterProvidersBulletinsApi + 'b;
fn config<'b>(&'b self, id: &'b str) -> impl ParameterProvidersConfigApi + 'b;
fn descriptors<'b>(&'b self, id: &'b str) -> impl ParameterProvidersDescriptorsApi + 'b;
fn parameters<'b>(&'b self, id: &'b str) -> impl ParameterProvidersParametersApi + 'b;
fn references<'b>(&'b self, id: &'b str) -> impl ParameterProvidersReferencesApi + 'b;
fn state<'b>(&'b self, id: &'b str) -> impl ParameterProvidersStateApi + 'b;
async fn remove_parameter_provider(
&self,
id: &str,
version: Option<&str>,
client_id: Option<&str>,
disconnected_node_acknowledged: Option<bool>,
) -> Result<crate::v2_7_2::types::ParameterProviderEntity, NifiError>;
async fn get_parameter_provider(
&self,
id: &str,
) -> Result<crate::v2_7_2::types::ParameterProviderEntity, NifiError>;
async fn update_parameter_provider(
&self,
id: &str,
body: &crate::v2_7_2::types::ParameterProviderEntity,
) -> Result<crate::v2_7_2::types::ParameterProviderEntity, NifiError>;
}