Sha256: 829a922ab6778cafc4ea0d3747ac4a8346be62a9a686450b0b1d2541d7941eb9

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Monitor
  module Models
    #
    # The List incidents operation response.
    #
    class IncidentListResult

      include MsRestAzure

      include MsRest::JSONable
      # @return [Array<Incident>] the incident collection.
      attr_accessor :value


      #
      # Mapper for IncidentListResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.12.0 lib/generated/azure_mgmt_monitor/models/incident_list_result.rb
azure_mgmt_monitor-0.11.0 lib/generated/azure_mgmt_monitor/models/incident_list_result.rb