# 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::V2020_08_01_preview
  module Models
    #
    # Object to define the number of days after last modification.
    #
    class DateAfterModification

      include MsRestAzure

      # @return [Float] Value indicating the age in days after last
      # modification
      attr_accessor :days_after_modification_greater_than


      #
      # Mapper for DateAfterModification class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DateAfterModification',
          type: {
            name: 'Composite',
            class_name: 'DateAfterModification',
            model_properties: {
              days_after_modification_greater_than: {
                client_side_validation: true,
                required: true,
                serialized_name: 'daysAfterModificationGreaterThan',
                constraints: {
                  InclusiveMinimum: 0,
                  MultipleOf: 1
                },
                type: {
                  name: 'Double'
                }
              }
            }
          }
        }
      end
    end
  end
end
