/*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

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

/**
 * Class representing a UWPToolset.
 */
class UWPToolset {
  /**
   * Create a UWPToolset.
   * @member {array} uwpSolutions The UWP solutions detected
   */
  constructor() {
  }

  /**
   * Defines the metadata of UWPToolset
   *
   * @returns {object} metadata of UWPToolset
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'UWPToolset',
      type: {
        name: 'Composite',
        className: 'UWPToolset',
        modelProperties: {
          uwpSolutions: {
            required: true,
            serializedName: 'uwpSolutions',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'UWPSolutionElementType',
                  type: {
                    name: 'Composite',
                    className: 'UWPSolution'
                  }
              }
            }
          }
        }
      }
    };
  }
}

module.exports = UWPToolset;
