Class: Azure::ARM::IotHub::Models::RegistryStatistics

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb

Overview

The properties related to the registry statistics.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#disabled_device_countInteger

Returns The disabled device count.

Returns:

  • (Integer)

    The disabled device count.



22
23
24
# File 'lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb', line 22

def disabled_device_count
  @disabled_device_count
end

#enabled_device_countInteger

Returns The enabled device count.

Returns:

  • (Integer)

    The enabled device count.



19
20
21
# File 'lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb', line 19

def enabled_device_count
  @enabled_device_count
end

#total_device_countInteger

Returns The total device count.

Returns:

  • (Integer)

    The total device count.



16
17
18
# File 'lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb', line 16

def total_device_count
  @total_device_count
end

Class Method Details

.mapperObject

Mapper for RegistryStatistics class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb', line 29

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