Sha256: 13898c609072757ac051c586d40bf25c38a8f38598661b1542bb48283c1d9d36

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 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::Compute::Mgmt::V2020_09_30_preview
  module Models
    #
    # Describes the resource range.
    #
    class ResourceRange

      include MsRestAzure

      # @return [Integer] The minimum number of the resource.
      attr_accessor :min

      # @return [Integer] The maximum number of the resource.
      attr_accessor :max


      #
      # Mapper for ResourceRange class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ResourceRange',
          type: {
            name: 'Composite',
            class_name: 'ResourceRange',
            model_properties: {
              min: {
                client_side_validation: true,
                required: false,
                serialized_name: 'min',
                type: {
                  name: 'Number'
                }
              },
              max: {
                client_side_validation: true,
                required: false,
                serialized_name: 'max',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/resource_range.rb
azure_mgmt_compute-0.21.1 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/resource_range.rb