Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::SecurityAlertPropertiesConfidenceReasonsItem

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_alert_properties_confidence_reasons_item.rb

Overview

confidence reason item

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#reasonString



16
17
18
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_alert_properties_confidence_reasons_item.rb', line 16

def reason
  @reason
end

#reason_typeString



19
20
21
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_alert_properties_confidence_reasons_item.rb', line 19

def reason_type
  @reason_type
end

Class Method Details

.mapperObject

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



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
55
56
57
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_alert_properties_confidence_reasons_item.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SecurityAlertProperties_confidenceReasonsItem',
    type: {
      name: 'Composite',
      class_name: 'SecurityAlertPropertiesConfidenceReasonsItem',
      model_properties: {
        reason: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'reason',
          type: {
            name: 'String'
          }
        },
        reason_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'reasonType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end