UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

60 lines (55 loc) 1.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 DateTimePercentages. */ class DateTimePercentages { /** * Create a DateTimePercentages. * @property {string} [datetime] the ISO 8601 datetime * @property {number} [percentage] percentage of the object */ constructor() { } /** * Defines the metadata of DateTimePercentages * * @returns {object} metadata of DateTimePercentages * */ mapper() { return { required: false, serializedName: 'DateTimePercentages', type: { name: 'Composite', className: 'DateTimePercentages', modelProperties: { datetime: { required: false, serializedName: 'datetime', type: { name: 'String' } }, percentage: { required: false, serializedName: 'percentage', type: { name: 'Number' } } } } }; } } module.exports = DateTimePercentages;