Class: Azure::ARM::Insights::Models::IncidentListResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_insights/models/incident_list_result.rb

Overview

The List incidents operation response.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#valueArray<Incident>

Returns the incident collection.

Returns:

  • (Array<Incident>)

    the incident collection.



16
17
18
# File 'lib/generated/azure_mgmt_insights/models/incident_list_result.rb', line 16

def value
  @value
end

Class Method Details

.mapperObject

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



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/generated/azure_mgmt_insights/models/incident_list_result.rb', line 23

def self.mapper()
  {
    required: false,
    serialized_name: 'IncidentListResult',
    type: {
      name: 'Composite',
      class_name: 'IncidentListResult',
      model_properties: {
        value: {
          required: false,
          serialized_name: 'value',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'IncidentElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Incident'
                }
            }
          }
        }
      }
    }
  }
end