Class: Azure::Storage::Mgmt::V2019_04_01::Models::DateAfterCreation
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2019_04_01::Models::DateAfterCreation
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-04-01/generated/azure_mgmt_storage/models/date_after_creation.rb
Overview
Object to define the number of days after creation.
Instance Attribute Summary collapse
-
#days_after_creation_greater_than ⇒ Float
Value indicating the age in days after creation.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DateAfterCreation class as Ruby Hash.
Instance Attribute Details
#days_after_creation_greater_than ⇒ Float
Returns Value indicating the age in days after creation.
16 17 18 |
# File 'lib/2019-04-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
.mapper ⇒ Object
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-04-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 |