aboutsummaryrefslogtreecommitdiffstats
path: root/ynab-api/src/models/budget_detail_all_of.rs
blob: 90a621e3ed29a4607c00ee5f38479914065c1375 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
 * 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 BudgetDetailAllOf {
    #[serde(rename = "accounts", skip_serializing_if = "Option::is_none")]
    pub accounts: Option<Vec<::models::Account>>,
    #[serde(rename = "payees", skip_serializing_if = "Option::is_none")]
    pub payees: Option<Vec<::models::Payee>>,
    #[serde(rename = "payee_locations", skip_serializing_if = "Option::is_none")]
    pub payee_locations: Option<Vec<::models::PayeeLocation>>,
    #[serde(rename = "category_groups", skip_serializing_if = "Option::is_none")]
    pub category_groups: Option<Vec<::models::CategoryGroup>>,
    #[serde(rename = "categories", skip_serializing_if = "Option::is_none")]
    pub categories: Option<Vec<::models::Category>>,
    #[serde(rename = "months", skip_serializing_if = "Option::is_none")]
    pub months: Option<Vec<::models::MonthDetail>>,
    #[serde(rename = "transactions", skip_serializing_if = "Option::is_none")]
    pub transactions: Option<Vec<::models::TransactionSummary>>,
    #[serde(rename = "subtransactions", skip_serializing_if = "Option::is_none")]
    pub subtransactions: Option<Vec<::models::SubTransaction>>,
    #[serde(rename = "scheduled_transactions", skip_serializing_if = "Option::is_none")]
    pub scheduled_transactions: Option<Vec<::models::ScheduledTransactionSummary>>,
    #[serde(rename = "scheduled_subtransactions", skip_serializing_if = "Option::is_none")]
    pub scheduled_subtransactions: Option<Vec<::models::ScheduledSubTransaction>>,
}

impl BudgetDetailAllOf {
    pub fn new() -> BudgetDetailAllOf {
        BudgetDetailAllOf {
            accounts: None,
            payees: None,
            payee_locations: None,
            category_groups: None,
            categories: None,
            months: None,
            transactions: None,
            subtransactions: None,
            scheduled_transactions: None,
            scheduled_subtransactions: None,
        }
    }
}