UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

68 lines (63 loc) 1.49 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'; /** * Class representing a ReleaseCounts. */ class ReleaseCounts { /** * Create a ReleaseCounts. * @property {number} [total] * @property {array} counts */ constructor() { } /** * Defines the metadata of ReleaseCounts * * @returns {object} metadata of ReleaseCounts * */ mapper() { return { required: false, serializedName: 'ReleaseCounts', type: { name: 'Composite', className: 'ReleaseCounts', modelProperties: { total: { required: false, serializedName: 'total', type: { name: 'Number' } }, counts: { required: true, serializedName: 'counts', type: { name: 'Sequence', element: { required: false, serializedName: 'ReleaseCountElementType', type: { name: 'Composite', className: 'ReleaseCount' } } } } } } }; } } module.exports = ReleaseCounts;