# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V6_4_0_36 module Models # # Describes the retention policy configured. # class RetentionPolicyDescription include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["Basic"] = "BasicRetentionPolicyDescription" def initialize @RetentionPolicyType = "RetentionPolicyDescription" end attr_accessor :RetentionPolicyType # # Mapper for RetentionPolicyDescription class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end