Sha256: 38a884de1e85ed8f4aceea5825a44b3fc412d555c23d731381312955e87b4584

Contents?: true

Size: 1.85 KB

Versions: 2

Compression:

Stored size: 1.85 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::IotHub::Mgmt::V2017_07_01
  module Models
    #
    # Identity registry statistics.
    #
    class RegistryStatistics

      include MsRestAzure

      # @return [Integer] The total count of devices in the identity registry.
      attr_accessor :total_device_count

      # @return [Integer] The count of enabled devices in the identity
      # registry.
      attr_accessor :enabled_device_count

      # @return [Integer] The count of disabled devices in the identity
      # registry.
      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,
                read_only: true,
                serialized_name: 'totalDeviceCount',
                type: {
                  name: 'Number'
                }
              },
              enabled_device_count: {
                required: false,
                read_only: true,
                serialized_name: 'enabledDeviceCount',
                type: {
                  name: 'Number'
                }
              },
              disabled_device_count: {
                required: false,
                read_only: true,
                serialized_name: 'disabledDeviceCount',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.15.1 lib/2017-07-01/generated/azure_mgmt_iot_hub/models/registry_statistics.rb
azure_mgmt_iot_hub-0.15.0 lib/2017-07-01/generated/azure_mgmt_iot_hub/models/registry_statistics.rb