Sha256: 0f5e66fde71c1e01eef3a857f48ab17b4711e034b21ae9f61b127e39eb5c98c1

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 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
    #
    # Model object.
    #
    #
    class IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem

      include MsRestAzure

      # @return [DateTime] Aggregation of IoT Security solution device alert
      # metrics by date.
      attr_accessor :date

      # @return [IoTSeverityMetrics] Device alert count by severity.
      attr_accessor :devices_metrics


      #
      # Mapper for
      # IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem class as
      # Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'IoTSecuritySolutionAnalyticsModelProperties_devicesMetricsItem',
          type: {
            name: 'Composite',
            class_name: 'IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem',
            model_properties: {
              date: {
                client_side_validation: true,
                required: false,
                serialized_name: 'date',
                type: {
                  name: 'DateTime'
                }
              },
              devices_metrics: {
                client_side_validation: true,
                required: false,
                serialized_name: 'devicesMetrics',
                type: {
                  name: 'Composite',
                  class_name: 'IoTSeverityMetrics'
                }
              }
            }
          }
        }
      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_solution_analytics_model_properties_devices_metrics_item.rb