UNPKG

azure-arm-insights

Version:

Microsoft Azure Insights Management Client Library for node

59 lines (54 loc) 1.3 kB
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ 'use strict'; /** * @class * Initializes a new instance of the RuleCondition class. * @constructor * The condition that results in the alert rule being activated. * * @member {string} odatatype Polymorphic Discriminator * */ class RuleCondition { constructor() { } /** * Defines the metadata of RuleCondition * * @returns {object} metadata of RuleCondition * */ mapper() { return { required: false, serializedName: 'RuleCondition', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'odata.type', clientName: 'odatatype' }, uberParent: 'RuleCondition', className: 'RuleCondition', modelProperties: { odatatype: { required: true, serializedName: 'odata\\.type', type: { name: 'String' } } } } }; } } module.exports = RuleCondition;