Class: Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterCreation

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

Overview

Object to define the number of days after creation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#days_after_creation_greater_thanFloat

Returns Value indicating the age in days after creation.

Returns:

  • (Float)

    Value indicating the age in days after creation



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

def days_after_creation_greater_than
  @days_after_creation_greater_than
end

Class Method Details

.mapperObject

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



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

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DateAfterCreation',
    type: {
      name: 'Composite',
      class_name: 'DateAfterCreation',
      model_properties: {
        days_after_creation_greater_than: {
          client_side_validation: true,
          required: true,
          serialized_name: 'daysAfterCreationGreaterThan',
          constraints: {
            InclusiveMinimum: 0,
            MultipleOf: 1
          },
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end