lib/services/serviceFabric/lib/models/serviceHealth.js
/**
   * Defines the metadata of ServiceHealth
   *
   * @returns {object} metadata of ServiceHealth
   *
   */
Defines the metadata of ServiceHealth
@returns {object} metadata of ServiceHealth
Defines the metadata of ServiceHealth @returns { object } metadata of ServiceHealth
mapper() {
    return {
      required: false,
      serializedName: 'ServiceHealth',
      type: {
        name: 'Composite',
        className: 'ServiceHealth',
        modelProperties: {
          aggregatedHealthState: {
            required: false,
            serializedName: 'AggregatedHealthState',
            type: {
              name: 'String'
            }
          },
          healthEvents: {
            required: false,
            serializedName: 'HealthEvents',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'HealthEventElementType',
                  type: {
                    name: 'Composite',
                    className: 'HealthEvent'
                  }
              }
            }
          },
          unhealthyEvaluations: {
            required: false,
            serializedName: 'UnhealthyEvaluations',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'HealthEvaluationWrapperElementType',
                  type: {
                    name: 'Composite',
                    className: 'HealthEvaluationWrapper'
                  }
              }
            }
          },
          healthStatistics: {
            required: false,
            serializedName: 'HealthStatistics',
            type: {
              name: 'Composite',
              className: 'HealthStatistics'
            }
          },
          name: {
            required: false,
            serializedName: 'Name',
            type: {
              name: 'String'
            }
          },
          partitionHealthStates: {
            required: false,
            serializedName: 'PartitionHealthStates',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'PartitionHealthStateElementType',
                  type: {
                    name: 'Composite',
                    className: 'PartitionHealthState'
                  }
              }
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'ServiceHealth' , type : { name : 'Composite' , className : 'ServiceHealth' , modelProperties : { aggregatedHealthState : { required : false , serializedName : 'AggregatedHealthState' , type : { name : 'String' } } , healthEvents : { required : false , serializedName : 'HealthEvents' , type : { name : 'Sequence' , element : { required : false , serializedName : 'HealthEventElementType' , type : { name : 'Composite' , className : 'HealthEvent' } } } } , unhealthyEvaluations : { required : false , serializedName : 'UnhealthyEvaluations' , type : { name : 'Sequence' , element : { required : false , serializedName : 'HealthEvaluationWrapperElementType' , type : { name : 'Composite' , className : 'HealthEvaluationWrapper' } } } } , healthStatistics : { required : false , serializedName : 'HealthStatistics' , type : { name : 'Composite' , className : 'HealthStatistics' } } , name : { required : false , serializedName : 'Name' , type : { name : 'String' } } , partitionHealthStates : { required : false , serializedName : 'PartitionHealthStates' , type : { name : 'Sequence' , element : { required : false , serializedName : 'PartitionHealthStateElementType' , type : { name : 'Composite' , className : 'PartitionHealthState' } } } } } } } ; }
Defines the metadata of ServiceHealth
 @returns {object} metadata of ServiceHealth
Defines the metadata of ServiceHealth @returns { object } metadata of ServiceHealth