// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DeletePluginRequestTag extends $dara.Model { /** * @remarks * The key of the tag. * * N can be an integer from 1 to 20.`` * * This parameter is required. * * @example * env */ key?: string; /** * @remarks * The value of the tag. * * N can be an integer from 1 to 20.`` * * This parameter is required. * * @example * \\" \\" */ value?: string; static names(): { [key: string]: string } { return { key: 'Key', value: 'Value', }; } static types(): { [key: string]: any } { return { key: 'string', value: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DeletePluginRequest extends $dara.Model { /** * @remarks * The ID of the plug-in to be deleted. * * This parameter is required. * * @example * 9a3f1a5279434f2ba74ccd91c295af9f */ pluginId?: string; securityToken?: string; /** * @remarks * The tag of objects that match the rule. You can specify multiple tags. */ tag?: DeletePluginRequestTag[]; static names(): { [key: string]: string } { return { pluginId: 'PluginId', securityToken: 'SecurityToken', tag: 'Tag', }; } static types(): { [key: string]: any } { return { pluginId: 'string', securityToken: 'string', tag: { 'type': 'array', 'itemType': DeletePluginRequestTag }, }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }