Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::ThreatIntelligenceMetricEntity

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#metric_nameString



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_valueInteger



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

.mapperObject

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