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