pub struct AuthRequestsApiClient {
configuration: Arc<Configuration>,
}
Fields§
§configuration: Arc<Configuration>
Implementations§
Source§impl AuthRequestsApiClient
impl AuthRequestsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl AuthRequestsApi for AuthRequestsApiClient
impl AuthRequestsApi for AuthRequestsApiClient
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, 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<AuthRequestResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /auth-requests/{id}
Source§fn get_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /auth-requests
Source§fn get_pending_auth_requests<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PendingAuthRequestResponseModelListResponseModel, Error<GetPendingAuthRequestsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_pending_auth_requests<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PendingAuthRequestResponseModelListResponseModel, Error<GetPendingAuthRequestsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /auth-requests/pending
Source§fn get_response<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
code: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error<GetResponseError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_response<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
code: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error<GetResponseError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /auth-requests/{id}/response
Source§fn post<'a, 'life0, 'async_trait>(
&'life0 self,
auth_request_create_request_model: Option<AuthRequestCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error<PostError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post<'a, 'life0, 'async_trait>(
&'life0 self,
auth_request_create_request_model: Option<AuthRequestCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error<PostError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /auth-requests
Source§fn post_admin_request<'a, 'life0, 'async_trait>(
&'life0 self,
auth_request_create_request_model: Option<AuthRequestCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error<PostAdminRequestError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_admin_request<'a, 'life0, 'async_trait>(
&'life0 self,
auth_request_create_request_model: Option<AuthRequestCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error<PostAdminRequestError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /auth-requests/admin-request
Source§fn put<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
auth_request_update_request_model: Option<AuthRequestUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error<PutError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
auth_request_update_request_model: Option<AuthRequestUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error<PutError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /auth-requests/{id}
Auto Trait Implementations§
impl Freeze for AuthRequestsApiClient
impl !RefUnwindSafe for AuthRequestsApiClient
impl Send for AuthRequestsApiClient
impl Sync for AuthRequestsApiClient
impl Unpin for AuthRequestsApiClient
impl !UnwindSafe for AuthRequestsApiClient
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