/*
 * 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';

/**
 * @class
 * Initializes a new instance of the NodeRebootParameter class.
 * @constructor
 * Parameters for a ComputeNodeOperations.Reboot request.
 * @member {string} [nodeRebootOption] When to reboot the compute node and
 * what to do with currently running tasks. The default value is requeue.
 * Possible values include: 'requeue', 'terminate', 'taskcompletion',
 * 'retaineddata'
 * 
 */
function NodeRebootParameter() {
}

/**
 * Defines the metadata of NodeRebootParameter
 *
 * @returns {object} metadata of NodeRebootParameter
 *
 */
NodeRebootParameter.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'NodeRebootParameter',
    type: {
      name: 'Composite',
      className: 'NodeRebootParameter',
      modelProperties: {
        nodeRebootOption: {
          required: false,
          serializedName: 'nodeRebootOption',
          type: {
            name: 'Enum',
            allowedValues: [ 'requeue', 'terminate', 'taskcompletion', 'retaineddata' ]
          }
        }
      }
    }
  };
};

module.exports = NodeRebootParameter;
