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
84enum EnumOne ['value1', 'value2', 'value3']
85object EventStructOne
86    member struct1: UserDefOne optional=False
87    member string: str optional=False
88    member enum2: EnumOne optional=True
89object ForceArrays
90    member unused1: UserDefOneList optional=False
91    member unused2: UserDefTwoList optional=False
92enum MyEnum []
93object NestedEnumsOne
94    member enum1: EnumOne optional=False
95    member enum2: EnumOne optional=True
96    member enum3: EnumOne optional=False
97    member enum4: EnumOne optional=True
98enum QEnumTwo ['value1', 'value2']
99    prefix QENUM_TWO
100object UserDefA
101    member boolean: bool optional=False
102    member a_b: int optional=True
103alternate UserDefAlternate
104    case uda: UserDefA
105    case s: str
106    case i: int
107enum UserDefAlternateKind ['uda', 's', 'i']
108object UserDefB
109    member intb: int optional=False
110    member a-b: bool optional=True
111object UserDefC
112    member string1: str optional=False
113    member string2: str optional=False
114object UserDefFlatUnion
115    base UserDefUnionBase
116    tag enum1
117    case value1: UserDefA
118    case value2: UserDefB
119    case value3: UserDefB
120object UserDefFlatUnion2
121    base UserDefUnionBase
122    tag enum1
123    case value1: UserDefC
124    case value2: UserDefB
125    case value3: UserDefA
126object UserDefNativeListUnion
127    case integer: :obj-intList-wrapper
128    case s8: :obj-int8List-wrapper
129    case s16: :obj-int16List-wrapper
130    case s32: :obj-int32List-wrapper
131    case s64: :obj-int64List-wrapper
132    case u8: :obj-uint8List-wrapper
133    case u16: :obj-uint16List-wrapper
134    case u32: :obj-uint32List-wrapper
135    case u64: :obj-uint64List-wrapper
136    case number: :obj-numberList-wrapper
137    case boolean: :obj-boolList-wrapper
138    case string: :obj-strList-wrapper
139    case sizes: :obj-sizeList-wrapper
140    case any: :obj-anyList-wrapper
141enum UserDefNativeListUnionKind ['integer', 's8', 's16', 's32', 's64', 'u8', 'u16', 'u32', 'u64', 'number', 'boolean', 'string', 'sizes', 'any']
142object UserDefOne
143    base UserDefZero
144    member string: str optional=False
145    member enum1: EnumOne optional=True
146object UserDefOptions
147    member i64: intList optional=True
148    member u64: uint64List optional=True
149    member u16: uint16List optional=True
150    member i64x: int optional=True
151    member u64x: uint64 optional=True
152object UserDefTwo
153    member string0: str optional=False
154    member dict1: UserDefTwoDict optional=False
155object UserDefTwoDict
156    member string1: str optional=False
157    member dict2: UserDefTwoDictDict optional=False
158    member dict3: UserDefTwoDictDict optional=True
159object UserDefTwoDictDict
160    member userdef: UserDefOne optional=False
161    member string: str optional=False
162object UserDefUnionBase
163    base UserDefZero
164    member string: str optional=False
165    member enum1: EnumOne optional=False
166object UserDefZero
167    member integer: int optional=False
168event __ORG.QEMU_X-EVENT __org.qemu_x-Struct
169alternate __org.qemu_x-Alt
170    case __org.qemu_x-branch: str
171    case b: __org.qemu_x-Base
172enum __org.qemu_x-AltKind ['__org.qemu_x-branch', 'b']
173object __org.qemu_x-Base
174    member __org.qemu_x-member1: __org.qemu_x-Enum optional=False
175enum __org.qemu_x-Enum ['__org.qemu_x-value']
176object __org.qemu_x-Struct
177    base __org.qemu_x-Base
178    member __org.qemu_x-member2: str optional=False
179object __org.qemu_x-Struct2
180    member array: __org.qemu_x-Union1List optional=False
181object __org.qemu_x-Union1
182    case __org.qemu_x-branch: :obj-str-wrapper
183enum __org.qemu_x-Union1Kind ['__org.qemu_x-branch']
184object __org.qemu_x-Union2
185    base __org.qemu_x-Base
186    tag __org.qemu_x-member1
187    case __org.qemu_x-value: __org.qemu_x-Struct2
188command __org.qemu_x-command :obj-__org.qemu_x-command-arg -> __org.qemu_x-Union1
189   gen=True success_response=True
190command guest-get-time :obj-guest-get-time-arg -> int
191   gen=True success_response=True
192command guest-sync :obj-guest-sync-arg -> any
193   gen=True success_response=True
194command user_def_cmd None -> None
195   gen=True success_response=True
196command user_def_cmd1 :obj-user_def_cmd1-arg -> None
197   gen=True success_response=True
198command user_def_cmd2 :obj-user_def_cmd2-arg -> UserDefTwo
199   gen=True success_response=True
200