Sha256: 7b0bd92711aadd2f9189ee75725fdf36e988f4b91da3d6f7be156102860f2082

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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

      include MsRest::JSONable
      # @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.12.0 lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb
azure_mgmt_iot_hub-0.11.0 lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb