Class: Azure::Storage::Mgmt::V2021_01_01::Models::DateAfterModification
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::DateAfterModification
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/date_after_modification.rb
Overview
Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive.
Instance Attribute Summary collapse
-
#days_after_last_access_time_greater_than ⇒ Float
access.
-
#days_after_modification_greater_than ⇒ Float
modification.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DateAfterModification class as Ruby Hash.
Instance Attribute Details
#days_after_last_access_time_greater_than ⇒ Float
access. This property can only be used in conjunction with last access time tracking policy
24 25 26 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/date_after_modification.rb', line 24 def days_after_last_access_time_greater_than @days_after_last_access_time_greater_than end |
#days_after_modification_greater_than ⇒ Float
modification
19 20 21 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/date_after_modification.rb', line 19 def days_after_modification_greater_than @days_after_modification_greater_than end |
Class Method Details
.mapper ⇒ Object
Mapper for DateAfterModification class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/date_after_modification.rb', line 31 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: false, serialized_name: 'daysAfterModificationGreaterThan', constraints: { InclusiveMinimum: 0, MultipleOf: 1 }, type: { name: 'Double' } }, days_after_last_access_time_greater_than: { client_side_validation: true, required: false, serialized_name: 'daysAfterLastAccessTimeGreaterThan', constraints: { InclusiveMinimum: 0, MultipleOf: 1 }, type: { name: 'Double' } } } } } end |