1object :empty
2object :obj-EVENT_C-arg
3    member a: int optional=True
4    member b: UserDefOne optional=True
5    member c: str optional=False
6object :obj-EVENT_D-arg
7    member a: EventStructOne optional=False
8    member b: str optional=False
9    member c: str optional=True
10    member enum3: EnumOne optional=True
11object :obj-__org.qemu_x-command-arg
12    member a: __org.qemu_x-EnumList optional=False
13    member b: __org.qemu_x-StructList optional=False
14    member c: __org.qemu_x-Union2 optional=False
15    member d: __org.qemu_x-Alt optional=False
16object :obj-anyList-wrapper
17    member data: anyList optional=False
18object :obj-boolList-wrapper
19    member data: boolList optional=False
20object :obj-guest-get-time-arg
21    member a: int optional=False
22    member b: int optional=True
23object :obj-guest-sync-arg
24    member arg: any optional=False
25object :obj-int16List-wrapper
26    member data: int16List optional=False
27object :obj-int32List-wrapper
28    member data: int32List optional=False
29object :obj-int64List-wrapper
30    member data: int64List optional=False
31object :obj-int8List-wrapper
32    member data: int8List optional=False
33object :obj-intList-wrapper
34    member data: intList optional=False
35object :obj-numberList-wrapper
36    member data: numberList optional=False
37object :obj-sizeList-wrapper
38    member data: sizeList optional=False
39object :obj-str-wrapper
40    member data: str optional=False
41object :obj-strList-wrapper
42    member data: strList optional=False
43object :obj-uint16List-wrapper
44    member data: uint16List optional=False
45object :obj-uint32List-wrapper
46    member data: uint32List optional=False
47object :obj-uint64List-wrapper
48    member data: uint64List optional=False
49object :obj-uint8List-wrapper
50    member data: uint8List optional=False
51object :obj-user_def_cmd1-arg
52    member ud1a: UserDefOne optional=False
53object :obj-user_def_cmd2-arg
54    member ud1a: UserDefOne optional=False
55    member ud1b: UserDefOne optional=True
56alternate AltIntNum
57    case i: int
58    case n: number
59enum AltIntNumKind ['i', 'n']
60alternate AltNumInt
61    case n: number
62    case i: int
63enum AltNumIntKind ['n', 'i']
64alternate AltNumStr
65    case n: number
66    case s: str
67enum AltNumStrKind ['n', 's']
68alternate AltStrBool
69    case s: str
70    case b: bool
71enum AltStrBoolKind ['s', 'b']
72alternate AltStrInt
73    case s: str
74    case i: int
75enum AltStrIntKind ['s', 'i']
76alternate AltStrNum
77    case s: str
78    case n: number
79enum AltStrNumKind ['s', 'n']
80event EVENT_A None
81event EVENT_B None
82event EVENT_C :obj-EVENT_C-arg
83event EVENT_D :obj-EVENT_D-arg
84object Empty1
85object Empty2
86    base Empty1
87enum EnumOne ['value1', 'value2', 'value3']
88object EventStructOne
89    member struct1: UserDefOne optional=False
90    member string: str optional=False
91    member enum2: EnumOne optional=True
92object ForceArrays
93    member unused1: UserDefOneList optional=False
94    member unused2: UserDefTwoList optional=False
95    member unused3: TestStructList optional=False
96enum MyEnum []
97object NestedEnumsOne
98    member enum1: EnumOne optional=False
99    member enum2: EnumOne optional=True
100    member enum3: EnumOne optional=False
101    member enum4: EnumOne optional=True
102enum QEnumTwo ['value1', 'value2']
103    prefix QENUM_TWO
104object TestStruct
105    member integer: int optional=False
106    member boolean: bool optional=False
107    member string: str optional=False
108object UserDefA
109    member boolean: bool optional=False
110    member a_b: int optional=True
111alternate UserDefAlternate
112    case uda: UserDefA
113    case s: str
114    case i: int
115enum UserDefAlternateKind ['uda', 's', 'i']
116object UserDefB
117    member intb: int optional=False
118    member a-b: bool optional=True
119object UserDefC
120    member string1: str optional=False
121    member string2: str optional=False
122object UserDefFlatUnion
123    base UserDefUnionBase
124    tag enum1
125    case value1: UserDefA
126    case value2: UserDefB
127    case value3: UserDefB
128object UserDefFlatUnion2
129    base UserDefUnionBase
130    tag enum1
131    case value1: UserDefC
132    case value2: UserDefB
133    case value3: UserDefA
134object UserDefNativeListUnion
135    case integer: :obj-intList-wrapper
136    case s8: :obj-int8List-wrapper
137    case s16: :obj-int16List-wrapper
138    case s32: :obj-int32List-wrapper
139    case s64: :obj-int64List-wrapper
140    case u8: :obj-uint8List-wrapper
141    case u16: :obj-uint16List-wrapper
142    case u32: :obj-uint32List-wrapper
143    case u64: :obj-uint64List-wrapper
144    case number: :obj-numberList-wrapper
145    case boolean: :obj-boolList-wrapper
146    case string: :obj-strList-wrapper
147    case sizes: :obj-sizeList-wrapper
148    case any: :obj-anyList-wrapper
149enum UserDefNativeListUnionKind ['integer', 's8', 's16', 's32', 's64', 'u8', 'u16', 'u32', 'u64', 'number', 'boolean', 'string', 'sizes', 'any']
150object UserDefOne
151    base UserDefZero
152    member string: str optional=False
153    member enum1: EnumOne optional=True
154object UserDefOptions
155    member i64: intList optional=True
156    member u64: uint64List optional=True
157    member u16: uint16List optional=True
158    member i64x: int optional=True
159    member u64x: uint64 optional=True
160object UserDefTwo
161    member string0: str optional=False
162    member dict1: UserDefTwoDict optional=False
163object UserDefTwoDict
164    member string1: str optional=False
165    member dict2: UserDefTwoDictDict optional=False
166    member dict3: UserDefTwoDictDict optional=True
167object UserDefTwoDictDict
168    member userdef: UserDefOne optional=False
169    member string: str optional=False
170object UserDefUnionBase
171    base UserDefZero
172    member string: str optional=False
173    member enum1: EnumOne optional=False
174object UserDefZero
175    member integer: int optional=False
176event __ORG.QEMU_X-EVENT __org.qemu_x-Struct
177alternate __org.qemu_x-Alt
178    case __org.qemu_x-branch: str
179    case b: __org.qemu_x-Base
180enum __org.qemu_x-AltKind ['__org.qemu_x-branch', 'b']
181object __org.qemu_x-Base
182    member __org.qemu_x-member1: __org.qemu_x-Enum optional=False
183enum __org.qemu_x-Enum ['__org.qemu_x-value']
184object __org.qemu_x-Struct
185    base __org.qemu_x-Base
186    member __org.qemu_x-member2: str optional=False
187object __org.qemu_x-Struct2
188    member array: __org.qemu_x-Union1List optional=False
189object __org.qemu_x-Union1
190    case __org.qemu_x-branch: :obj-str-wrapper
191enum __org.qemu_x-Union1Kind ['__org.qemu_x-branch']
192object __org.qemu_x-Union2
193    base __org.qemu_x-Base
194    tag __org.qemu_x-member1
195    case __org.qemu_x-value: __org.qemu_x-Struct2
196command __org.qemu_x-command :obj-__org.qemu_x-command-arg -> __org.qemu_x-Union1
197   gen=True success_response=True
198command guest-get-time :obj-guest-get-time-arg -> int
199   gen=True success_response=True
200command guest-sync :obj-guest-sync-arg -> any
201   gen=True success_response=True
202command user_def_cmd None -> None
203   gen=True success_response=True
204command user_def_cmd1 :obj-user_def_cmd1-arg -> None
205   gen=True success_response=True
206command user_def_cmd2 :obj-user_def_cmd2-arg -> UserDefTwo
207   gen=True success_response=True
208