diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-07 03:57:33 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-07 03:57:33 -0500 |
commit | a942c7c8e17eb829ef1581c0b556665784f19e33 (patch) | |
tree | ff391dc8d22860009bd06f77042cb74d6eb6c1f2 /src/models/hybrid_transaction_all_of.rs | |
parent | 4c94e5f9101c14bfc5c6989d11ea6c855c809f0b (diff) | |
download | ynab-api-a942c7c8e17eb829ef1581c0b556665784f19e33.tar.gz ynab-api-a942c7c8e17eb829ef1581c0b556665784f19e33.zip |
update openapi spec and regenerate with newer openapi-generator
the newer openapi-generator picks up fixes for optional parameters,
among other things
Diffstat (limited to 'src/models/hybrid_transaction_all_of.rs')
-rw-r--r-- | src/models/hybrid_transaction_all_of.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/models/hybrid_transaction_all_of.rs b/src/models/hybrid_transaction_all_of.rs index 7092a71..c5ff791 100644 --- a/src/models/hybrid_transaction_all_of.rs +++ b/src/models/hybrid_transaction_all_of.rs @@ -10,6 +10,7 @@ + #[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct HybridTransactionAllOf { /// Whether the hybrid transaction represents a regular transaction or a subtransaction @@ -29,9 +30,9 @@ pub struct HybridTransactionAllOf { impl HybridTransactionAllOf { pub fn new(_type: Type, account_name: String) -> HybridTransactionAllOf { HybridTransactionAllOf { - _type: _type, + _type, parent_transaction_id: None, - account_name: account_name, + account_name, payee_name: None, category_name: None, } |