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