# 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_2_0_9
  module Models
    #
    # Wrapper object for health evaluation.
    #
    class HealthEvaluationWrapper

      include MsRestAzure

      # @return [HealthEvaluation] Represents a health evaluation which
      # describes the data and the algorithm used by health manager to evaluate
      # the health of an entity.
      attr_accessor :health_evaluation


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