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