ynab_api_async_fork/models/
budget_detail_all_of.rs1#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct BudgetDetailAllOf {
16 #[serde(rename = "accounts", skip_serializing_if = "Option::is_none")]
17 pub accounts: Option<Vec<crate::models::Account>>,
18 #[serde(rename = "payees", skip_serializing_if = "Option::is_none")]
19 pub payees: Option<Vec<crate::models::Payee>>,
20 #[serde(rename = "payee_locations", skip_serializing_if = "Option::is_none")]
21 pub payee_locations: Option<Vec<crate::models::PayeeLocation>>,
22 #[serde(rename = "category_groups", skip_serializing_if = "Option::is_none")]
23 pub category_groups: Option<Vec<crate::models::CategoryGroup>>,
24 #[serde(rename = "categories", skip_serializing_if = "Option::is_none")]
25 pub categories: Option<Vec<crate::models::Category>>,
26 #[serde(rename = "months", skip_serializing_if = "Option::is_none")]
27 pub months: Option<Vec<crate::models::MonthDetail>>,
28 #[serde(rename = "transactions", skip_serializing_if = "Option::is_none")]
29 pub transactions: Option<Vec<crate::models::TransactionSummary>>,
30 #[serde(rename = "subtransactions", skip_serializing_if = "Option::is_none")]
31 pub subtransactions: Option<Vec<crate::models::SubTransaction>>,
32 #[serde(rename = "scheduled_transactions", skip_serializing_if = "Option::is_none")]
33 pub scheduled_transactions: Option<Vec<crate::models::ScheduledTransactionSummary>>,
34 #[serde(rename = "scheduled_subtransactions", skip_serializing_if = "Option::is_none")]
35 pub scheduled_subtransactions: Option<Vec<crate::models::ScheduledSubTransaction>>,
36}
37
38impl BudgetDetailAllOf {
39 pub fn new() -> BudgetDetailAllOf {
40 BudgetDetailAllOf {
41 accounts: None,
42 payees: None,
43 payee_locations: None,
44 category_groups: None,
45 categories: None,
46 months: None,
47 transactions: None,
48 subtransactions: None,
49 scheduled_transactions: None,
50 scheduled_subtransactions: None,
51 }
52 }
53}
54
55