UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

112 lines (107 loc) 2.95 kB
/* * 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. */ 'use strict'; /** * a exception * */ class DiagnosticsException { /** * Create a DiagnosticsException. * @property {string} [reason] Reason of the exception * @property {string} [type] Type of the exception (NSSomethingException, * NullPointerException) * @property {array} frames frames of the excetpion * @property {boolean} [relevant] relevant exception (crashed) * @property {array} [innerExceptions] * @property {string} [platform] SDK/Platform this thread is beeing generated * from. Possible values include: 'ios', 'android', 'xamarin', * 'react-native', 'ndk', 'unity', 'other' */ constructor() { } /** * Defines the metadata of DiagnosticsException * * @returns {object} metadata of DiagnosticsException * */ mapper() { return { required: false, serializedName: 'DiagnosticsException', type: { name: 'Composite', className: 'DiagnosticsException', modelProperties: { reason: { required: false, serializedName: 'reason', type: { name: 'String' } }, type: { required: false, serializedName: 'type', type: { name: 'String' } }, frames: { required: true, serializedName: 'frames', type: { name: 'Sequence', element: { required: false, serializedName: 'DiagnosticsStackFrameElementType', type: { name: 'Composite', className: 'DiagnosticsStackFrame' } } } }, relevant: { required: false, serializedName: 'relevant', type: { name: 'Boolean' } }, innerExceptions: { required: false, serializedName: 'inner_exceptions', type: { name: 'Sequence', element: { required: false, serializedName: 'DiagnosticsExceptionElementType', type: { name: 'Composite', className: 'DiagnosticsException' } } } }, platform: { required: false, serializedName: 'platform', type: { name: 'String' } } } } }; } } module.exports = DiagnosticsException;