pub struct MockOrganizationDomainApi {
OrganizationDomainApi_expectations: MockOrganizationDomainApi_OrganizationDomainApi,
}
Fields§
§OrganizationDomainApi_expectations: MockOrganizationDomainApi_OrganizationDomainApi
Implementations§
Source§impl MockOrganizationDomainApi
impl MockOrganizationDomainApi
Sourcepub fn checkpoint(&mut self)
pub fn checkpoint(&mut self)
Validate that all current expectations for all methods have been satisfied, and discard them.
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new mock object with no expectations.
This method will not be generated if the real struct
already has a new
method. However, it will be
generated if the struct implements a trait with a new
method. The trait’s new
method can still be called
like <MockX as TraitY>::new
Source§impl MockOrganizationDomainApi
impl MockOrganizationDomainApi
Sourcepub fn expect_get(&mut self) -> &mut Expectation
pub fn expect_get(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get
method
Sourcepub fn expect_get_all(&mut self) -> &mut Expectation
pub fn expect_get_all(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_all
method
Sourcepub fn expect_get_org_domain_sso_details(&mut self) -> &mut Expectation
pub fn expect_get_org_domain_sso_details(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_org_domain_sso_details
method
Sourcepub fn expect_get_verified_org_domain_sso_details(&mut self) -> &mut Expectation
pub fn expect_get_verified_org_domain_sso_details(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_verified_org_domain_sso_details
method
Sourcepub fn expect_post(&mut self) -> &mut Expectation
pub fn expect_post(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post
method
Sourcepub fn expect_remove_domain(&mut self) -> &mut Expectation
pub fn expect_remove_domain(&mut self) -> &mut Expectation
Create an Expectation
for mocking the remove_domain
method
Sourcepub fn expect_verify(&mut self) -> &mut Expectation
pub fn expect_verify(&mut self) -> &mut Expectation
Create an Expectation
for mocking the verify
method
Trait Implementations§
Source§impl Debug for MockOrganizationDomainApi
impl Debug for MockOrganizationDomainApi
Source§impl Default for MockOrganizationDomainApi
impl Default for MockOrganizationDomainApi
Source§impl OrganizationDomainApi for MockOrganizationDomainApi
impl OrganizationDomainApi for MockOrganizationDomainApi
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,
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,
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,
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,
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,
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,
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,
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