Class: Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityAggregatedAlertPropertiesTopDevicesListItem
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityAggregatedAlertPropertiesTopDevicesListItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_properties_top_devices_list_item.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#alerts_count ⇒ Integer
Number of alerts raised for this device.
-
#device_id ⇒ String
Name of the device.
-
#last_occurrence ⇒ String
device, on this day.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IoTSecurityAggregatedAlertPropertiesTopDevicesListItem class as Ruby Hash.
Instance Attribute Details
#alerts_count ⇒ Integer
Returns Number of alerts raised for this device.
20 21 22 |
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_properties_top_devices_list_item.rb', line 20 def alerts_count @alerts_count end |
#device_id ⇒ String
Returns Name of the device.
17 18 19 |
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_properties_top_devices_list_item.rb', line 17 def device_id @device_id end |
#last_occurrence ⇒ String
device, on this day.
24 25 26 |
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_properties_top_devices_list_item.rb', line 24 def last_occurrence @last_occurrence end |
Class Method Details
.mapper ⇒ Object
Mapper for IoTSecurityAggregatedAlertPropertiesTopDevicesListItem class as Ruby Hash. This will be used for serialization/deserialization.
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 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_properties_top_devices_list_item.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IoTSecurityAggregatedAlertProperties_topDevicesListItem', type: { name: 'Composite', class_name: 'IoTSecurityAggregatedAlertPropertiesTopDevicesListItem', model_properties: { device_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'deviceId', type: { name: 'String' } }, alerts_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'alertsCount', type: { name: 'Number' } }, last_occurrence: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastOccurrence', type: { name: 'String' } } } } } end |