appcenter-cli
Version:
Command line tool for Visual Studio App Center
94 lines (89 loc) • 2.47 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 ActiveDeviceCounts.
*/
class ActiveDeviceCounts {
/**
* Create a ActiveDeviceCounts.
* @property {array} [daily] the active device count for each interval
* @property {array} [weekly] the active device count for each interval with
* a week's retention
* @property {array} [monthly] the active device count for each interval with
* a month's retention
*/
constructor() {
}
/**
* Defines the metadata of ActiveDeviceCounts
*
* @returns {object} metadata of ActiveDeviceCounts
*
*/
mapper() {
return {
required: false,
serializedName: 'ActiveDeviceCounts',
type: {
name: 'Composite',
className: 'ActiveDeviceCounts',
modelProperties: {
daily: {
required: false,
serializedName: 'daily',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'DateTimeCountsElementType',
type: {
name: 'Composite',
className: 'DateTimeCounts'
}
}
}
},
weekly: {
required: false,
serializedName: 'weekly',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'DateTimeCountsElementType',
type: {
name: 'Composite',
className: 'DateTimeCounts'
}
}
}
},
monthly: {
required: false,
serializedName: 'monthly',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'DateTimeCountsElementType',
type: {
name: 'Composite',
className: 'DateTimeCounts'
}
}
}
}
}
}
};
}
}
module.exports = ActiveDeviceCounts;