pub struct MockOrganizationReportsApi {
OrganizationReportsApi_expectations: MockOrganizationReportsApi_OrganizationReportsApi,
}
Fields§
§OrganizationReportsApi_expectations: MockOrganizationReportsApi_OrganizationReportsApi
Implementations§
Source§impl MockOrganizationReportsApi
impl MockOrganizationReportsApi
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 MockOrganizationReportsApi
impl MockOrganizationReportsApi
Sourcepub fn expect_create_organization_report(&mut self) -> &mut Expectation
pub fn expect_create_organization_report(&mut self) -> &mut Expectation
Create an Expectation
for mocking the create_organization_report
method
Sourcepub fn expect_get_latest_organization_report(&mut self) -> &mut Expectation
pub fn expect_get_latest_organization_report(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_latest_organization_report
method
Sourcepub fn expect_get_organization_report(&mut self) -> &mut Expectation
pub fn expect_get_organization_report(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_organization_report
method
Sourcepub fn expect_get_organization_report_application_data(
&mut self,
) -> &mut Expectation
pub fn expect_get_organization_report_application_data( &mut self, ) -> &mut Expectation
Create an Expectation
for mocking the get_organization_report_application_data
method
Sourcepub fn expect_get_organization_report_data(&mut self) -> &mut Expectation
pub fn expect_get_organization_report_data(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_organization_report_data
method
Sourcepub fn expect_get_organization_report_summary(&mut self) -> &mut Expectation
pub fn expect_get_organization_report_summary(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_organization_report_summary
method
Sourcepub fn expect_get_organization_report_summary_data_by_date_range(
&mut self,
) -> &mut Expectation
pub fn expect_get_organization_report_summary_data_by_date_range( &mut self, ) -> &mut Expectation
Create an Expectation
for mocking the get_organization_report_summary_data_by_date_range
method
Sourcepub fn expect_update_organization_report(&mut self) -> &mut Expectation
pub fn expect_update_organization_report(&mut self) -> &mut Expectation
Create an Expectation
for mocking the update_organization_report
method
Sourcepub fn expect_update_organization_report_application_data(
&mut self,
) -> &mut Expectation
pub fn expect_update_organization_report_application_data( &mut self, ) -> &mut Expectation
Create an Expectation
for mocking the update_organization_report_application_data
method
Sourcepub fn expect_update_organization_report_data(&mut self) -> &mut Expectation
pub fn expect_update_organization_report_data(&mut self) -> &mut Expectation
Create an Expectation
for mocking the update_organization_report_data
method
Sourcepub fn expect_update_organization_report_summary(&mut self) -> &mut Expectation
pub fn expect_update_organization_report_summary(&mut self) -> &mut Expectation
Create an Expectation
for mocking the update_organization_report_summary
method
Trait Implementations§
Source§impl Debug for MockOrganizationReportsApi
impl Debug for MockOrganizationReportsApi
Source§impl Default for MockOrganizationReportsApi
impl Default for MockOrganizationReportsApi
Source§impl OrganizationReportsApi for MockOrganizationReportsApi
impl OrganizationReportsApi for MockOrganizationReportsApi
Source§fn create_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
add_organization_report_request: Option<AddOrganizationReportRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateOrganizationReportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn create_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
add_organization_report_request: Option<AddOrganizationReportRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateOrganizationReportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /reports/organizations/{organizationId}
Source§fn get_latest_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetLatestOrganizationReportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_latest_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetLatestOrganizationReportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/latest
Source§fn get_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/{reportId}
Source§fn get_organization_report_application_data<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportApplicationDataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_organization_report_application_data<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportApplicationDataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/data/application/{reportId}
Source§fn get_organization_report_data<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportDataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_organization_report_data<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportDataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/data/report/{reportId}
Source§fn get_organization_report_summary<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportSummaryError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_organization_report_summary<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportSummaryError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/data/summary/{reportId}
Source§fn get_organization_report_summary_data_by_date_range<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
start_date: Option<String>,
end_date: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportSummaryDataByDateRangeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_organization_report_summary_data_by_date_range<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
start_date: Option<String>,
end_date: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportSummaryDataByDateRangeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/data/summary
Source§fn update_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: &'a str,
update_organization_report_request: Option<UpdateOrganizationReportRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: &'a str,
update_organization_report_request: Option<UpdateOrganizationReportRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PATCH /reports/organizations/{organizationId}/{reportId}
Source§fn update_organization_report_application_data<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_application_data_request: Option<UpdateOrganizationReportApplicationDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportApplicationDataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update_organization_report_application_data<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_application_data_request: Option<UpdateOrganizationReportApplicationDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportApplicationDataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PATCH /reports/organizations/{organizationId}/data/application/{reportId}
Source§fn update_organization_report_data<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_data_request: Option<UpdateOrganizationReportDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportDataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update_organization_report_data<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_data_request: Option<UpdateOrganizationReportDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportDataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PATCH /reports/organizations/{organizationId}/data/report/{reportId}
Source§fn update_organization_report_summary<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_summary_request: Option<UpdateOrganizationReportSummaryRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportSummaryError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update_organization_report_summary<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_summary_request: Option<UpdateOrganizationReportSummaryRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportSummaryError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PATCH /reports/organizations/{organizationId}/data/summary/{reportId}