UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

92 lines (87 loc) 2.34 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 PerformanceReportPerformanceData. */ class PerformanceReportPerformanceData { /** * Create a PerformanceReportPerformanceData. * @property {array} steps * @property {number} elapsedSecsEnd * @property {number} elapsedSecsStart * @property {number} elapsedSecs * @property {string} id */ constructor() { } /** * Defines the metadata of PerformanceReportPerformanceData * * @returns {object} metadata of PerformanceReportPerformanceData * */ mapper() { return { required: false, serializedName: 'PerformanceReport_performance_data', type: { name: 'Composite', className: 'PerformanceReportPerformanceData', modelProperties: { steps: { required: true, serializedName: 'steps', type: { name: 'Sequence', element: { required: false, serializedName: 'PerformanceReportPerformanceDataStepsItemElementType', type: { name: 'Composite', className: 'PerformanceReportPerformanceDataStepsItem' } } } }, elapsedSecsEnd: { required: true, serializedName: 'elapsed-secs-end', type: { name: 'Number' } }, elapsedSecsStart: { required: true, serializedName: 'elapsed-secs-start', type: { name: 'Number' } }, elapsedSecs: { required: true, serializedName: 'elapsed-secs', type: { name: 'Number' } }, id: { required: true, serializedName: 'id', type: { name: 'String' } } } } }; } } module.exports = PerformanceReportPerformanceData;