aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/month_detail_all_of.rs
blob: 0f07326075f66a53be9b5fb2d5a31771b518a221 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * 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
 */


#[allow(unused_imports)]
use serde_json::Value;


#[derive(Debug, Serialize, Deserialize)]
pub struct MonthDetailAllOf {
    /// The budget month categories.  Amounts (budgeted, activity, balance, etc.) are specific to the {month} parameter specified.
    #[serde(rename = "categories")]
    pub categories: Vec<::models::Category>,
}

impl MonthDetailAllOf {
    pub fn new(categories: Vec<::models::Category>) -> MonthDetailAllOf {
        MonthDetailAllOf {
            categories: categories,
        }
    }
}