appcenter-cli
Version:
Command line tool for Visual Studio App Center
68 lines (63 loc) • 1.61 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 VersionsDiagnostics.
*/
class VersionsDiagnostics {
/**
* Create a VersionsDiagnostics.
* @property {array} [versions] list of version count
* @property {number} [total] the total count of versions
*/
constructor() {
}
/**
* Defines the metadata of VersionsDiagnostics
*
* @returns {object} metadata of VersionsDiagnostics
*
*/
mapper() {
return {
required: false,
serializedName: 'Versions_Diagnostics',
type: {
name: 'Composite',
className: 'VersionsDiagnostics',
modelProperties: {
versions: {
required: false,
serializedName: 'versions',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'VersionDiagnosticsElementType',
type: {
name: 'Composite',
className: 'VersionDiagnostics'
}
}
}
},
total: {
required: false,
serializedName: 'total',
type: {
name: 'Number'
}
}
}
}
};
}
}
module.exports = VersionsDiagnostics;