class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IncidentLabel

Represents an incident label

Attributes

label_name[RW]

@return [String] The name of the label

label_type[RW]

@return [IncidentLabelType] The type of the label. Possible values include: 'User', 'System'

Public Class Methods

mapper() click to toggle source

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

# 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