# 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::Storage::Mgmt::V2021_01_01
  module Models
    #
    # Blob range
    #
    class BlobRestoreRange

      include MsRestAzure

      # @return [String] Blob start range. This is inclusive. Empty means
      # account start.
      attr_accessor :start_range

      # @return [String] Blob end range. This is exclusive. Empty means account
      # end.
      attr_accessor :end_range


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