# 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::Labservices::Mgmt::V2018_10_15
  module Models
    #
    # Represents a size category supported by this Lab Account (small, medium
    # or large)
    #
    class EnvironmentSizeFragment

      include MsRestAzure

      # @return [ManagedLabVmSize] The size category. Possible values include:
      # 'Basic', 'Standard', 'Performance'
      attr_accessor :name

      # @return [Array<SizeInfoFragment>] Represents a set of compute sizes
      # that can serve this given size type
      attr_accessor :vm_sizes


      #
      # Mapper for EnvironmentSizeFragment class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EnvironmentSizeFragment',
          type: {
            name: 'Composite',
            class_name: 'EnvironmentSizeFragment',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              vm_sizes: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vmSizes',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'SizeInfoFragmentElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'SizeInfoFragment'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
