Struct OrganizationsApiClient

Source
pub struct OrganizationsApiClient {
    configuration: Arc<Configuration>,
}

Fields§

§configuration: Arc<Configuration>

Implementations§

Source§

impl OrganizationsApiClient

Source

pub fn new(configuration: Arc<Configuration>) -> Self

Trait Implementations§

Source§

impl OrganizationsApi for OrganizationsApiClient

Source§

fn api_key<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, organization_api_key_request_model: Option<OrganizationApiKeyRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error<ApiKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/api-key
Source§

fn api_key_information<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, type: OrganizationApiKeyType, ) -> Pin<Box<dyn Future<Output = Result<OrganizationApiKeyInformationListResponseModel, Error<ApiKeyInformationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{id}/api-key-information/{type}
Source§

fn create_without_payment<'a, 'life0, 'async_trait>( &'life0 self, organization_no_payment_create_request: Option<OrganizationNoPaymentCreateRequest>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<CreateWithoutPaymentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/create-without-payment
Source§

fn delete<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, secret_verification_request_model: Option<SecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /organizations/{id}
Source§

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

GET /organizations/{id}
Source§

fn get_auto_enroll_status<'a, 'life0, 'async_trait>( &'life0 self, identifier: &'a str, ) -> Pin<Box<dyn Future<Output = Result<OrganizationAutoEnrollStatusResponseModel, Error<GetAutoEnrollStatusError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{identifier}/auto-enroll-status
Source§

fn get_license<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, installation_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationLicense, Error<GetLicenseError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{id}/license
Source§

fn get_plan_type<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<PlanType, Error<GetPlanTypeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{id}/plan-type
Source§

fn get_public_key<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<OrganizationPublicKeyResponseModel, Error<GetPublicKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{id}/public-key
Source§

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

GET /organizations/{id}/sso
Source§

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

GET /organizations/{id}/subscription
Source§

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

GET /organizations/{id}/tax
Source§

fn get_user<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModelListResponseModel, Error<GetUserError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /organizations
Source§

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

POST /organizations/{id}/leave
Source§

fn post<'a, 'life0, 'async_trait>( &'life0 self, organization_create_request_model: Option<OrganizationCreateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<PostError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations
Source§

fn post_cancel<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, subscription_cancellation_request_model: Option<SubscriptionCancellationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostCancelError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/cancel
Source§

fn post_delete_recover_token<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_verify_delete_recover_request_model: Option<OrganizationVerifyDeleteRecoverRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostDeleteRecoverTokenError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/delete-recover-token
Source§

fn post_keys<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_keys_request_model: Option<OrganizationKeysRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationKeysResponseModel, Error<PostKeysError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/keys
Source§

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

POST /organizations/{id}/reinstate
Source§

fn post_seat<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_seat_request_model: Option<OrganizationSeatRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostSeatError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/seat
Source§

fn post_sm_subscription<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, secrets_manager_subscription_update_request_model: Option<SecretsManagerSubscriptionUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error<PostSmSubscriptionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/sm-subscription
Source§

fn post_sso<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_sso_request_model: Option<OrganizationSsoRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationSsoResponseModel, Error<PostSsoError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/sso
Source§

fn post_storage<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, storage_request_model: Option<StorageRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostStorageError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/storage
Source§

fn post_subscribe_secrets_manager<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, secrets_manager_subscribe_request_model: Option<SecretsManagerSubscribeRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error<PostSubscribeSecretsManagerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/subscribe-secrets-manager
Source§

fn post_subscription<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_subscription_update_request_model: Option<OrganizationSubscriptionUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error<PostSubscriptionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/subscription
Source§

fn post_upgrade<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_upgrade_request_model: Option<OrganizationUpgradeRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostUpgradeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/upgrade
Source§

fn post_verify_bank<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_verify_bank_request_model: Option<OrganizationVerifyBankRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostVerifyBankError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/verify-bank
Source§

fn put<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, organization_update_request_model: Option<OrganizationUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<PutError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{id}
Source§

fn put_collection_management<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_collection_management_update_request_model: Option<OrganizationCollectionManagementUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<PutCollectionManagementError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{id}/collection-management
Source§

fn put_tax_info<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, expanded_tax_info_update_request_model: Option<ExpandedTaxInfoUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutTaxInfoError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{id}/tax
Source§

fn rotate_api_key<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, organization_api_key_request_model: Option<OrganizationApiKeyRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error<RotateApiKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/rotate-api-key

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,