Sha256: 7a41752f25de882e93fe68c669b3890faf7cebd016537f8fe6fdea496910d137

Contents?: true

Size: 1.67 KB

Versions: 3

Compression:

Stored size: 1.67 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::IotHub
  module Models
    #
    # The properties related to the registry statistics.
    #
    class RegistryStatistics

      include MsRestAzure

      # @return [Integer] The total device count.
      attr_accessor :total_device_count

      # @return [Integer] The enabled device count.
      attr_accessor :enabled_device_count

      # @return [Integer] The disabled device count.
      attr_accessor :disabled_device_count


      #
      # Mapper for RegistryStatistics class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'RegistryStatistics',
          type: {
            name: 'Composite',
            class_name: 'RegistryStatistics',
            model_properties: {
              total_device_count: {
                required: false,
                serialized_name: 'totalDeviceCount',
                type: {
                  name: 'Number'
                }
              },
              enabled_device_count: {
                required: false,
                serialized_name: 'enabledDeviceCount',
                type: {
                  name: 'Number'
                }
              },
              disabled_device_count: {
                required: false,
                serialized_name: 'disabledDeviceCount',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.7.0 lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb
azure_mgmt_iot_hub-0.6.0 lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb
azure_mgmt_iot_hub-0.5.0 lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb