Trait ProjectsApi

Source
pub trait ProjectsApi: Send + Sync {
    // Required methods
    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 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 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 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 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;
}

Required Methods§

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,

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,

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,

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,

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,

PUT /projects/{id}

Implementors§