/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

/**
 * The definition of a prediction grade.
 *
 */
class PredictionGradesItem {
  /**
   * Create a PredictionGradesItem.
   * @member {string} [gradeName] Name of the grade.
   * @member {number} [minScoreThreshold] Minimum score threshold.
   * @member {number} [maxScoreThreshold] Maximum score threshold.
   */
  constructor() {
  }

  /**
   * Defines the metadata of PredictionGradesItem
   *
   * @returns {object} metadata of PredictionGradesItem
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'Prediction_gradesItem',
      type: {
        name: 'Composite',
        className: 'PredictionGradesItem',
        modelProperties: {
          gradeName: {
            required: false,
            serializedName: 'gradeName',
            type: {
              name: 'String'
            }
          },
          minScoreThreshold: {
            required: false,
            serializedName: 'minScoreThreshold',
            type: {
              name: 'Number'
            }
          },
          maxScoreThreshold: {
            required: false,
            serializedName: 'maxScoreThreshold',
            type: {
              name: 'Number'
            }
          }
        }
      }
    };
  }
}

module.exports = PredictionGradesItem;
