@stordata/vsphere-soapify
Version:
A NodeJS abstraction layer for the vSphere SOAP API
20 lines (17 loc) • 560 B
JavaScript
;
const AlarmAction = require('./AlarmAction'),
Action = require('./Action'),
AlarmTriggeringActionTransitionSpec = require('./AlarmTriggeringActionTransitionSpec');
module.exports = class AlarmTriggeringAction extends AlarmAction {
static mappings() {
return {
...super.mappings(),
action: Action,
green2yellow: 'xsd:boolean',
red2yellow: 'xsd:boolean',
transitionSpecs: AlarmTriggeringActionTransitionSpec.ArrayOf,
yellow2green: 'xsd:boolean',
yellow2red: 'xsd:boolean'
};
}
};