Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IncidentLabel
- Inherits:
-
Object
- Object
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IncidentLabel
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_label.rb
Overview
Represents an incident label
Instance Attribute Summary collapse
-
#label_name ⇒ String
The name of the label.
-
#label_type ⇒ IncidentLabelType
include: ‘User’, ‘System’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IncidentLabel class as Ruby Hash.
Instance Attribute Details
#label_name ⇒ String
Returns The name of the label.
16 17 18 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_label.rb', line 16 def label_name @label_name end |
#label_type ⇒ IncidentLabelType
include: ‘User’, ‘System’
20 21 22 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_label.rb', line 20 def label_type @label_type end |
Class Method Details
.mapper ⇒ Object
Mapper for IncidentLabel 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 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_label.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IncidentLabel', type: { name: 'Composite', class_name: 'IncidentLabel', model_properties: { label_name: { client_side_validation: true, required: true, serialized_name: 'labelName', type: { name: 'String' } }, label_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'labelType', type: { name: 'String' } } } } } end |