From aa52e632b866b51d455787a96bcd2f5a63b7ac89 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 19 Aug 2019 00:19:38 -0400 Subject: move ynab-api to its own repository --- ynab-api/src/models/budget_summary.rs | 51 ----------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 ynab-api/src/models/budget_summary.rs (limited to 'ynab-api/src/models/budget_summary.rs') diff --git a/ynab-api/src/models/budget_summary.rs b/ynab-api/src/models/budget_summary.rs deleted file mode 100644 index b380593..0000000 --- a/ynab-api/src/models/budget_summary.rs +++ /dev/null @@ -1,51 +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 BudgetSummary { - #[serde(rename = "id")] - pub id: String, - #[serde(rename = "name")] - pub name: String, - /// The last time any changes were made to the budget from either a web or mobile client - #[serde(rename = "last_modified_on", skip_serializing_if = "Option::is_none")] - pub last_modified_on: Option, - /// The earliest budget month - #[serde(rename = "first_month", skip_serializing_if = "Option::is_none")] - pub first_month: Option, - /// The latest budget month - #[serde(rename = "last_month", skip_serializing_if = "Option::is_none")] - pub last_month: Option, - #[serde(rename = "date_format", skip_serializing_if = "Option::is_none")] - pub date_format: Option<::models::DateFormat>, - #[serde(rename = "currency_format", skip_serializing_if = "Option::is_none")] - pub currency_format: Option<::models::CurrencyFormat>, -} - -impl BudgetSummary { - pub fn new(id: String, name: String) -> BudgetSummary { - BudgetSummary { - id: id, - name: name, - last_modified_on: None, - first_month: None, - last_month: None, - date_format: None, - currency_format: None, - } - } -} - - -- cgit v1.2.3-54-g00ecf