microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/app-center-node-client/src/analytics/models/activeDeviceCounts.js
91lines · modecode
| 1 | /* |
| 2 | * Code generated by Microsoft (R) AutoRest Code Generator. |
| 3 | * Changes may cause incorrect behavior and will be lost if the code is |
| 4 | * regenerated. |
| 5 | */ |
| 6 | |
| 7 | 'use strict'; |
| 8 | |
| 9 | const models = require('./index'); |
| 10 | |
| 11 | /** |
| 12 | * Class representing a ActiveDeviceCounts. |
| 13 | */ |
| 14 | class ActiveDeviceCounts { |
| 15 | /** |
| 16 | * Create a ActiveDeviceCounts. |
| 17 | * @member {array} [daily] the active device count for each interval |
| 18 | * @member {array} [weekly] the active device count for each interval with a |
| 19 | * week's retention |
| 20 | * @member {array} [monthly] the active device count for each interval with a |
| 21 | * month's retention |
| 22 | */ |
| 23 | constructor() { |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Defines the metadata of ActiveDeviceCounts |
| 28 | * |
| 29 | * @returns {object} metadata of ActiveDeviceCounts |
| 30 | * |
| 31 | */ |
| 32 | mapper() { |
| 33 | return { |
| 34 | required: false, |
| 35 | serializedName: 'ActiveDeviceCounts', |
| 36 | type: { |
| 37 | name: 'Composite', |
| 38 | className: 'ActiveDeviceCounts', |
| 39 | modelProperties: { |
| 40 | daily: { |
| 41 | required: false, |
| 42 | serializedName: 'daily', |
| 43 | type: { |
| 44 | name: 'Sequence', |
| 45 | element: { |
| 46 | required: false, |
| 47 | serializedName: 'DateTimeCountsElementType', |
| 48 | type: { |
| 49 | name: 'Composite', |
| 50 | className: 'DateTimeCounts' |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 | }, |
| 55 | weekly: { |
| 56 | required: false, |
| 57 | serializedName: 'weekly', |
| 58 | type: { |
| 59 | name: 'Sequence', |
| 60 | element: { |
| 61 | required: false, |
| 62 | serializedName: 'DateTimeCountsElementType', |
| 63 | type: { |
| 64 | name: 'Composite', |
| 65 | className: 'DateTimeCounts' |
| 66 | } |
| 67 | } |
| 68 | } |
| 69 | }, |
| 70 | monthly: { |
| 71 | required: false, |
| 72 | serializedName: 'monthly', |
| 73 | type: { |
| 74 | name: 'Sequence', |
| 75 | element: { |
| 76 | required: false, |
| 77 | serializedName: 'DateTimeCountsElementType', |
| 78 | type: { |
| 79 | name: 'Composite', |
| 80 | className: 'DateTimeCounts' |
| 81 | } |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | } |
| 87 | }; |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | module.exports = ActiveDeviceCounts; |
| 92 | |