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 --- .../models/scheduled_transaction_detail_all_of.rs | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 ynab-api/src/models/scheduled_transaction_detail_all_of.rs (limited to 'ynab-api/src/models/scheduled_transaction_detail_all_of.rs') diff --git a/ynab-api/src/models/scheduled_transaction_detail_all_of.rs b/ynab-api/src/models/scheduled_transaction_detail_all_of.rs deleted file mode 100644 index cf7e6c7..0000000 --- a/ynab-api/src/models/scheduled_transaction_detail_all_of.rs +++ /dev/null @@ -1,40 +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 ScheduledTransactionDetailAllOf { - #[serde(rename = "account_name")] - pub account_name: String, - #[serde(rename = "payee_name")] - pub payee_name: String, - #[serde(rename = "category_name")] - pub category_name: String, - /// If a split scheduled transaction, the subtransactions. - #[serde(rename = "subtransactions")] - pub subtransactions: Vec<::models::ScheduledSubTransaction>, -} - -impl ScheduledTransactionDetailAllOf { - pub fn new(account_name: String, payee_name: String, category_name: String, subtransactions: Vec<::models::ScheduledSubTransaction>) -> ScheduledTransactionDetailAllOf { - ScheduledTransactionDetailAllOf { - account_name: account_name, - payee_name: payee_name, - category_name: category_name, - subtransactions: subtransactions, - } - } -} - - -- cgit v1.2.3-54-g00ecf