UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

96 lines (91 loc) 2.48 kB
/* * 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'; /** * @summary Test Cloud Start Test Run Options * * Options required to start the test run * */ class TestCloudStartTestRunOptions { /** * Create a TestCloudStartTestRunOptions. * @property {string} testFramework Test framework used by tests. * @property {string} deviceSelection Device selection string. * @property {string} [language] Language that should be used to run tests. * @property {string} [locale] Locale that should be used to run tests. * @property {string} [testSeries] Name of the test series. * @property {object} [testParameters] A JSON dictionary with additional test * parameters */ constructor() { } /** * Defines the metadata of TestCloudStartTestRunOptions * * @returns {object} metadata of TestCloudStartTestRunOptions * */ mapper() { return { required: false, serializedName: 'TestCloudStartTestRunOptions', type: { name: 'Composite', className: 'TestCloudStartTestRunOptions', modelProperties: { testFramework: { required: true, serializedName: 'test_framework', type: { name: 'String' } }, deviceSelection: { required: true, serializedName: 'device_selection', type: { name: 'String' } }, language: { required: false, serializedName: 'language', type: { name: 'String' } }, locale: { required: false, serializedName: 'locale', type: { name: 'String' } }, testSeries: { required: false, serializedName: 'test_series', type: { name: 'String' } }, testParameters: { required: false, serializedName: 'test_parameters', type: { name: 'Object' } } } } }; } } module.exports = TestCloudStartTestRunOptions;