appcenter-cli
Version:
Command line tool for Visual Studio App Center
75 lines (70 loc) • 1.78 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 XamarinSolution.
*/
class XamarinSolution {
/**
* Create a XamarinSolution.
* @property {string} path Path to solution
* @property {array} configurations Solution configurations
* @property {string} [defaultConfiguration] Solution default configuration
*/
constructor() {
}
/**
* Defines the metadata of XamarinSolution
*
* @returns {object} metadata of XamarinSolution
*
*/
mapper() {
return {
required: false,
serializedName: 'XamarinSolution',
type: {
name: 'Composite',
className: 'XamarinSolution',
modelProperties: {
path: {
required: true,
serializedName: 'path',
type: {
name: 'String'
}
},
configurations: {
required: true,
serializedName: 'configurations',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
defaultConfiguration: {
required: false,
serializedName: 'defaultConfiguration',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = XamarinSolution;