From 4c94e5f9101c14bfc5c6989d11ea6c855c809f0b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 14 Sep 2019 14:19:01 -0400 Subject: update openapi spec --- src/apis/deprecated_api.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/apis/deprecated_api.rs') diff --git a/src/apis/deprecated_api.rs b/src/apis/deprecated_api.rs index a148248..aab34ff 100644 --- a/src/apis/deprecated_api.rs +++ b/src/apis/deprecated_api.rs @@ -13,7 +13,7 @@ use std::borrow::Borrow; use reqwest; -use super::{Error, configuration, urlencode}; +use super::{Error, configuration}; pub struct DeprecatedApiClient { configuration: Rc, @@ -28,15 +28,15 @@ impl DeprecatedApiClient { } pub trait DeprecatedApi { - fn bulk_create_transactions(&self, budget_id: &str, transactions: ::models::BulkTransactions) -> Result<::models::BulkResponse, Error>; + fn bulk_create_transactions(&self, budget_id: &str, transactions: crate::models::BulkTransactions) -> Result; } impl DeprecatedApi for DeprecatedApiClient { - fn bulk_create_transactions(&self, budget_id: &str, transactions: ::models::BulkTransactions) -> Result<::models::BulkResponse, Error> { + fn bulk_create_transactions(&self, budget_id: &str, transactions: crate::models::BulkTransactions) -> Result { let configuration: &configuration::Configuration = self.configuration.borrow(); let client = &configuration.client; - let uri_str = format!("{}/budgets/{budget_id}/transactions/bulk", configuration.base_path, budget_id=urlencode(budget_id)); + let uri_str = format!("{}/budgets/{budget_id}/transactions/bulk", configuration.base_path, budget_id=crate::apis::urlencode(budget_id)); let mut req_builder = client.post(uri_str.as_str()); if let Some(ref user_agent) = configuration.user_agent { -- cgit v1.2.3-54-g00ecf