microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/app-center-node-client/src/crash/models/appFeatures.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 | /** |
| 10 | * Class representing a AppFeatures. |
| 11 | */ |
| 12 | class AppFeatures { |
| 13 | /** |
| 14 | * Create a AppFeatures. |
| 15 | * @member {boolean} [crashgroupModifyStatus] App supports modification of |
| 16 | * crashgroup status |
| 17 | * @member {boolean} [crashgroupModifyAnnotation] App supports modification |
| 18 | * of crashgroup annotation |
| 19 | * @member {boolean} [search] App supports search API |
| 20 | * @member {boolean} [crashgroupAnalyticsCrashfreeusers] App supports the |
| 21 | * 'crash free user' metric |
| 22 | * @member {boolean} [crashgroupAnalyticsImpactedusers] App supports the |
| 23 | * 'impacted users' metric |
| 24 | * @member {boolean} [crashDownloadRaw] App supports download of raw crashes |
| 25 | */ |
| 26 | constructor() { |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Defines the metadata of AppFeatures |
| 31 | * |
| 32 | * @returns {object} metadata of AppFeatures |
| 33 | * |
| 34 | */ |
| 35 | mapper() { |
| 36 | return { |
| 37 | required: false, |
| 38 | serializedName: 'AppFeatures', |
| 39 | type: { |
| 40 | name: 'Composite', |
| 41 | className: 'AppFeatures', |
| 42 | modelProperties: { |
| 43 | crashgroupModifyStatus: { |
| 44 | required: false, |
| 45 | serializedName: 'crashgroup_modify_status', |
| 46 | type: { |
| 47 | name: 'Boolean' |
| 48 | } |
| 49 | }, |
| 50 | crashgroupModifyAnnotation: { |
| 51 | required: false, |
| 52 | serializedName: 'crashgroup_modify_annotation', |
| 53 | type: { |
| 54 | name: 'Boolean' |
| 55 | } |
| 56 | }, |
| 57 | search: { |
| 58 | required: false, |
| 59 | serializedName: 'search', |
| 60 | type: { |
| 61 | name: 'Boolean' |
| 62 | } |
| 63 | }, |
| 64 | crashgroupAnalyticsCrashfreeusers: { |
| 65 | required: false, |
| 66 | serializedName: 'crashgroup_analytics_crashfreeusers', |
| 67 | type: { |
| 68 | name: 'Boolean' |
| 69 | } |
| 70 | }, |
| 71 | crashgroupAnalyticsImpactedusers: { |
| 72 | required: false, |
| 73 | serializedName: 'crashgroup_analytics_impactedusers', |
| 74 | type: { |
| 75 | name: 'Boolean' |
| 76 | } |
| 77 | }, |
| 78 | crashDownloadRaw: { |
| 79 | required: false, |
| 80 | serializedName: 'crash_download_raw', |
| 81 | type: { |
| 82 | name: 'Boolean' |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | } |
| 87 | }; |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | module.exports = AppFeatures; |
| 92 | |