File: models.py

package info (click to toggle)
azure-devops-cli-extension 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,384 kB
  • sloc: python: 160,782; xml: 198; makefile: 56; sh: 51
file content (57 lines) | stat: -rw-r--r-- 1,978 bytes parent folder | download | duplicates (7)
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
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------

from msrest.serialization import Model


class ClientTraceEvent(Model):
    """
    :param area:
    :type area: str
    :param component:
    :type component: str
    :param exception_type:
    :type exception_type: str
    :param feature:
    :type feature: str
    :param level:
    :type level: object
    :param message:
    :type message: str
    :param method:
    :type method: str
    :param properties:
    :type properties: dict
    """

    _attribute_map = {
        'area': {'key': 'area', 'type': 'str'},
        'component': {'key': 'component', 'type': 'str'},
        'exception_type': {'key': 'exceptionType', 'type': 'str'},
        'feature': {'key': 'feature', 'type': 'str'},
        'level': {'key': 'level', 'type': 'object'},
        'message': {'key': 'message', 'type': 'str'},
        'method': {'key': 'method', 'type': 'str'},
        'properties': {'key': 'properties', 'type': '{object}'}
    }

    def __init__(self, area=None, component=None, exception_type=None, feature=None, level=None, message=None, method=None, properties=None):
        super(ClientTraceEvent, self).__init__()
        self.area = area
        self.component = component
        self.exception_type = exception_type
        self.feature = feature
        self.level = level
        self.message = message
        self.method = method
        self.properties = properties


__all__ = [
    'ClientTraceEvent',
]