/*
 * 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 parsed stack entry
 *
 */
class EventsExceptionDetailsParsedStack {
  /**
   * Create a EventsExceptionDetailsParsedStack.
   * @member {string} [assembly] The assembly of the stack entry
   * @member {string} [method] The method of the stack entry
   * @member {number} [level] The level of the stack entry
   * @member {number} [line] The line of the stack entry
   */
  constructor() {
  }

  /**
   * Defines the metadata of EventsExceptionDetailsParsedStack
   *
   * @returns {object} metadata of EventsExceptionDetailsParsedStack
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'eventsExceptionDetailsParsedStack',
      type: {
        name: 'Composite',
        className: 'EventsExceptionDetailsParsedStack',
        modelProperties: {
          assembly: {
            required: false,
            serializedName: 'assembly',
            type: {
              name: 'String'
            }
          },
          method: {
            required: false,
            serializedName: 'method',
            type: {
              name: 'String'
            }
          },
          level: {
            required: false,
            serializedName: 'level',
            type: {
              name: 'Number'
            }
          },
          line: {
            required: false,
            serializedName: 'line',
            type: {
              name: 'Number'
            }
          }
        }
      }
    };
  }
}

module.exports = EventsExceptionDetailsParsedStack;
