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

var models = require('./index');

var util = require('util');

/**
 * @class
 * Initializes a new instance of the CloudTaskListSubtasksResult class.
 * @constructor
 * Response to a CloudTaskOperations.ListSubtasks request.
 * @member {array} [value] The list of information of subtasks.
 * 
 */
function CloudTaskListSubtasksResult() {
}

/**
 * Defines the metadata of CloudTaskListSubtasksResult
 *
 * @returns {object} metadata of CloudTaskListSubtasksResult
 *
 */
CloudTaskListSubtasksResult.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'CloudTaskListSubtasksResult',
    type: {
      name: 'Composite',
      className: 'CloudTaskListSubtasksResult',
      modelProperties: {
        value: {
          required: false,
          serializedName: 'value',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serializedName: 'SubtaskInformationElementType',
                type: {
                  name: 'Composite',
                  className: 'SubtaskInformation'
                }
            }
          }
        }
      }
    }
  };
};

module.exports = CloudTaskListSubtasksResult;
