From bf82a8196f32c7c79a5060f60b269619886c34d2 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 19 Aug 2019 00:46:51 -0400 Subject: move ynab-api to its own repository --- .../src/models/budget_summary_response_data.rs | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 ynab-api/src/models/budget_summary_response_data.rs (limited to 'ynab-api/src/models/budget_summary_response_data.rs') diff --git a/ynab-api/src/models/budget_summary_response_data.rs b/ynab-api/src/models/budget_summary_response_data.rs deleted file mode 100644 index f6bec05..0000000 --- a/ynab-api/src/models/budget_summary_response_data.rs +++ /dev/null @@ -1,33 +0,0 @@ -/* - * YNAB API Endpoints - * - * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.youneedabudget.com - * - * The version of the OpenAPI document: 1.0.0 - * - * Generated by: https://openapi-generator.tech - */ - - -#[allow(unused_imports)] -use serde_json::Value; - - -#[derive(Debug, Serialize, Deserialize)] -pub struct BudgetSummaryResponseData { - #[serde(rename = "budgets")] - pub budgets: Vec<::models::BudgetSummary>, - #[serde(rename = "default_budget", skip_serializing_if = "Option::is_none")] - pub default_budget: Option<::models::BudgetSummary>, -} - -impl BudgetSummaryResponseData { - pub fn new(budgets: Vec<::models::BudgetSummary>) -> BudgetSummaryResponseData { - BudgetSummaryResponseData { - budgets: budgets, - default_budget: None, - } - } -} - - -- cgit v1.2.3-54-g00ecf