appcenter-cli
Version:
Command line tool for Visual Studio App Center
76 lines (71 loc) • 1.88 kB
JavaScript
/*
* 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.
*/
;
/**
* Class representing a EventCountPerDevice.
*/
class EventCountPerDevice {
/**
* Create a EventCountPerDevice.
* @property {number} [avgCountPerDevice]
* @property {number} [previousAvgCountPerDevice]
* @property {array} [countPerDevice]
*/
constructor() {
}
/**
* Defines the metadata of EventCountPerDevice
*
* @returns {object} metadata of EventCountPerDevice
*
*/
mapper() {
return {
required: false,
serializedName: 'EventCountPerDevice',
type: {
name: 'Composite',
className: 'EventCountPerDevice',
modelProperties: {
avgCountPerDevice: {
required: false,
serializedName: 'avg_count_per_device',
type: {
name: 'Number'
}
},
previousAvgCountPerDevice: {
required: false,
serializedName: 'previous_avg_count_per_device',
type: {
name: 'Number'
}
},
countPerDevice: {
required: false,
serializedName: 'count_per_device',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'DateTimeDecimalCountsElementType',
type: {
name: 'Composite',
className: 'DateTimeDecimalCounts'
}
}
}
}
}
}
};
}
}
module.exports = EventCountPerDevice;