pub trait SelfHostedOrganizationSponsorshipsApi: Send + Sync {
// Required methods
fn admin_initiated_revoke_sponsorship<'a, 'life0, 'async_trait>(
&'life0 self,
sponsoring_org_id: Uuid,
sponsored_friendly_name: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<AdminInitiatedRevokeSponsorshipError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn create_sponsorship<'a, 'life0, 'async_trait>(
&'life0 self,
sponsoring_org_id: Uuid,
organization_sponsorship_create_request_model: Option<OrganizationSponsorshipCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateSponsorshipError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn get_sponsored_organizations<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationSponsorshipInvitesResponseModelListResponseModel, Error<GetSponsoredOrganizationsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn revoke_sponsorship<'a, 'life0, 'async_trait>(
&'life0 self,
sponsoring_org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RevokeSponsorshipError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn admin_initiated_revoke_sponsorship<'a, 'life0, 'async_trait>(
&'life0 self,
sponsoring_org_id: Uuid,
sponsored_friendly_name: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<AdminInitiatedRevokeSponsorshipError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn admin_initiated_revoke_sponsorship<'a, 'life0, 'async_trait>(
&'life0 self,
sponsoring_org_id: Uuid,
sponsored_friendly_name: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<AdminInitiatedRevokeSponsorshipError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /organization/sponsorship/self-hosted/{sponsoringOrgId}/{sponsoredFriendlyName}/ revoke
Sourcefn create_sponsorship<'a, 'life0, 'async_trait>(
&'life0 self,
sponsoring_org_id: Uuid,
organization_sponsorship_create_request_model: Option<OrganizationSponsorshipCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateSponsorshipError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn create_sponsorship<'a, 'life0, 'async_trait>(
&'life0 self,
sponsoring_org_id: Uuid,
organization_sponsorship_create_request_model: Option<OrganizationSponsorshipCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateSponsorshipError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organization/sponsorship/self-hosted/{sponsoringOrgId}/families-for-enterprise
Sourcefn get_sponsored_organizations<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationSponsorshipInvitesResponseModelListResponseModel, Error<GetSponsoredOrganizationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_sponsored_organizations<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationSponsorshipInvitesResponseModelListResponseModel, Error<GetSponsoredOrganizationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organization/sponsorship/self-hosted/{orgId}/sponsored
Sourcefn revoke_sponsorship<'a, 'life0, 'async_trait>(
&'life0 self,
sponsoring_org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RevokeSponsorshipError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn revoke_sponsorship<'a, 'life0, 'async_trait>(
&'life0 self,
sponsoring_org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RevokeSponsorshipError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /organization/sponsorship/self-hosted/{sponsoringOrgId}