Class: Azure::ServiceFabric::V6_5_0_36::Models::RetentionPolicyDescription

Inherits:
Object
  • Object
show all
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

BasicRetentionPolicyDescription

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRetentionPolicyDescription

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

#RetentionPolicyTypeObject

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

.mapperObject

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