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/date_format.rs | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 ynab-api/src/models/date_format.rs (limited to 'ynab-api/src/models/date_format.rs') diff --git a/ynab-api/src/models/date_format.rs b/ynab-api/src/models/date_format.rs deleted file mode 100644 index cf88395..0000000 --- a/ynab-api/src/models/date_format.rs +++ /dev/null @@ -1,32 +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 - */ - -/// DateFormat : The date format setting for the budget. In some cases the format will not be available and will be specified as null. - -#[allow(unused_imports)] -use serde_json::Value; - - -#[derive(Debug, Serialize, Deserialize)] -pub struct DateFormat { - #[serde(rename = "format")] - pub format: String, -} - -impl DateFormat { - /// The date format setting for the budget. In some cases the format will not be available and will be specified as null. - pub fn new(format: String) -> DateFormat { - DateFormat { - format: format, - } - } -} - - -- cgit v1.2.3-54-g00ecf