UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

151 lines (146 loc) 4 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'; /** * frame belonging to the reason of the crash * */ class ReasonStackFrame { /** * Create a ReasonStackFrame. * @property {string} [className] name of the class * @property {string} [method] name of the method * @property {boolean} [classMethod] is a class method * @property {string} [file] name of the file * @property {number} [line] line number * @property {boolean} [appCode] this line isn't from any framework * @property {string} [frameworkName] Name of the framework * @property {string} [codeFormatted] Formatted frame string * @property {string} [codeRaw] Unformatted Frame string * @property {string} [language] programming language of the frame. Possible * values include: 'JavaScript', 'CSharp', 'Objective-C', 'Objective-Cpp', * 'Cpp', 'C', 'Swift', 'Java', 'Unknown' * @property {string} [methodParams] parameters of the frames method * @property {string} [exceptionType] Exception type. * @property {string} [osExceptionType] OS exception type. (aka. SIGNAL) */ constructor() { } /** * Defines the metadata of ReasonStackFrame * * @returns {object} metadata of ReasonStackFrame * */ mapper() { return { required: false, serializedName: 'ReasonStackFrame', type: { name: 'Composite', className: 'ReasonStackFrame', modelProperties: { className: { required: false, serializedName: 'class_name', type: { name: 'String' } }, method: { required: false, serializedName: 'method', type: { name: 'String' } }, classMethod: { required: false, serializedName: 'class_method', type: { name: 'Boolean' } }, file: { required: false, serializedName: 'file', type: { name: 'String' } }, line: { required: false, serializedName: 'line', type: { name: 'Number' } }, appCode: { required: false, serializedName: 'app_code', type: { name: 'Boolean' } }, frameworkName: { required: false, serializedName: 'framework_name', type: { name: 'String' } }, codeFormatted: { required: false, serializedName: 'code_formatted', type: { name: 'String' } }, codeRaw: { required: false, serializedName: 'code_raw', type: { name: 'String' } }, language: { required: false, serializedName: 'language', type: { name: 'String' } }, methodParams: { required: false, serializedName: 'method_params', type: { name: 'String' } }, exceptionType: { required: false, serializedName: 'exception_type', type: { name: 'String' } }, osExceptionType: { required: false, serializedName: 'os_exception_type', type: { name: 'String' } } } } }; } } module.exports = ReasonStackFrame;