pub struct MockOrganizationReportsApi {
OrganizationReportsApi_expectations: MockOrganizationReportsApi_OrganizationReportsApi,
}Fields§
§OrganizationReportsApi_expectations: MockOrganizationReportsApi_OrganizationReportsApiImplementations§
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_azure_validate_file(&mut self) -> &mut Expectation
pub fn expect_azure_validate_file(&mut self) -> &mut Expectation
Create an Expectation for mocking the azure_validate_file method
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_delete_organization_report(&mut self) -> &mut Expectation
pub fn expect_delete_organization_report(&mut self) -> &mut Expectation
Create an Expectation for mocking the delete_organization_report method
Sourcepub fn expect_download_report_file(&mut self) -> &mut Expectation
pub fn expect_download_report_file(&mut self) -> &mut Expectation
Create an Expectation for mocking the download_report_file 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_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_renew_file_upload_url(&mut self) -> &mut Expectation
pub fn expect_renew_file_upload_url(&mut self) -> &mut Expectation
Create an Expectation for mocking the renew_file_upload_url 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_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
Sourcepub fn expect_upload_report_file(&mut self) -> &mut Expectation
pub fn expect_upload_report_file(&mut self) -> &mut Expectation
Create an Expectation for mocking the upload_report_file 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 azure_validate_file<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn azure_validate_file<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
POST /reports/organizations/file/validate/azure
Source§fn create_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
add_organization_report_request_model: Option<AddOrganizationReportRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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_model: Option<AddOrganizationReportRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /reports/organizations/{organizationId}
Source§fn delete_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /reports/organizations/{organizationId}/{reportId}
Source§fn download_report_file<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn download_report_file<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/{reportId}/file/download
Source§fn get_latest_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + 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>> + 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>> + 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>> + 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>> + 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_summary<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + 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<Vec<OrganizationReportSummaryDataResponse>, Error>> + 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<Vec<OrganizationReportSummaryDataResponse>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/data/summary
Source§fn renew_file_upload_url<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
report_file_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationReportFileResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn renew_file_upload_url<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
report_file_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationReportFileResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/{reportId}/file/renew
Source§fn update_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_v2_request_model: Option<UpdateOrganizationReportV2RequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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: Uuid,
update_organization_report_v2_request_model: Option<UpdateOrganizationReportV2RequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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_model: Option<UpdateOrganizationReportApplicationDataRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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_model: Option<UpdateOrganizationReportApplicationDataRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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_summary<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_summary_request_model: Option<UpdateOrganizationReportSummaryRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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_model: Option<UpdateOrganizationReportSummaryRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PATCH /reports/organizations/{organizationId}/data/summary/{reportId}
Source§fn upload_report_file<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
report_file_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn upload_report_file<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
report_file_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /reports/organizations/{organizationId}/{reportId}/file