appcenter-cli
Version:
Command line tool for Visual Studio App Center
71 lines (66 loc) • 1.74 kB
JavaScript
/*
* 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.
*/
;
/**
* Class representing a TestCloudProject.
*/
class TestCloudProject {
/**
* Create a TestCloudProject.
* @property {string} path The path to the TestCloud project
* @property {string} frameworkType Possible values include: 'Appium',
* 'Calabash', 'Espresso', 'UITest', 'Generated'
* @property {object} [frameworkProperties]
* @property {array} [frameworkProperties.configurations]
*/
constructor() {
}
/**
* Defines the metadata of TestCloudProject
*
* @returns {object} metadata of TestCloudProject
*
*/
mapper() {
return {
required: false,
serializedName: 'TestCloudProject',
type: {
name: 'Composite',
className: 'TestCloudProject',
modelProperties: {
path: {
required: true,
serializedName: 'path',
type: {
name: 'String'
}
},
frameworkType: {
required: true,
serializedName: 'frameworkType',
type: {
name: 'String'
}
},
frameworkProperties: {
required: false,
serializedName: 'frameworkProperties',
type: {
name: 'Composite',
className: 'TestCloudProjectFrameworkProperties'
}
}
}
}
};
}
}
module.exports = TestCloudProject;