pub struct CollectionsApiClient {
configuration: Arc<Configuration>,
}
Fields§
§configuration: Arc<Configuration>
Implementations§
Source§impl CollectionsApiClient
impl CollectionsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl CollectionsApi for CollectionsApiClient
impl CollectionsApi for CollectionsApiClient
Source§fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /organizations/{orgId}/collections/{id}
Source§fn delete_many<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
collection_bulk_delete_request_model: Option<CollectionBulkDeleteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_many<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
collection_bulk_delete_request_model: Option<CollectionBulkDeleteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /organizations/{orgId}/collections
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CollectionResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CollectionResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/collections/{id}
Source§fn get_all<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CollectionResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_all<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CollectionResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/collections
Source§fn get_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CollectionAccessDetailsResponseModel, Error<GetDetailsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CollectionAccessDetailsResponseModel, Error<GetDetailsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/collections/{id}/details
Source§fn get_many_with_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CollectionAccessDetailsResponseModelListResponseModel, Error<GetManyWithDetailsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_many_with_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CollectionAccessDetailsResponseModelListResponseModel, Error<GetManyWithDetailsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/collections/details
Source§fn get_user<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<CollectionDetailsResponseModelListResponseModel, Error<GetUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_user<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<CollectionDetailsResponseModelListResponseModel, Error<GetUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /collections
Source§fn get_users<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<SelectionReadOnlyResponseModel>, Error<GetUsersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_users<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<SelectionReadOnlyResponseModel>, Error<GetUsersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/collections/{id}/users
Source§fn post<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
create_collection_request_model: Option<CreateCollectionRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CollectionResponseModel, Error<PostError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
create_collection_request_model: Option<CreateCollectionRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CollectionResponseModel, Error<PostError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/collections
Source§fn post_bulk_collection_access<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
bulk_collection_access_request_model: Option<BulkCollectionAccessRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostBulkCollectionAccessError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_bulk_collection_access<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
bulk_collection_access_request_model: Option<BulkCollectionAccessRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostBulkCollectionAccessError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/collections/bulk-access
Source§fn put<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
update_collection_request_model: Option<UpdateCollectionRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CollectionResponseModel, Error<PutError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
update_collection_request_model: Option<UpdateCollectionRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CollectionResponseModel, Error<PutError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/collections/{id}
Auto Trait Implementations§
impl Freeze for CollectionsApiClient
impl !RefUnwindSafe for CollectionsApiClient
impl Send for CollectionsApiClient
impl Sync for CollectionsApiClient
impl Unpin for CollectionsApiClient
impl !UnwindSafe for CollectionsApiClient
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