Class: Azure::Security::Mgmt::V2019_01_01::Models::AlertConfidenceReason

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01/generated/azure_mgmt_security/models/alert_confidence_reason.rb

Overview

Factors that increase our confidence that the alert is a true positive

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#reasonString

Returns description of the confidence reason.

Returns:

  • (String)

    description of the confidence reason



19
20
21
# File 'lib/2019-01-01/generated/azure_mgmt_security/models/alert_confidence_reason.rb', line 19

def reason
  @reason
end

#typeString

Returns Type of confidence factor.

Returns:

  • (String)

    Type of confidence factor



16
17
18
# File 'lib/2019-01-01/generated/azure_mgmt_security/models/alert_confidence_reason.rb', line 16

def type
  @type
end

Class Method Details

.mapperObject

Mapper for AlertConfidenceReason 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
55
56
# File 'lib/2019-01-01/generated/azure_mgmt_security/models/alert_confidence_reason.rb', line 26

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