Class: Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_modification.rb

Overview

Object to define the number of days after last modification.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#days_after_modification_greater_thanFloat

modification

Returns:

  • (Float)

    Value indicating the age in days after last



17
18
19
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_modification.rb', line 17

def days_after_modification_greater_than
  @days_after_modification_greater_than
end

Class Method Details

.mapperObject

Mapper for DateAfterModification class as Ruby Hash. This will be used for serialization/deserialization.



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_modification.rb', line 24

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