appcenter-cli
Version:
Command line tool for Visual Studio App Center
93 lines (88 loc) • 2.06 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.
*/
;
/**
* VSTS project
*
*/
class VSTSProject {
/**
* Create a VSTSProject.
* @property {string} [id] Project id
* @property {string} [name] Project name
* @property {string} [description] Project description
* @property {string} [url] Project URL
* @property {string} [state] Project state
* @property {string} [visibility] Project visibility
*/
constructor() {
}
/**
* Defines the metadata of VSTSProject
*
* @returns {object} metadata of VSTSProject
*
*/
mapper() {
return {
required: false,
serializedName: 'VSTSProject',
type: {
name: 'Composite',
className: 'VSTSProject',
modelProperties: {
id: {
required: false,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
serializedName: 'name',
type: {
name: 'String'
}
},
description: {
required: false,
serializedName: 'description',
type: {
name: 'String'
}
},
url: {
required: false,
serializedName: 'url',
type: {
name: 'String'
}
},
state: {
required: false,
serializedName: 'state',
type: {
name: 'String'
}
},
visibility: {
required: false,
serializedName: 'visibility',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = VSTSProject;