UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

68 lines (63 loc) 1.54 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 ErrorCounts. */ class ErrorCounts { /** * Create a ErrorCounts. * @property {number} [count] total error count * @property {array} [errors] the total error count for day */ constructor() { } /** * Defines the metadata of ErrorCounts * * @returns {object} metadata of ErrorCounts * */ mapper() { return { required: false, serializedName: 'ErrorCounts', type: { name: 'Composite', className: 'ErrorCounts', modelProperties: { count: { required: false, serializedName: 'count', type: { name: 'Number' } }, errors: { required: false, serializedName: 'errors', type: { name: 'Sequence', element: { required: false, serializedName: 'ErrorDateTimeCountsElementType', type: { name: 'Composite', className: 'ErrorDateTimeCounts' } } } } } } }; } } module.exports = ErrorCounts;