pub struct ServiceAccountsApiClient {
configuration: Arc<Configuration>,
}Fields§
§configuration: Arc<Configuration>Implementations§
Source§impl ServiceAccountsApiClient
impl ServiceAccountsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl ServiceAccountsApi for ServiceAccountsApiClient
impl ServiceAccountsApi for ServiceAccountsApiClient
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 /service-accounts/delete
Source§fn create<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
service_account_create_request_model: Option<ServiceAccountCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountResponseModel, 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,
service_account_create_request_model: Option<ServiceAccountCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{organizationId}/service-accounts
Source§fn create_access_token<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
access_token_create_request_model: Option<AccessTokenCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AccessTokenCreationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn create_access_token<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
access_token_create_request_model: Option<AccessTokenCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AccessTokenCreationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /service-accounts/{id}/access-tokens
Source§fn get_access_tokens<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<AccessTokenResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_access_tokens<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<AccessTokenResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /service-accounts/{id}/access-tokens
Source§fn get_by_service_account_id<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_by_service_account_id<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /service-accounts/{id}
Source§fn list_by_organization<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
include_access_to_secrets: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountSecretsDetailsResponseModelListResponseModel, 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,
include_access_to_secrets: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountSecretsDetailsResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{organizationId}/service-accounts
Source§fn revoke_access_tokens<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
revoke_access_tokens_request: Option<RevokeAccessTokensRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn revoke_access_tokens<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
revoke_access_tokens_request: Option<RevokeAccessTokensRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /service-accounts/{id}/access-tokens/revoke
Source§fn update<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
service_account_update_request_model: Option<ServiceAccountUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
service_account_update_request_model: Option<ServiceAccountUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ServiceAccountResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /service-accounts/{id}
Auto Trait Implementations§
impl Freeze for ServiceAccountsApiClient
impl !RefUnwindSafe for ServiceAccountsApiClient
impl Send for ServiceAccountsApiClient
impl Sync for ServiceAccountsApiClient
impl Unpin for ServiceAccountsApiClient
impl UnsafeUnpin for ServiceAccountsApiClient
impl !UnwindSafe for ServiceAccountsApiClient
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