aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/category_group_with_categories_all_of.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-09-14 14:19:01 -0400
committerJesse Luehrs <doy@tozt.net>2019-09-14 14:39:29 -0400
commit4c94e5f9101c14bfc5c6989d11ea6c855c809f0b (patch)
tree4e4e7ba93d41eda4c8a4c5346c3e02fc88d8789d /src/models/category_group_with_categories_all_of.rs
parenta43423c5f36f8ff6642c9f6ad85800ab38758395 (diff)
downloadynab-api-4c94e5f9101c14bfc5c6989d11ea6c855c809f0b.tar.gz
ynab-api-4c94e5f9101c14bfc5c6989d11ea6c855c809f0b.zip
update openapi spec2.0.0
Diffstat (limited to 'src/models/category_group_with_categories_all_of.rs')
-rw-r--r--src/models/category_group_with_categories_all_of.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/models/category_group_with_categories_all_of.rs b/src/models/category_group_with_categories_all_of.rs
index f34d3bb..0820aef 100644
--- a/src/models/category_group_with_categories_all_of.rs
+++ b/src/models/category_group_with_categories_all_of.rs
@@ -9,19 +9,16 @@
*/
-#[allow(unused_imports)]
-use serde_json::Value;
-
-#[derive(Debug, Serialize, Deserialize)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct CategoryGroupWithCategoriesAllOf {
/// Category group categories. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC).
#[serde(rename = "categories")]
- pub categories: Vec<::models::Category>,
+ pub categories: Vec<crate::models::Category>,
}
impl CategoryGroupWithCategoriesAllOf {
- pub fn new(categories: Vec<::models::Category>) -> CategoryGroupWithCategoriesAllOf {
+ pub fn new(categories: Vec<crate::models::Category>) -> CategoryGroupWithCategoriesAllOf {
CategoryGroupWithCategoriesAllOf {
categories: categories,
}