Sha256: 61139ff506be09347fedc4c6518cffa30c7a2ddd3be0af8cba852ed57ae2f7c7

Contents?: true

Size: 1.83 KB

Versions: 10

Compression:

Stored size: 1.83 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::Web::Mgmt::V2016_03_01
  module Models
    #
    # Collection of metric responses.
    #
    class ResourceMetricCollection

      include MsRestAzure

      # @return [Array<ResourceMetric>] Collection of resources.
      attr_accessor :value

      # @return [String] Link to next page of resources.
      attr_accessor :next_link


      #
      # Mapper for ResourceMetricCollection class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ResourceMetricCollection',
          type: {
            name: 'Composite',
            class_name: 'ResourceMetricCollection',
            model_properties: {
              value: {
                client_side_validation: true,
                required: true,
                serialized_name: 'value',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ResourceMetricElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ResourceMetric'
                      }
                  }
                }
              },
              next_link: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'nextLink',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb
azure_mgmt_web-0.18.0 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb
azure_mgmt_web-0.17.6 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb
azure_mgmt_web-0.17.5 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb
azure_mgmt_web-0.17.4 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb
azure_mgmt_web-0.17.3 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb
azure_mgmt_web-0.17.2 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb
azure_mgmt_web-0.17.1 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb
azure_mgmt_web-0.17.0 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb
azure_mgmt_web-0.16.0 lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb