pub struct ProjectsApiClient {
configuration: Arc<Configuration>,
}
Fields§
§configuration: Arc<Configuration>
Implementations§
Source§impl ProjectsApiClient
impl ProjectsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl ProjectsApi for ProjectsApiClient
impl ProjectsApi for ProjectsApiClient
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<BulkDeleteError>>> + 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<BulkDeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /projects/delete
Source§fn create<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
project_create_request_model: Option<ProjectCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProjectResponseModel, Error<CreateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn create<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
project_create_request_model: Option<ProjectCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProjectResponseModel, Error<CreateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{organizationId}/projects
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProjectResponseModel, Error<GetError>>> + 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<ProjectResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /projects/{id}
Source§fn list_by_organization<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProjectResponseModelListResponseModel, Error<ListByOrganizationError>>> + 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<ProjectResponseModelListResponseModel, Error<ListByOrganizationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{organizationId}/projects
Source§fn update<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
project_update_request_model: Option<ProjectUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProjectResponseModel, Error<UpdateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
project_update_request_model: Option<ProjectUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProjectResponseModel, Error<UpdateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /projects/{id}
Auto Trait Implementations§
impl Freeze for ProjectsApiClient
impl !RefUnwindSafe for ProjectsApiClient
impl Send for ProjectsApiClient
impl Sync for ProjectsApiClient
impl Unpin for ProjectsApiClient
impl !UnwindSafe for ProjectsApiClient
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