@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
52 lines • 1.2 kB
JavaScript
/**
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2020-Present Datadog, Inc.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Unit = void 0;
/**
* Object containing the metric unit family, scale factor, name, and short name.
*/
class Unit {
constructor() { }
/**
* @ignore
*/
static getAttributeTypeMap() {
return Unit.attributeTypeMap;
}
}
exports.Unit = Unit;
/**
* @ignore
*/
Unit.attributeTypeMap = {
family: {
baseName: "family",
type: "string",
},
name: {
baseName: "name",
type: "string",
},
plural: {
baseName: "plural",
type: "string",
},
scaleFactor: {
baseName: "scale_factor",
type: "number",
format: "double",
},
shortName: {
baseName: "short_name",
type: "string",
},
additionalProperties: {
baseName: "additionalProperties",
type: "{ [key: string]: any; }",
},
};
//# sourceMappingURL=Unit.js.map
;