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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
//
// -----------------------------------------------------------------------------
// THIS FILE WAS @generated AUTOMATICALLY. DO NOT MODIFY THIS FILE MANUALLY.
// -----------------------------------------------------------------------------
//
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, Hash, ooxmlsdk_derive::SdkEnum)]
pub enum ModelTimeGroupingContentType {
#[sdk(rename = "years")]
#[default]
Years,
#[sdk(rename = "quarters")]
Quarters,
#[sdk(rename = "monthsindex")]
Monthsindex,
#[sdk(rename = "months")]
Months,
#[sdk(rename = "daysindex")]
Daysindex,
#[sdk(rename = "days")]
Days,
#[sdk(rename = "hours")]
Hours,
#[sdk(rename = "minutes")]
Minutes,
#[sdk(rename = "seconds")]
Seconds,
}
/// Defines the ModelTimeGroupings Class.
///
/// Available in Office2016 and above.
///
/// When the object is serialized out as xml, it's qualified name is x16:modelTimeGroupings.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "x16:CT_ModelTimeGroupings/x16:modelTimeGroupings")]
pub struct ModelTimeGroupings {
/// _
#[sdk(child(qname = "x16:CT_ModelTimeGrouping/x16:modelTimeGrouping"))]
pub x16_model_time_grouping: Vec<ModelTimeGrouping>,
}
/// Defines the ModelTimeGrouping Class.
///
/// Available in Office2016 and above.
///
/// When the object is serialized out as xml, it's qualified name is x16:modelTimeGrouping.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "x16:CT_ModelTimeGrouping/x16:modelTimeGrouping")]
pub struct ModelTimeGrouping {
/// tableName
///
/// Available in Office2016 and above.
///
/// Represents the following attribute in the schema: :tableName
#[sdk(attr(qname = ":tableName"))]
pub table_name: crate::simple_type::StringValue,
/// columnName
///
/// Available in Office2016 and above.
///
/// Represents the following attribute in the schema: :columnName
#[sdk(attr(qname = ":columnName"))]
pub column_name: crate::simple_type::StringValue,
/// columnId
///
/// Available in Office2016 and above.
///
/// Represents the following attribute in the schema: :columnId
#[sdk(attr(qname = ":columnId"))]
pub column_id: crate::simple_type::StringValue,
/// _
#[sdk(child(qname = "x16:CT_CalculatedTimeColumn/x16:calculatedTimeColumn"))]
pub x16_calculated_time_column: Vec<CalculatedTimeColumn>,
}
/// Defines the CalculatedTimeColumn Class.
///
/// Available in Office2016 and above.
///
/// When the object is serialized out as xml, it's qualified name is x16:calculatedTimeColumn.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "x16:CT_CalculatedTimeColumn/x16:calculatedTimeColumn")]
pub struct CalculatedTimeColumn {
/// columnName
///
/// Available in Office2016 and above.
///
/// Represents the following attribute in the schema: :columnName
#[sdk(attr(qname = ":columnName"))]
pub column_name: crate::simple_type::StringValue,
/// columnId
///
/// Available in Office2016 and above.
///
/// Represents the following attribute in the schema: :columnId
#[sdk(attr(qname = ":columnId"))]
pub column_id: crate::simple_type::StringValue,
/// contentType
///
/// Available in Office2016 and above.
///
/// Represents the following attribute in the schema: :contentType
#[sdk(attr(qname = ":contentType"))]
pub content_type: ModelTimeGroupingContentType,
/// isSelected
///
/// Available in Office2016 and above.
///
/// Represents the following attribute in the schema: :isSelected
#[sdk(attr(qname = ":isSelected"))]
pub is_selected: crate::simple_type::BooleanValue,
}