Sha256: 7c8f24f0bdde0952996613479b204b008d1b0fddbd3c6338c74401d91f45a2da

Contents?: true

Size: 1.85 KB

Versions: 1

Compression:

Stored size: 1.85 KB

Contents

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

module Azure::ARM::IotHub
  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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.9.0 lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb