// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListGrafanaWorkspaceRequestTags 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 ListGrafanaWorkspaceRequest extends $dara.Model { /** * @remarks * The language. Valid values: zh and en. Default value: zh. * * @example * zh */ aliyunLang?: string; /** * @remarks * The region ID. Default value: cn-hangzhou. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The ID of the resource group to which the Prometheus instance belongs. * * @example * rg-acfmxyexli2**** */ resourceGroupId?: string; /** * @remarks * The tags. */ tags?: ListGrafanaWorkspaceRequestTags[]; static names(): { [key: string]: string } { return { aliyunLang: 'AliyunLang', regionId: 'RegionId', resourceGroupId: 'ResourceGroupId', tags: 'Tags', }; } static types(): { [key: string]: any } { return { aliyunLang: 'string', regionId: 'string', resourceGroupId: 'string', tags: { 'type': 'array', 'itemType': ListGrafanaWorkspaceRequestTags }, }; } validate() { if(Array.isArray(this.tags)) { $dara.Model.validateArray(this.tags); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }