Sha256: 4b1c6104c3a82a97c7d95fc6c9d7d3d91a41d4a18c391b34de3372383e1e0e89

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

# 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_5_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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/retention_policy_description.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/retention_policy_description.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/retention_policy_description.rb