Class: Azure::Storage::Mgmt::V2018_11_01::Models::DateAfterCreation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-11-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_thanInteger

creation

Returns:

  • (Integer)

    Integer value indicating the age in days after



17
18
19
# File 'lib/2018-11-01/generated/azure_mgmt_storage/models/date_after_creation.rb', line 17

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.



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/2018-11-01/generated/azure_mgmt_storage/models/date_after_creation.rb', line 24

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
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end