# 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::Reservations::Mgmt::V2019_04_01_preview
  module Models
    #
    # Properties specific to each reserved resource type. Not required if not
    # applicable.
    #
    class PurchaseRequestPropertiesReservedResourceProperties

      include MsRestAzure

      # @return [InstanceFlexibility] Possible values include: 'On', 'Off'
      attr_accessor :instance_flexibility


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