Class: Azure::ARM::IotHub::Models::RegistryStatistics
- Inherits:
-
Object
- Object
- Azure::ARM::IotHub::Models::RegistryStatistics
- 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
-
#disabled_device_count ⇒ Integer
The disabled device count.
-
#enabled_device_count ⇒ Integer
The enabled device count.
-
#total_device_count ⇒ Integer
The total device count.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RegistryStatistics class as Ruby Hash.
Instance Attribute Details
#disabled_device_count ⇒ Integer
Returns 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_count ⇒ Integer
Returns 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_count ⇒ Integer
Returns 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
.mapper ⇒ Object
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 |