// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListServicesResponseBodyServices extends $dara.Model { /** * @remarks * The extended information. * * @example * {"language":"java"} */ attributes?: string; /** * @remarks * The creation time. * * @example * 2025-07-01T02:23:59Z */ createTime?: string; /** * @remarks * The service description. This parameter is valid only when serviceType is set to RUM. * * @example * workspace api monitor test */ description?: string; /** * @remarks * The display name. This parameter is valid only when serviceType is set to RUM. * * @example * test */ displayName?: string; /** * @remarks * The ARMS application ID for backward compatibility. * * @example * kgcsf@192197e828d51aa */ pid?: string; /** * @remarks * The resource group ID. * * @example * rg-aekxxzuad5zzzz */ resourceGroupId?: string; /** * @remarks * The service ID. * * @example * jm2pl0yoqf@d4905cb11a4f218dfb0a8 */ serviceId?: string; /** * @remarks * The service name. * * @example * demo-app */ serviceName?: string; /** * @remarks * The service status. This parameter is valid only when serviceType is set to RUM. * * @example * Running */ serviceStatus?: string; /** * @remarks * The service type. * * @example * TRACE */ serviceType?: string; /** * @remarks * The workspace. * * @example * default-cms-1192928460540589-cn-hangzhou */ workspace?: string; static names(): { [key: string]: string } { return { attributes: 'attributes', createTime: 'createTime', description: 'description', displayName: 'displayName', pid: 'pid', resourceGroupId: 'resourceGroupId', serviceId: 'serviceId', serviceName: 'serviceName', serviceStatus: 'serviceStatus', serviceType: 'serviceType', workspace: 'workspace', }; } static types(): { [key: string]: any } { return { attributes: 'string', createTime: 'string', description: 'string', displayName: 'string', pid: 'string', resourceGroupId: 'string', serviceId: 'string', serviceName: 'string', serviceStatus: 'string', serviceType: 'string', workspace: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListServicesResponseBody extends $dara.Model { /** * @remarks * The maximum number of entries returned. Maximum value: 200. * * @example * 10 */ maxResults?: number; /** * @remarks * The pagination token. * * @example * 2-ba4d-4b9f-aa24-dcb067a30f1c */ nextToken?: string; /** * @remarks * The request ID. * * @example * 0CEC5375-C554-562B-A65F-9A629907C1F0 */ requestId?: string; /** * @remarks * The list of service information. */ services?: ListServicesResponseBodyServices[]; /** * @remarks * The total number of entries. * * @example * 66 */ totalCount?: number; static names(): { [key: string]: string } { return { maxResults: 'maxResults', nextToken: 'nextToken', requestId: 'requestId', services: 'services', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { maxResults: 'number', nextToken: 'string', requestId: 'string', services: { 'type': 'array', 'itemType': ListServicesResponseBodyServices }, totalCount: 'number', }; } validate() { if(Array.isArray(this.services)) { $dara.Model.validateArray(this.services); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }