pub struct SecretsApiClient {
configuration: Arc<Configuration>,
}Fields§
§configuration: Arc<Configuration>Implementations§
Source§impl SecretsApiClient
impl SecretsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl SecretsApi for SecretsApiClient
impl SecretsApi for SecretsApiClient
Source§fn bulk_delete<'a, 'life0, 'async_trait>(
&'life0 self,
uuid_colon_colon_uuid: Option<Vec<Uuid>>,
) -> Pin<Box<dyn Future<Output = Result<BulkDeleteResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn bulk_delete<'a, 'life0, 'async_trait>(
&'life0 self,
uuid_colon_colon_uuid: Option<Vec<Uuid>>,
) -> Pin<Box<dyn Future<Output = Result<BulkDeleteResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /secrets/delete
Source§fn create<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
secret_create_request_model: Option<SecretCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<SecretResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn create<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
secret_create_request_model: Option<SecretCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<SecretResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{organizationId}/secrets
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /secrets/{id}
Source§fn get_secrets_by_ids<'a, 'life0, 'async_trait>(
&'life0 self,
get_secrets_request_model: Option<GetSecretsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<BaseSecretResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_secrets_by_ids<'a, 'life0, 'async_trait>(
&'life0 self,
get_secrets_request_model: Option<GetSecretsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<BaseSecretResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /secrets/get-by-ids
Source§fn get_secrets_by_project<'a, 'life0, 'async_trait>(
&'life0 self,
project_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretWithProjectsListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_secrets_by_project<'a, 'life0, 'async_trait>(
&'life0 self,
project_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretWithProjectsListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /projects/{projectId}/secrets
Source§fn get_secrets_sync<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
last_synced_date: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<SecretsSyncResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_secrets_sync<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
last_synced_date: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<SecretsSyncResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{organizationId}/secrets/sync
Source§fn list_by_organization<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretWithProjectsListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn list_by_organization<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretWithProjectsListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{organizationId}/secrets
Source§fn update_secret<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
secret_update_request_model: Option<SecretUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<SecretResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update_secret<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
secret_update_request_model: Option<SecretUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<SecretResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /secrets/{id}
Auto Trait Implementations§
impl Freeze for SecretsApiClient
impl !RefUnwindSafe for SecretsApiClient
impl Send for SecretsApiClient
impl Sync for SecretsApiClient
impl Unpin for SecretsApiClient
impl UnsafeUnpin for SecretsApiClient
impl !UnwindSafe for SecretsApiClient
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more