From 4c94e5f9101c14bfc5c6989d11ea6c855c809f0b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 14 Sep 2019 14:19:01 -0400 Subject: update openapi spec --- src/models/update_transaction_all_of.rs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/models/update_transaction_all_of.rs (limited to 'src/models/update_transaction_all_of.rs') diff --git a/src/models/update_transaction_all_of.rs b/src/models/update_transaction_all_of.rs new file mode 100644 index 0000000..774cc3f --- /dev/null +++ b/src/models/update_transaction_all_of.rs @@ -0,0 +1,27 @@ +/* + * 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 + */ + + + +#[derive(Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateTransactionAllOf { + #[serde(rename = "id")] + pub id: String, +} + +impl UpdateTransactionAllOf { + pub fn new(id: String) -> UpdateTransactionAllOf { + UpdateTransactionAllOf { + id: id, + } + } +} + + -- cgit v1.2.3-54-g00ecf