Sha256: d2963b27029c05f553db8e920df4e419452a8fc50f3b719711332840251afb90

Contents?: true

Size: 1.6 KB

Versions: 4

Compression:

Stored size: 1.6 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::Security::Mgmt::V2017_08_01_preview
  module Models
    #
    # Statistic information about the number of alerts per device during the
    # last period
    #
    class IoTSecurityAlertedDevice

      include MsRestAzure

      # @return [String] Name of the alert type
      attr_accessor :device_id

      # @return [Integer] the number of alerts raised for this device
      attr_accessor :alerts_count


      #
      # Mapper for IoTSecurityAlertedDevice class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'IoTSecurityAlertedDevice',
          type: {
            name: 'Composite',
            class_name: 'IoTSecurityAlertedDevice',
            model_properties: {
              device_id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'deviceId',
                type: {
                  name: 'String'
                }
              },
              alerts_count: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'alertsCount',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_security-0.19.0 lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb
azure_mgmt_security-0.18.2 lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb
azure_mgmt_security-0.18.1 lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb
azure_mgmt_security-0.18.0 lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb