// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class GetWorkspaceResponseBodyTags extends $dara.Model { /** * @remarks * The tag key. * * @example * key */ key?: string; /** * @remarks * The tag value. * * @example * value */ 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 GetWorkspaceResponseBody extends $dara.Model { /** * @remarks * The creation time. * * Use the UTC time format: yyyy-MM-ddTHH:mm:ss.SSSZ * * @example * 2025-03-11T08:21:58Z */ createTime?: string; /** * @remarks * The workspace description. * * @example * workspace test */ description?: string; /** * @remarks * The display name of the workspace. * * @example * workspace-test */ displayName?: string; /** * @remarks * The last modification time. * * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ * * @example * 2025-03-11T08:21:58Z */ lastModifyTime?: string; /** * @remarks * The region ID. * * @example * cn-heyuan */ regionId?: string; /** * @remarks * The request ID. * * @example * 264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC */ requestId?: string; /** * @remarks * The resource group ID. * * @example * rg-ae******ey */ resourceGroupId?: string; /** * @remarks * The Simple Log Service project name. * * @example * sls-project-test-001 */ slsProject?: string; /** * @remarks * The tags. */ tags?: GetWorkspaceResponseBodyTags[]; /** * @remarks * The workspace name. * * This parameter is required. * * @example * workspace-test-001 */ workspaceName?: string; static names(): { [key: string]: string } { return { createTime: 'createTime', description: 'description', displayName: 'displayName', lastModifyTime: 'lastModifyTime', regionId: 'regionId', requestId: 'requestId', resourceGroupId: 'resourceGroupId', slsProject: 'slsProject', tags: 'tags', workspaceName: 'workspaceName', }; } static types(): { [key: string]: any } { return { createTime: 'string', description: 'string', displayName: 'string', lastModifyTime: 'string', regionId: 'string', requestId: 'string', resourceGroupId: 'string', slsProject: 'string', tags: { 'type': 'array', 'itemType': GetWorkspaceResponseBodyTags }, workspaceName: 'string', }; } validate() { if(Array.isArray(this.tags)) { $dara.Model.validateArray(this.tags); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }