# 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::ServiceFabric::V6_4_0_36
  module Models
    #
    # Information about the version of image store file.
    #
    class FileVersion

      include MsRestAzure

      # @return [String] The current image store version number for the file is
      # used in image store for checking whether it need to be updated.
      attr_accessor :version_number

      # @return [String] The epoch data loss number of image store replica when
      # this file entry was updated or created.
      attr_accessor :epoch_data_loss_number

      # @return [String] The epoch configuration version number of the image
      # store replica when this file entry was created or updated.
      attr_accessor :epoch_configuration_number


      #
      # Mapper for FileVersion class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'FileVersion',
          type: {
            name: 'Composite',
            class_name: 'FileVersion',
            model_properties: {
              version_number: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VersionNumber',
                type: {
                  name: 'String'
                }
              },
              epoch_data_loss_number: {
                client_side_validation: true,
                required: false,
                serialized_name: 'EpochDataLossNumber',
                type: {
                  name: 'String'
                }
              },
              epoch_configuration_number: {
                client_side_validation: true,
                required: false,
                serialized_name: 'EpochConfigurationNumber',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
