// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class QueryAppMetadataResponseBody extends $dara.Model { /** * @remarks * The HTTP status code returned for the request. Valid values: * * * 2XX: The request is successful. * * 3XX: A redirection message is returned. * * 4XX: The request is invalid. * * 5XX: A server error occurs. * * @example * 200 */ code?: number; /** * @remarks * The returned struct. * * @example * {\\"408d5533\\": \\"SELECT * FROM user_base_info\\"} */ data?: { [key: string]: any }; /** * @remarks * The HTTP status code returned. * * @example * 200 */ httpStatusCode?: number; /** * @remarks * The ID of the request. * * @example * 51877BAC-330C-5845-BDFD-C7859AD33FB7 */ requestId?: string; /** * @remarks * Indicates whether the call was successful. Valid values: * * * `true`: The call was successful. * * `false`: The call failed. * * @example * True */ success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', httpStatusCode: 'HttpStatusCode', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'number', data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' }, httpStatusCode: 'number', requestId: 'string', success: 'boolean', }; } validate() { if(this.data) { $dara.Model.validateMap(this.data); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }