// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeResourcesDeleteProtectionResponseBody extends $dara.Model { /** * @remarks * The name of the queried resource. * * This parameter is required. * * @example * arms-prom */ name?: string; /** * @remarks * The namespace of the queried resource. * * @example * default */ namespace?: string; /** * @remarks * The type of the queried resource. * * @example * namespaces */ resource?: string; /** * @remarks * Indicates whether deletion protection is enabled. * - true: enabled. * - false: disabled. * * @example * false */ protection?: boolean; static names(): { [key: string]: string } { return { name: 'name', namespace: 'namespace', resource: 'resource', protection: 'protection', }; } static types(): { [key: string]: any } { return { name: 'string', namespace: 'string', resource: 'string', protection: 'boolean', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DescribeResourcesDeleteProtectionResponse extends $dara.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DescribeResourcesDeleteProtectionResponseBody[]; 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': DescribeResourcesDeleteProtectionResponseBody }, }; } 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); } }