Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IncidentInfo

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

Overview

Describes related incident information for the bookmark

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#incident_idString

Returns Incident Id.

Returns:

  • (String)

    Incident Id



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

def incident_id
  @incident_id
end

#relation_nameString

Returns Relation Name.

Returns:

  • (String)

    Relation Name



26
27
28
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_info.rb', line 26

def relation_name
  @relation_name
end

#severityCaseSeverity

include: ‘Critical’, ‘High’, ‘Medium’, ‘Low’, ‘Informational’

Returns:

  • (CaseSeverity)

    The severity of the incident. Possible values



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

def severity
  @severity
end

#titleString

Returns The title of the incident.

Returns:

  • (String)

    The title of the incident



23
24
25
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_info.rb', line 23

def title
  @title
end

Class Method Details

.mapperObject

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



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
72
73
74
75
76
77
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_info.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IncidentInfo',
    type: {
      name: 'Composite',
      class_name: 'IncidentInfo',
      model_properties: {
        incident_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'incidentId',
          type: {
            name: 'String'
          }
        },
        severity: {
          client_side_validation: true,
          required: true,
          serialized_name: 'severity',
          type: {
            name: 'String'
          }
        },
        title: {
          client_side_validation: true,
          required: true,
          serialized_name: 'title',
          type: {
            name: 'String'
          }
        },
        relation_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'relationName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end