-
Notifications
You must be signed in to change notification settings - Fork 10
/
structs.go
180 lines (114 loc) · 4.02 KB
/
structs.go
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
package queue_countplanner_reply
//import "encoding/xml"
type QueueCountPlannerReply struct {
// XMLName xml.Name `xml:"http://xml.amadeus.com/QCDDRR_03_1_1A Queue_CountPlannerReply"`
ErrorReturn *ErrorReturn `xml:"errorReturn,omitempty"` // minOccurs="0"
DisplayTarget *DisplayTarget `xml:"displayTarget,omitempty"` // minOccurs="0"
}
type ErrorReturn struct {
ErrorDefinition *ErrorDefinition `xml:"errorDefinition"`
ErrorText *ErrorText `xml:"errorText,omitempty"` // minOccurs="0"
}
type ErrorDefinition struct {
ErrorDetails *ErrorDetails `xml:"errorDetails"`
}
type ErrorDetails struct {
// Format limitations: an..3
ErrorCode string `xml:"errorCode"`
// Format limitations: an..3
ErrorCategory string `xml:"errorCategory,omitempty"` // minOccurs="0"
// Format limitations: an..3
ErrorCodeOwner string `xml:"errorCodeOwner,omitempty"` // minOccurs="0"
}
type ErrorText struct {
FreeTextDetails *FreeTextDetails `xml:"freeTextDetails,omitempty"` // minOccurs="0"
// Format limitations: an..199
FreeText []string `xml:"freeText"` // maxOccurs="99"
}
type FreeTextDetails struct {
// Format limitations: an..3
TextSubjectQualifier string `xml:"textSubjectQualifier"`
// Format limitations: an..3
Source string `xml:"source,omitempty"` // minOccurs="0"
// Format limitations: an..3
Encoding string `xml:"encoding,omitempty"` // minOccurs="0"
}
type DisplayTarget struct {
LocalDateAndTime *LocalDateAndTime `xml:"localDateAndTime"`
TargetOffice *TargetOffice `xml:"targetOffice"`
DisplayType *DisplayType `xml:"displayType,omitempty"` // minOccurs="0"
HourlyOrDailyCount []*HourlyOrDailyCount `xml:"hourlyOrDailyCount"` // maxOccurs="33"
}
type LocalDateAndTime struct {
DateTime *DateTime `xml:"dateTime"`
}
type DateTime struct {
// Format limitations: n..6
Year float64 `xml:"year"`
// Format limitations: n..2
Month float64 `xml:"month"`
// Format limitations: n..2
Day float64 `xml:"day"`
// Format limitations: n..6
Hour float64 `xml:"hour"`
// Format limitations: n..6
Minutes float64 `xml:"minutes"`
}
type TargetOffice struct {
SourceType *SourceType `xml:"sourceType"`
OriginatorDetails *OriginatorDetails `xml:"originatorDetails"`
}
type SourceType struct {
// Format limitations: an..3
SourceQualifier1 string `xml:"sourceQualifier1"`
}
type OriginatorDetails struct {
// Format limitations: an..9
InHouseIdentification1 string `xml:"inHouseIdentification1"`
}
type DisplayType struct {
SelectionDetails *SelectionDetails `xml:"selectionDetails"`
}
type SelectionDetails struct {
// Format limitations: an..3
Option string `xml:"option"`
}
type HourlyOrDailyCount struct {
DateOrTimeRange *DateOrTimeRange `xml:"dateOrTimeRange"`
Count []*Count `xml:"count"` // maxOccurs="4"
}
type DateOrTimeRange struct {
// Format limitations: an..3
BusinessSemantic string `xml:"businessSemantic,omitempty"` // minOccurs="0"
BeginDateTime *BeginDateTime `xml:"beginDateTime,omitempty"` // minOccurs="0"
EndDateTime *EndDateTime `xml:"endDateTime,omitempty"` // minOccurs="0"
}
type BeginDateTime struct {
// Format limitations: n..6
Year *float64 `xml:"year,omitempty"` // minOccurs="0"
// Format limitations: n..2
Month *float64 `xml:"month,omitempty"` // minOccurs="0"
// Format limitations: n..2
Day *float64 `xml:"day,omitempty"` // minOccurs="0"
// Format limitations: n..6
Hour *float64 `xml:"hour,omitempty"` // minOccurs="0"
}
type EndDateTime struct {
// Format limitations: n..6
Year *float64 `xml:"year,omitempty"` // minOccurs="0"
// Format limitations: n..2
Month *float64 `xml:"month,omitempty"` // minOccurs="0"
// Format limitations: n..2
Day *float64 `xml:"day,omitempty"` // minOccurs="0"
// Format limitations: n..6
Hour *float64 `xml:"hour,omitempty"` // minOccurs="0"
}
type Count struct {
QueueDetails *QueueDetails `xml:"queueDetails"`
}
type QueueDetails struct {
// Format limitations: n..15
NumberOfItems float64 `xml:"numberOfItems"`
// Format limitations: an..3
Status string `xml:"status,omitempty"` // minOccurs="0"
}