// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DeleteAlertContactGroupResponseBody extends $dara.Model { /** * @remarks * Deletion status. * * * true: Deletion successful. * * false: Deletion failed. * * @example * true */ status?: boolean; /** * @remarks * The message returned when execution fails. * * @example * Delete contact group resource failed. */ msg?: string; /** * @remarks * Alert contact group ID. * * @example * 12345 */ contactGroupId?: string; static names(): { [key: string]: string } { return { status: 'status', msg: 'msg', contactGroupId: 'contact_group_id', }; } static types(): { [key: string]: any } { return { status: 'boolean', msg: 'string', contactGroupId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DeleteAlertContactGroupResponse extends $dara.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DeleteAlertContactGroupResponseBody[]; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: { 'type': 'array', 'itemType': DeleteAlertContactGroupResponseBody }, }; } validate() { if(this.headers) { $dara.Model.validateMap(this.headers); } if(Array.isArray(this.body)) { $dara.Model.validateArray(this.body); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }