// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class SearchTraceAppByNameRequestTags extends $dara.Model { /** * @remarks * The tag key. * * @example * TestKey */ key?: string; /** * @remarks * The tag value. * * @example * TestValue */ 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 SearchTraceAppByNameRequest extends $dara.Model { /** * @remarks * The region ID. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The list of tags. */ tags?: SearchTraceAppByNameRequestTags[]; /** * @remarks * The name of the application. * * > If you do not specify this parameter, all application monitoring tasks in the specified region are queried. * * @example * test-app */ traceAppName?: string; static names(): { [key: string]: string } { return { regionId: 'RegionId', tags: 'Tags', traceAppName: 'TraceAppName', }; } static types(): { [key: string]: any } { return { regionId: 'string', tags: { 'type': 'array', 'itemType': SearchTraceAppByNameRequestTags }, traceAppName: 'string', }; } validate() { if(Array.isArray(this.tags)) { $dara.Model.validateArray(this.tags); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }