text: /*
   * Code generated by Microsoft (R) AutoRest Code Generator.
   * Changes may cause incorrect behavior and will be lost if the code is
   * regenerated.
   */
  
  'use strict';
  
  /**
   * Represents measure evaluation stats
   *
   */
  class EvaluationStats {
    /**
     * Create a EvaluationStats.
     * @property {date} [lastSuccessful] Last successful evaluation
     * @property {number} [consecutiveFailureCount] Represents Number of
     * consecutive failures
     */
    constructor() {
    }
  
    /**
     * Defines the metadata of EvaluationStats
     *
     * @returns {object} metadata of EvaluationStats
     *
     */
    mapper() {
      return {
        required: false,
        serializedName: 'EvaluationStats',
        type: {
          name: 'Composite',
          className: 'EvaluationStats',
          modelProperties: {
            lastSuccessful: {
              required: false,
              serializedName: 'lastSuccessful',
              type: {
                name: 'DateTime'
              }
            },
            consecutiveFailureCount: {
              required: false,
              serializedName: 'consecutiveFailureCount',
              type: {
                name: 'Number'
              }
            }
          }
        }
      };
    }
  }
  
  module.exports = EvaluationStats;
  