Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IncidentInfo
- Inherits:
-
Object
- Object
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IncidentInfo
- 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
-
#incident_id ⇒ String
Incident Id.
-
#relation_name ⇒ String
Relation Name.
-
#severity ⇒ CaseSeverity
include: ‘Critical’, ‘High’, ‘Medium’, ‘Low’, ‘Informational’.
-
#title ⇒ String
The title of the incident.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IncidentInfo class as Ruby Hash.
Instance Attribute Details
#incident_id ⇒ String
Returns 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_name ⇒ String
Returns 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 |
#severity ⇒ CaseSeverity
include: ‘Critical’, ‘High’, ‘Medium’, ‘Low’, ‘Informational’
20 21 22 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_info.rb', line 20 def severity @severity end |
#title ⇒ String
Returns 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
.mapper ⇒ Object
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 |