File: events_exception_info_py3.py

package info (click to toggle)
python-azure 20181112%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 407,300 kB
  • sloc: python: 717,190; makefile: 201; sh: 76
file content (89 lines) | stat: -rw-r--r-- 4,182 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# coding=utf-8
# --------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class EventsExceptionInfo(Model):
    """The exception info.

    :param severity_level: The severity level of the exception
    :type severity_level: int
    :param problem_id: The problem ID of the exception
    :type problem_id: str
    :param handled_at: Indicates where the exception was handled at
    :type handled_at: str
    :param assembly: The assembly which threw the exception
    :type assembly: str
    :param method: The method that threw the exception
    :type method: str
    :param message: The message of the exception
    :type message: str
    :param type: The type of the exception
    :type type: str
    :param outer_type: The outer type of the exception
    :type outer_type: str
    :param outer_method: The outer method of the exception
    :type outer_method: str
    :param outer_assembly: The outer assmebly of the exception
    :type outer_assembly: str
    :param outer_message: The outer message of the exception
    :type outer_message: str
    :param innermost_type: The inner most type of the exception
    :type innermost_type: str
    :param innermost_message: The inner most message of the exception
    :type innermost_message: str
    :param innermost_method: The inner most method of the exception
    :type innermost_method: str
    :param innermost_assembly: The inner most assembly of the exception
    :type innermost_assembly: str
    :param details: The details of the exception
    :type details:
     list[~azure.applicationinsights.models.EventsExceptionDetail]
    """

    _attribute_map = {
        'severity_level': {'key': 'severityLevel', 'type': 'int'},
        'problem_id': {'key': 'problemId', 'type': 'str'},
        'handled_at': {'key': 'handledAt', 'type': 'str'},
        'assembly': {'key': 'assembly', 'type': 'str'},
        'method': {'key': 'method', 'type': 'str'},
        'message': {'key': 'message', 'type': 'str'},
        'type': {'key': 'type', 'type': 'str'},
        'outer_type': {'key': 'outerType', 'type': 'str'},
        'outer_method': {'key': 'outerMethod', 'type': 'str'},
        'outer_assembly': {'key': 'outerAssembly', 'type': 'str'},
        'outer_message': {'key': 'outerMessage', 'type': 'str'},
        'innermost_type': {'key': 'innermostType', 'type': 'str'},
        'innermost_message': {'key': 'innermostMessage', 'type': 'str'},
        'innermost_method': {'key': 'innermostMethod', 'type': 'str'},
        'innermost_assembly': {'key': 'innermostAssembly', 'type': 'str'},
        'details': {'key': 'details', 'type': '[EventsExceptionDetail]'},
    }

    def __init__(self, *, severity_level: int=None, problem_id: str=None, handled_at: str=None, assembly: str=None, method: str=None, message: str=None, type: str=None, outer_type: str=None, outer_method: str=None, outer_assembly: str=None, outer_message: str=None, innermost_type: str=None, innermost_message: str=None, innermost_method: str=None, innermost_assembly: str=None, details=None, **kwargs) -> None:
        super(EventsExceptionInfo, self).__init__(**kwargs)
        self.severity_level = severity_level
        self.problem_id = problem_id
        self.handled_at = handled_at
        self.assembly = assembly
        self.method = method
        self.message = message
        self.type = type
        self.outer_type = outer_type
        self.outer_method = outer_method
        self.outer_assembly = outer_assembly
        self.outer_message = outer_message
        self.innermost_type = innermost_type
        self.innermost_message = innermost_message
        self.innermost_method = innermost_method
        self.innermost_assembly = innermost_assembly
        self.details = details