From a942c7c8e17eb829ef1581c0b556665784f19e33 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 7 Nov 2019 03:57:33 -0500 Subject: update openapi spec and regenerate with newer openapi-generator the newer openapi-generator picks up fixes for optional parameters, among other things --- src/models/scheduled_transaction_response_data.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/models/scheduled_transaction_response_data.rs') diff --git a/src/models/scheduled_transaction_response_data.rs b/src/models/scheduled_transaction_response_data.rs index 1cd7379..418dffb 100644 --- a/src/models/scheduled_transaction_response_data.rs +++ b/src/models/scheduled_transaction_response_data.rs @@ -10,6 +10,7 @@ + #[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct ScheduledTransactionResponseData { #[serde(rename = "scheduled_transaction")] @@ -19,7 +20,7 @@ pub struct ScheduledTransactionResponseData { impl ScheduledTransactionResponseData { pub fn new(scheduled_transaction: crate::models::ScheduledTransactionDetail) -> ScheduledTransactionResponseData { ScheduledTransactionResponseData { - scheduled_transaction: scheduled_transaction, + scheduled_transaction, } } } -- cgit v1.2.3-54-g00ecf