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/currency_format.rs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/models/currency_format.rs') diff --git a/src/models/currency_format.rs b/src/models/currency_format.rs index 8831679..44a99aa 100644 --- a/src/models/currency_format.rs +++ b/src/models/currency_format.rs @@ -11,6 +11,7 @@ /// CurrencyFormat : The currency format setting for the budget. In some cases the format will not be available and will be specified as null. + #[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct CurrencyFormat { #[serde(rename = "iso_code")] @@ -35,14 +36,14 @@ impl CurrencyFormat { /// The currency format setting for the budget. In some cases the format will not be available and will be specified as null. pub fn new(iso_code: String, example_format: String, decimal_digits: i32, decimal_separator: String, symbol_first: bool, group_separator: String, currency_symbol: String, display_symbol: bool) -> CurrencyFormat { CurrencyFormat { - iso_code: iso_code, - example_format: example_format, - decimal_digits: decimal_digits, - decimal_separator: decimal_separator, - symbol_first: symbol_first, - group_separator: group_separator, - currency_symbol: currency_symbol, - display_symbol: display_symbol, + iso_code, + example_format, + decimal_digits, + decimal_separator, + symbol_first, + group_separator, + currency_symbol, + display_symbol, } } } -- cgit v1.2.3-54-g00ecf