Sha256: 7be688f81db2289788496d596b2aebd3f24b51a6cdd028dddc0c724962358a1d

Contents?: true

Size: 1.52 KB

Versions: 6

Compression:

Stored size: 1.52 KB

Contents

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

module Azure::Monitor::Mgmt::V2017_12_01_preview
  module Models
    #
    # Represents collection of metric namespaces.
    #
    class MetricNamespaceCollection

      include MsRestAzure

      # @return [Array<MetricNamespace>] The values for the metric namespaces.
      attr_accessor :value


      #
      # Mapper for MetricNamespaceCollection class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'MetricNamespaceCollection',
          type: {
            name: 'Composite',
            class_name: 'MetricNamespaceCollection',
            model_properties: {
              value: {
                client_side_validation: true,
                required: true,
                serialized_name: 'value',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'MetricNamespaceElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'MetricNamespace'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb
azure_mgmt_monitor-0.18.0 lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb
azure_mgmt_monitor-0.17.6 lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb
azure_mgmt_monitor-0.17.5 lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb
azure_mgmt_monitor-0.17.4 lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb
azure_mgmt_monitor-0.17.3 lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb