# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Monitor::Mgmt::V2018_04_16 module Models # # Action descriptor. # class Action include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction"] = "AlertingAction" def initialize @odatatype = "Action" end attr_accessor :odatatype # # Mapper for Action class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Action', type: { name: 'Composite', polymorphic_discriminator: 'odata.type', uber_parent: 'Action', class_name: 'Action', model_properties: { } } } end end end end