Sha256: d40d5de17e88bee7faeb039f30ada4af5dbd25b98498fc4f1fc69cb70c7cb440

Contents?: true

Size: 1.13 KB

Versions: 7

Compression:

Stored size: 1.13 KB

Contents

# 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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.17.6 lib/2018-04-16/generated/azure_mgmt_monitor/models/action.rb
azure_mgmt_monitor-0.17.5 lib/2018-04-16/generated/azure_mgmt_monitor/models/action.rb
azure_mgmt_monitor-0.17.4 lib/2018-04-16/generated/azure_mgmt_monitor/models/action.rb
azure_mgmt_monitor-0.17.3 lib/2018-04-16/generated/azure_mgmt_monitor/models/action.rb
azure_mgmt_monitor-0.17.2 lib/2018-04-16/generated/azure_mgmt_monitor/models/action.rb
azure_mgmt_monitor-0.17.1 lib/2018-04-16/generated/azure_mgmt_monitor/models/action.rb
azure_mgmt_monitor-0.17.0 lib/2018-04-16/generated/azure_mgmt_monitor/models/action.rb