Sha256: e04b30d862f62a91fc04deb2e517c7ac028cc9e3cc280e85a4eb84b286877488

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 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::V2019_08_01
  module Models
    #
    # Statistical information about the number of alerts per device during last
    # set number of days.
    #
    class IoTSecurityAlertedDevice

      include MsRestAzure

      # @return [String] Device identifier.
      attr_accessor :device_id

      # @return [Integer] 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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_security-0.19.0 lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb