Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::ThreatIntelligenceMetricEntity
- Inherits:
-
Object
- Object
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::ThreatIntelligenceMetricEntity
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric_entity.rb
Overview
Describes threat intelligence metric entity
Instance Attribute Summary collapse
-
#metric_name ⇒ String
Metric name.
-
#metric_value ⇒ Integer
Metric value.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ThreatIntelligenceMetricEntity class as Ruby Hash.
Instance Attribute Details
#metric_name ⇒ String
16 17 18 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric_entity.rb', line 16 def metric_name @metric_name end |
#metric_value ⇒ Integer
19 20 21 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric_entity.rb', line 19 def metric_value @metric_value end |
Class Method Details
.mapper ⇒ Object
Mapper for ThreatIntelligenceMetricEntity class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 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 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric_entity.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ThreatIntelligenceMetricEntity', type: { name: 'Composite', class_name: 'ThreatIntelligenceMetricEntity', model_properties: { metric_name: { client_side_validation: true, required: false, serialized_name: 'metricName', type: { name: 'String' } }, metric_value: { client_side_validation: true, required: false, serialized_name: 'metricValue', type: { name: 'Number' } } } } } end |