UNPKG

wallee

Version:
44 lines (43 loc) 1.44 kB
/** * The metric usage provides details about the consumption of a particular metric. * @export * @interface MetricUsage */ export interface MetricUsage { /** * The number of consumed units. * @type {number} * @memberof MetricUsage */ readonly consumedUnits?: number; /** * The description of the consumed unit's metric. * @type {{ [key: string]: string; }} * @memberof MetricUsage */ readonly metricDescription?: { [key: string]: string; }; /** * The name of the consumed units' metric. * @type {{ [key: string]: string; }} * @memberof MetricUsage */ readonly metricName?: { [key: string]: string; }; /** * The ID of the consumed units' metric. * @type {number} * @memberof MetricUsage */ readonly metricId?: number; } /** * Check if a given object implements the MetricUsage interface. */ export declare function instanceOfMetricUsage(value: object): value is MetricUsage; export declare function MetricUsageFromJSON(json: any): MetricUsage; export declare function MetricUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricUsage; export declare function MetricUsageToJSON(json: any): MetricUsage; export declare function MetricUsageToJSONTyped(value?: Omit<MetricUsage, 'consumedUnits' | 'metricDescription' | 'metricName' | 'metricId'> | null, ignoreDiscriminator?: boolean): any;