1alternate AltEnumBool
2    tag type
3    case e: EnumOne
4    case b: bool
5alternate AltEnumInt
6    tag type
7    case e: EnumOne
8    case i: int
9alternate AltEnumNum
10    tag type
11    case e: EnumOne
12    case n: number
13alternate AltIntNum
14    tag type
15    case i: int
16    case n: number
17alternate AltNumEnum
18    tag type
19    case n: number
20    case e: EnumOne
21alternate AltNumInt
22    tag type
23    case n: number
24    case i: int
25alternate AltStrObj
26    tag type
27    case s: str
28    case o: TestStruct
29event EVENT_A None
30   boxed=False
31event EVENT_B None
32   boxed=False
33event EVENT_C q_obj_EVENT_C-arg
34   boxed=False
35event EVENT_D q_obj_EVENT_D-arg
36   boxed=False
37event EVENT_E UserDefZero
38   boxed=True
39event EVENT_F UserDefAlternate
40   boxed=True
41object Empty1
42object Empty2
43    base Empty1
44enum EnumOne ['value1', 'value2', 'value3']
45object EventStructOne
46    member struct1: UserDefOne optional=False
47    member string: str optional=False
48    member enum2: EnumOne optional=True
49object ForceArrays
50    member unused1: UserDefOneList optional=False
51    member unused2: UserDefTwoList optional=False
52    member unused3: TestStructList optional=False
53enum MyEnum []
54object NestedEnumsOne
55    member enum1: EnumOne optional=False
56    member enum2: EnumOne optional=True
57    member enum3: EnumOne optional=False
58    member enum4: EnumOne optional=True
59enum QEnumTwo ['value1', 'value2']
60    prefix QENUM_TWO
61enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool']
62    prefix QTYPE
63object TestStruct
64    member integer: int optional=False
65    member boolean: bool optional=False
66    member string: str optional=False
67object UserDefA
68    member boolean: bool optional=False
69    member a_b: int optional=True
70alternate UserDefAlternate
71    tag type
72    case udfu: UserDefFlatUnion
73    case e: EnumOne
74    case i: int
75object UserDefB
76    member intb: int optional=False
77    member a-b: bool optional=True
78object UserDefC
79    member string1: str optional=False
80    member string2: str optional=False
81object UserDefFlatUnion
82    base UserDefUnionBase
83    tag enum1
84    case value1: UserDefA
85    case value2: UserDefB
86    case value3: UserDefB
87object UserDefFlatUnion2
88    base q_obj_UserDefFlatUnion2-base
89    tag enum1
90    case value1: UserDefC
91    case value2: UserDefB
92object UserDefNativeListUnion
93    member type: UserDefNativeListUnionKind optional=False
94    tag type
95    case integer: q_obj_intList-wrapper
96    case s8: q_obj_int8List-wrapper
97    case s16: q_obj_int16List-wrapper
98    case s32: q_obj_int32List-wrapper
99    case s64: q_obj_int64List-wrapper
100    case u8: q_obj_uint8List-wrapper
101    case u16: q_obj_uint16List-wrapper
102    case u32: q_obj_uint32List-wrapper
103    case u64: q_obj_uint64List-wrapper
104    case number: q_obj_numberList-wrapper
105    case boolean: q_obj_boolList-wrapper
106    case string: q_obj_strList-wrapper
107    case sizes: q_obj_sizeList-wrapper
108    case any: q_obj_anyList-wrapper
109enum UserDefNativeListUnionKind ['integer', 's8', 's16', 's32', 's64', 'u8', 'u16', 'u32', 'u64', 'number', 'boolean', 'string', 'sizes', 'any']
110object UserDefOne
111    base UserDefZero
112    member string: str optional=False
113    member enum1: EnumOne optional=True
114object UserDefOptions
115    member i64: intList optional=True
116    member u64: uint64List optional=True
117    member u16: uint16List optional=True
118    member i64x: int optional=True
119    member u64x: uint64 optional=True
120object UserDefTwo
121    member string0: str optional=False
122    member dict1: UserDefTwoDict optional=False
123object UserDefTwoDict
124    member string1: str optional=False
125    member dict2: UserDefTwoDictDict optional=False
126    member dict3: UserDefTwoDictDict optional=True
127object UserDefTwoDictDict
128    member userdef: UserDefOne optional=False
129    member string: str optional=False
130object UserDefUnionBase
131    base UserDefZero
132    member string: str optional=False
133    member enum1: EnumOne optional=False
134object UserDefZero
135    member integer: int optional=False
136object WrapAlternate
137    member alt: UserDefAlternate optional=False
138event __ORG.QEMU_X-EVENT __org.qemu_x-Struct
139   boxed=False
140alternate __org.qemu_x-Alt
141    tag type
142    case __org.qemu_x-branch: str
143    case b: __org.qemu_x-Base
144object __org.qemu_x-Base
145    member __org.qemu_x-member1: __org.qemu_x-Enum optional=False
146enum __org.qemu_x-Enum ['__org.qemu_x-value']
147object __org.qemu_x-Struct
148    base __org.qemu_x-Base
149    member __org.qemu_x-member2: str optional=False
150    member wchar-t: int optional=True
151object __org.qemu_x-Struct2
152    member array: __org.qemu_x-Union1List optional=False
153object __org.qemu_x-Union1
154    member type: __org.qemu_x-Union1Kind optional=False
155    tag type
156    case __org.qemu_x-branch: q_obj_str-wrapper
157enum __org.qemu_x-Union1Kind ['__org.qemu_x-branch']
158object __org.qemu_x-Union2
159    base __org.qemu_x-Base
160    tag __org.qemu_x-member1
161    case __org.qemu_x-value: __org.qemu_x-Struct2
162command __org.qemu_x-command q_obj___org.qemu_x-command-arg -> __org.qemu_x-Union1
163   gen=True success_response=True boxed=False
164command boxed-struct UserDefZero -> None
165   gen=True success_response=True boxed=True
166command boxed-union UserDefNativeListUnion -> None
167   gen=True success_response=True boxed=True
168command guest-get-time q_obj_guest-get-time-arg -> int
169   gen=True success_response=True boxed=False
170command guest-sync q_obj_guest-sync-arg -> any
171   gen=True success_response=True boxed=False
172object q_empty
173object q_obj_EVENT_C-arg
174    member a: int optional=True
175    member b: UserDefOne optional=True
176    member c: str optional=False
177object q_obj_EVENT_D-arg
178    member a: EventStructOne optional=False
179    member b: str optional=False
180    member c: str optional=True
181    member enum3: EnumOne optional=True
182object q_obj_UserDefFlatUnion2-base
183    member integer: int optional=True
184    member string: str optional=False
185    member enum1: QEnumTwo optional=False
186object q_obj___org.qemu_x-command-arg
187    member a: __org.qemu_x-EnumList optional=False
188    member b: __org.qemu_x-StructList optional=False
189    member c: __org.qemu_x-Union2 optional=False
190    member d: __org.qemu_x-Alt optional=False
191object q_obj_anyList-wrapper
192    member data: anyList optional=False
193object q_obj_boolList-wrapper
194    member data: boolList optional=False
195object q_obj_guest-get-time-arg
196    member a: int optional=False
197    member b: int optional=True
198object q_obj_guest-sync-arg
199    member arg: any optional=False
200object q_obj_int16List-wrapper
201    member data: int16List optional=False
202object q_obj_int32List-wrapper
203    member data: int32List optional=False
204object q_obj_int64List-wrapper
205    member data: int64List optional=False
206object q_obj_int8List-wrapper
207    member data: int8List optional=False
208object q_obj_intList-wrapper
209    member data: intList optional=False
210object q_obj_numberList-wrapper
211    member data: numberList optional=False
212object q_obj_sizeList-wrapper
213    member data: sizeList optional=False
214object q_obj_str-wrapper
215    member data: str optional=False
216object q_obj_strList-wrapper
217    member data: strList optional=False
218object q_obj_uint16List-wrapper
219    member data: uint16List optional=False
220object q_obj_uint32List-wrapper
221    member data: uint32List optional=False
222object q_obj_uint64List-wrapper
223    member data: uint64List optional=False
224object q_obj_uint8List-wrapper
225    member data: uint8List optional=False
226object q_obj_user_def_cmd1-arg
227    member ud1a: UserDefOne optional=False
228object q_obj_user_def_cmd2-arg
229    member ud1a: UserDefOne optional=False
230    member ud1b: UserDefOne optional=True
231command user_def_cmd None -> None
232   gen=True success_response=True boxed=False
233command user_def_cmd0 Empty2 -> Empty2
234   gen=True success_response=True boxed=False
235command user_def_cmd1 q_obj_user_def_cmd1-arg -> None
236   gen=True success_response=True boxed=False
237command user_def_cmd2 q_obj_user_def_cmd2-arg -> UserDefTwo
238   gen=True success_response=True boxed=False
239