UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

82 lines (81 loc) 2.16 kB
import { ModelDefinition } from './BaseModels'; import { Log } from './Log'; export interface EndpointStatsInterface { hourInterval?: Date; count?: number; method?: string; execTime?: number; avgExecTime?: number; maxExecTime?: number; minExecTime?: number; contentLength?: number; avgContentLength?: number; maxContentLength?: number; minContentLength?: number; errorCount?: number; token?: string; tokenType?: string; customerId?: string; hostname?: string; taskname?: string; maxUploadTime?: number; minUploadTime?: number; avgUploadTime?: number; uploadTime?: number; uploadCount?: number; created?: Date; modified?: Date; deleted?: Date; id?: any; trackingLogs?: Log[]; } export declare class EndpointStats implements EndpointStatsInterface { hourInterval: Date; count: number; method: string; execTime: number; avgExecTime: number; maxExecTime: number; minExecTime: number; contentLength: number; avgContentLength: number; maxContentLength: number; minContentLength: number; errorCount: number; token: string; tokenType: string; customerId: string; hostname: string; taskname: string; maxUploadTime: number; minUploadTime: number; avgUploadTime: number; uploadTime: number; uploadCount: number; created: Date; modified: Date; deleted: Date; id: any; trackingLogs?: Log[]; constructor(data?: EndpointStatsInterface); /** * The name of the model represented by this $resource, * i.e. `EndpointStats`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of EndpointStats for dynamic purposes. */ static factory(data: EndpointStatsInterface): EndpointStats; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }