microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/app-center-node-client/src/analytics/models/crashCounts.js
65lines · 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 CrashCounts. |
| 13 | */ |
| 14 | class CrashCounts { |
| 15 | /** |
| 16 | * Create a CrashCounts. |
| 17 | * @member {number} [count] total crash count |
| 18 | * @member {array} [crashes] the total crash count for day |
| 19 | */ |
| 20 | constructor() { |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Defines the metadata of CrashCounts |
| 25 | * |
| 26 | * @returns {object} metadata of CrashCounts |
| 27 | * |
| 28 | */ |
| 29 | mapper() { |
| 30 | return { |
| 31 | required: false, |
| 32 | serializedName: 'CrashCounts', |
| 33 | type: { |
| 34 | name: 'Composite', |
| 35 | className: 'CrashCounts', |
| 36 | modelProperties: { |
| 37 | count: { |
| 38 | required: false, |
| 39 | serializedName: 'count', |
| 40 | type: { |
| 41 | name: 'Number' |
| 42 | } |
| 43 | }, |
| 44 | crashes: { |
| 45 | required: false, |
| 46 | serializedName: 'crashes', |
| 47 | type: { |
| 48 | name: 'Sequence', |
| 49 | element: { |
| 50 | required: false, |
| 51 | serializedName: 'DateTimeCountsElementType', |
| 52 | type: { |
| 53 | name: 'Composite', |
| 54 | className: 'DateTimeCounts' |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | } |
| 61 | }; |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | module.exports = CrashCounts; |