Trait OrganizationDomainApi

Source
pub trait OrganizationDomainApi: Send + Sync {
    // Required methods
    fn get<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModel, Error<GetError>>> + 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<OrganizationDomainResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_org_domain_sso_details<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_domain_sso_details_request_model: Option<OrganizationDomainSsoDetailsRequestModel>,
    ) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainSsoDetailsResponseModel, Error<GetOrgDomainSsoDetailsError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_verified_org_domain_sso_details<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_domain_sso_details_request_model: Option<OrganizationDomainSsoDetailsRequestModel>,
    ) -> Pin<Box<dyn Future<Output = Result<VerifiedOrganizationDomainSsoDetailsResponseModel, Error<GetVerifiedOrgDomainSsoDetailsError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn post<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        organization_domain_request_model: Option<OrganizationDomainRequestModel>,
    ) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModel, Error<PostError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn remove_domain<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveDomainError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn verify<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModel, Error<VerifyError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModel, Error<GetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{orgId}/domain/{id}

Source

fn get_all<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{orgId}/domain

Source

fn get_org_domain_sso_details<'a, 'life0, 'async_trait>( &'life0 self, organization_domain_sso_details_request_model: Option<OrganizationDomainSsoDetailsRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainSsoDetailsResponseModel, Error<GetOrgDomainSsoDetailsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/domain/sso/details

Source

fn get_verified_org_domain_sso_details<'a, 'life0, 'async_trait>( &'life0 self, organization_domain_sso_details_request_model: Option<OrganizationDomainSsoDetailsRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<VerifiedOrganizationDomainSsoDetailsResponseModel, Error<GetVerifiedOrgDomainSsoDetailsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/domain/sso/verified

Source

fn post<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_domain_request_model: Option<OrganizationDomainRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModel, Error<PostError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/domain

Source

fn remove_domain<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveDomainError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /organizations/{orgId}/domain/{id}

Source

fn verify<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModel, Error<VerifyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/domain/{id}/verify

Implementors§