diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-09-14 14:19:01 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-09-14 14:39:29 -0400 |
commit | 4c94e5f9101c14bfc5c6989d11ea6c855c809f0b (patch) | |
tree | 4e4e7ba93d41eda4c8a4c5346c3e02fc88d8789d /src/apis/deprecated_api.rs | |
parent | a43423c5f36f8ff6642c9f6ad85800ab38758395 (diff) | |
download | ynab-api-4c94e5f9101c14bfc5c6989d11ea6c855c809f0b.tar.gz ynab-api-4c94e5f9101c14bfc5c6989d11ea6c855c809f0b.zip |
update openapi spec2.0.0
Diffstat (limited to 'src/apis/deprecated_api.rs')
-rw-r--r-- | src/apis/deprecated_api.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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<configuration::Configuration>, @@ -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<crate::models::BulkResponse, Error>; } 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<crate::models::BulkResponse, Error> { 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 { |