Class: Azure::ServiceFabric::V6_5_0_36::Models::RetentionPolicyDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::RetentionPolicyDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/retention_policy_description.rb
Overview
Describes the retention policy configured.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#RetentionPolicyType ⇒ Object
Returns the value of attribute RetentionPolicyType.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RetentionPolicyDescription class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ RetentionPolicyDescription
constructor
A new instance of RetentionPolicyDescription.
Constructor Details
#initialize ⇒ RetentionPolicyDescription
Returns a new instance of RetentionPolicyDescription.
18 19 20 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/retention_policy_description.rb', line 18 def initialize @RetentionPolicyType = "RetentionPolicyDescription" end |
Instance Attribute Details
#RetentionPolicyType ⇒ Object
Returns the value of attribute RetentionPolicyType.
22 23 24 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/retention_policy_description.rb', line 22 def RetentionPolicyType @RetentionPolicyType end |
Class Method Details
.mapper ⇒ Object
Mapper for RetentionPolicyDescription class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/retention_policy_description.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RetentionPolicyDescription', type: { name: 'Composite', polymorphic_discriminator: 'RetentionPolicyType', uber_parent: 'RetentionPolicyDescription', class_name: 'RetentionPolicyDescription', model_properties: { } } } end |