Sha256: 5740c3b45560808ddddc651009df3022168716ada085d661da0a36bf7eb74395

Contents?: true

Size: 1.71 KB

Versions: 4

Compression:

Stored size: 1.71 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
    #
    # Severity metrics
    #
    class IoTSeverityMetrics

      include MsRestAzure

      # @return [Integer] count of high severity items
      attr_accessor :high

      # @return [Integer] count of medium severity items
      attr_accessor :medium

      # @return [Integer] count of low severity items
      attr_accessor :low


      #
      # Mapper for IoTSeverityMetrics class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'IoTSeverityMetrics',
          type: {
            name: 'Composite',
            class_name: 'IoTSeverityMetrics',
            model_properties: {
              high: {
                client_side_validation: true,
                required: false,
                serialized_name: 'high',
                type: {
                  name: 'Number'
                }
              },
              medium: {
                client_side_validation: true,
                required: false,
                serialized_name: 'medium',
                type: {
                  name: 'Number'
                }
              },
              low: {
                client_side_validation: true,
                required: false,
                serialized_name: 'low',
                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_tseverity_metrics.rb
azure_mgmt_security-0.18.2 lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tseverity_metrics.rb
azure_mgmt_security-0.18.1 lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tseverity_metrics.rb
azure_mgmt_security-0.18.0 lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tseverity_metrics.rb