Class: Azure::ServiceFabric::V6_5_0_36::Models::HealthEvaluationWrapper

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/health_evaluation_wrapper.rb

Overview

Wrapper object for health evaluation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#health_evaluationHealthEvaluation

describes the data and the algorithm used by health manager to evaluate the health of an entity.

Returns:



18
19
20
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/health_evaluation_wrapper.rb', line 18

def health_evaluation
  @health_evaluation
end

Class Method Details

.mapperObject

Mapper for HealthEvaluationWrapper class as Ruby Hash. This will be used for serialization/deserialization.



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/health_evaluation_wrapper.rb', line 25

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