import "../ApiClient-fBZ10h6n.mjs"; import { t as ServiceType } from "../ServiceType-aIzMRT54.mjs"; import "../ServerInstanceType-CwvVeo6m.mjs"; import { t as ServiceServiceState } from "../ServiceServiceState-C7RWhVk-.mjs"; import "../MetricTag-DEsnzwGm.mjs"; import "../Metric-K39dEbHg.mjs"; import "../ServerConfigLiveness-C62J7Tal.mjs"; import "../WorkerTaskRestartStrategy-CXYJhhQE.mjs"; import { t as ServerConfig_default } from "../ServerConfig-CiAgqjDW.mjs"; import { t as ServerInstance_default } from "../ServerInstance-CEx2p156.mjs"; //#region src/model/ServiceInstance.d.ts type IServiceInstance = { server: ServerInstance_default; /** * :model/Metric>} metrics */ "": Array; state: ServiceServiceState; id: string; type: ServiceType; createdAt: Date; updatedAt: Date; config: ServerConfig_default; props: any; seqId: number; }; /** * @typedef {Object} IServiceInstance * @property {ServerInstance} server * @property {Array.} metrics * @property {ServiceServiceState} state * @property {String} id * @property {ServiceType} type * @property {Date} createdAt * @property {Date} updatedAt * @property {Array.} events * @property {ServerConfig} config * @property {Object.} props * @property {Number} seqId */ /** * The ServiceInstance model module. * @module model/ServiceInstance * @type {IServiceInstance} */ declare class ServiceInstance { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any): void; /** * Constructs a ServiceInstance from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:model/ServiceInstance} obj Optional instance to populate. * @return {module:model/ServiceInstance} The populated ServiceInstance instance. */ static constructFromObject(data: any, obj: any): any; /** * Validates the JSON data with respect to ServiceInstance. * @param {Object} data The plain JavaScript object bearing properties of interest. * @return {boolean} to indicate whether the JSON data is valid with respect to ServiceInstance. */ static validateJSON(data: any): boolean; server: ServerInstance_default; metrics: any; state: ServiceServiceState; id: string; type: ServiceType; createdAt: Date; updatedAt: Date; events: any; config: ServerConfig_default; props: any; seqId: number; } //#endregion export { IServiceInstance, ServiceInstance as default };