UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

76 lines (71 loc) 1.7 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 Events. */ class Events { /** * Create a Events. * @property {array} [events] * @property {number} [total] the total count of events * @property {number} [totalDevices] the active device over this period */ constructor() { } /** * Defines the metadata of Events * * @returns {object} metadata of Events * */ mapper() { return { required: false, serializedName: 'Events', type: { name: 'Composite', className: 'Events', modelProperties: { events: { required: false, serializedName: 'events', type: { name: 'Sequence', element: { required: false, serializedName: 'EventElementType', type: { name: 'Composite', className: 'Event' } } } }, total: { required: false, serializedName: 'total', type: { name: 'Number' } }, totalDevices: { required: false, serializedName: 'total_devices', type: { name: 'Number' } } } } }; } } module.exports = Events;