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