# 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::V7_0_0_42
  module Models
    #
    # Describes the expected impact of executing a repair task.
    #
    # This type supports the Service Fabric platform; it is not meant to be
    # used directly from your code.
    #
    class RepairImpactDescriptionBase

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["Node"] = "NodeRepairImpactDescription"

      def initialize
        @Kind = "RepairImpactDescriptionBase"
      end

      attr_accessor :Kind


      #
      # Mapper for RepairImpactDescriptionBase class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RepairImpactDescriptionBase',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'Kind',
            uber_parent: 'RepairImpactDescriptionBase',
            class_name: 'RepairImpactDescriptionBase',
            model_properties: {
            }
          }
        }
      end
    end
  end
end
