wds-client 0.2.104__py3-none-any.whl → 0.2.105__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wds_client/__init__.py +1 -4
- wds_client/api_client.py +1 -1
- wds_client/configuration.py +1 -1
- wds_client/models/__init__.py +0 -3
- {wds_client-0.2.104.dist-info → wds_client-0.2.105.dist-info}/METADATA +1 -1
- {wds_client-0.2.104.dist-info → wds_client-0.2.105.dist-info}/RECORD +8 -11
- wds_client/models/request_body_search.py +0 -149
- wds_client/models/search_operator.py +0 -100
- wds_client/models/stack_trace_element.py +0 -210
- {wds_client-0.2.104.dist-info → wds_client-0.2.105.dist-info}/WHEEL +0 -0
- {wds_client-0.2.104.dist-info → wds_client-0.2.105.dist-info}/top_level.txt +0 -0
wds_client/__init__.py
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
from __future__ import absolute_import
|
16
16
|
|
17
|
-
__version__ = "0.2.
|
17
|
+
__version__ = "0.2.105"
|
18
18
|
|
19
19
|
# import apis into sdk package
|
20
20
|
from wds_client.api.cloning_api import CloningApi
|
@@ -68,11 +68,8 @@ from wds_client.models.record_query_response import RecordQueryResponse
|
|
68
68
|
from wds_client.models.record_request import RecordRequest
|
69
69
|
from wds_client.models.record_response import RecordResponse
|
70
70
|
from wds_client.models.record_type_schema import RecordTypeSchema
|
71
|
-
from wds_client.models.request_body_search import RequestBodySearch
|
72
|
-
from wds_client.models.search_operator import SearchOperator
|
73
71
|
from wds_client.models.search_request import SearchRequest
|
74
72
|
from wds_client.models.search_sort_direction import SearchSortDirection
|
75
|
-
from wds_client.models.stack_trace_element import StackTraceElement
|
76
73
|
from wds_client.models.status_response import StatusResponse
|
77
74
|
from wds_client.models.tsv_upload_response import TsvUploadResponse
|
78
75
|
from wds_client.models.version_response import VersionResponse
|
wds_client/api_client.py
CHANGED
@@ -78,7 +78,7 @@ class ApiClient(object):
|
|
78
78
|
self.default_headers[header_name] = header_value
|
79
79
|
self.cookie = cookie
|
80
80
|
# Set default User-Agent.
|
81
|
-
self.user_agent = 'wds-client/0.2.
|
81
|
+
self.user_agent = 'wds-client/0.2.105/python'
|
82
82
|
self.client_side_validation = configuration.client_side_validation
|
83
83
|
|
84
84
|
def __enter__(self):
|
wds_client/configuration.py
CHANGED
@@ -336,7 +336,7 @@ class Configuration(object):
|
|
336
336
|
"OS: {env}\n"\
|
337
337
|
"Python Version: {pyversion}\n"\
|
338
338
|
"Version of the API: v0.2\n"\
|
339
|
-
"SDK Package Version: 0.2.
|
339
|
+
"SDK Package Version: 0.2.105".\
|
340
340
|
format(env=sys.platform, pyversion=sys.version)
|
341
341
|
|
342
342
|
def get_host_settings(self):
|
wds_client/models/__init__.py
CHANGED
@@ -47,11 +47,8 @@ from wds_client.models.record_query_response import RecordQueryResponse
|
|
47
47
|
from wds_client.models.record_request import RecordRequest
|
48
48
|
from wds_client.models.record_response import RecordResponse
|
49
49
|
from wds_client.models.record_type_schema import RecordTypeSchema
|
50
|
-
from wds_client.models.request_body_search import RequestBodySearch
|
51
|
-
from wds_client.models.search_operator import SearchOperator
|
52
50
|
from wds_client.models.search_request import SearchRequest
|
53
51
|
from wds_client.models.search_sort_direction import SearchSortDirection
|
54
|
-
from wds_client.models.stack_trace_element import StackTraceElement
|
55
52
|
from wds_client.models.status_response import StatusResponse
|
56
53
|
from wds_client.models.tsv_upload_response import TsvUploadResponse
|
57
54
|
from wds_client.models.version_response import VersionResponse
|
@@ -1,6 +1,6 @@
|
|
1
|
-
wds_client/__init__.py,sha256=
|
2
|
-
wds_client/api_client.py,sha256=
|
3
|
-
wds_client/configuration.py,sha256=
|
1
|
+
wds_client/__init__.py,sha256=4YtJcmT7ptjZyQ23sCtK-FiUe6yOsCDowPxTGyE4tRI,3450
|
2
|
+
wds_client/api_client.py,sha256=RviT9V7AAOyBBpgT4Vf0jEMJsnkxeueHnOeUYMIXC2M,26211
|
3
|
+
wds_client/configuration.py,sha256=EFt59q4j8_r9YJAuhj6oQdbq_nCbOaZR8g8-ABkavaQ,12788
|
4
4
|
wds_client/exceptions.py,sha256=0mEseFMbvxS5JfgkbPg14sxBI7bW0Gt0Ftxs96_LCyg,3781
|
5
5
|
wds_client/rest.py,sha256=v-8FIxQfUQ7bkeKfe9qsi9en8uQa5Zf5uSqhrui_cRw,12309
|
6
6
|
wds_client/api/__init__.py,sha256=1n51N7iU_aHw92E_eJxKrIAyzKiCby7k7iP6PbsNiJk,513
|
@@ -12,7 +12,7 @@ wds_client/api/job_api.py,sha256=UoB-mwKMt0S3qXazHNHCHb9vHiLOKoBm6gP16bTDRvE,566
|
|
12
12
|
wds_client/api/records_api.py,sha256=kH_DklhEdBFbyCAOBfsy82J_kD7t-dfhJDTeI9PmeZ8,61562
|
13
13
|
wds_client/api/schema_api.py,sha256=Q5F0-x6YSXkuvkCkJ08urPKBXjz4K0K0giNB_zL5d5A,19354
|
14
14
|
wds_client/api/snapshots_api.py,sha256=FbALl-ezSBE4vJ6vE3y9DV3DAQAuWRbQXM5huE2vV_c,7238
|
15
|
-
wds_client/models/__init__.py,sha256=
|
15
|
+
wds_client/models/__init__.py,sha256=Z8wtIr2gyQyF8ZgV3rSlyclAtZJtgDHwMFq5nEqvIMo,2614
|
16
16
|
wds_client/models/app.py,sha256=3sIUtT5T8VXBcNvD07QVOQHOxD_8dp0QSMeWcvCflCQ,3917
|
17
17
|
wds_client/models/attribute_schema.py,sha256=ZrJZ1ow_F5O7cT0aKAawY3SJ-c-PxYo3bWA_p6aZ5RI,6287
|
18
18
|
wds_client/models/backup_job.py,sha256=CiyRVsTKxy_VStE6OK6sad8j84l1pPH0-5-9z85j7RA,8882
|
@@ -46,15 +46,12 @@ wds_client/models/record_query_response.py,sha256=1Z697LJ_zCbgzg2l1YRikJRirWV1-B
|
|
46
46
|
wds_client/models/record_request.py,sha256=ni69oyvVQWMcC62eMzPDSB06TNCiqeNpSmwottDm1C0,3882
|
47
47
|
wds_client/models/record_response.py,sha256=c29gawF9y0ePjZ9aRiR66u-x_GGXjK6ik_N30t1gtVQ,5458
|
48
48
|
wds_client/models/record_type_schema.py,sha256=cPbDQH0kvz91z1IZ_s3Zbrpqx_hrWYfG96bhjOrtaM0,6722
|
49
|
-
wds_client/models/request_body_search.py,sha256=bmVw78S4KP-xYaFiQ0xXC1RXqYkz9egubl3nYYN7IUM,4315
|
50
|
-
wds_client/models/search_operator.py,sha256=hhQp1n2Dy1Ef2Yt3-k6uLACuZ_uUOtRRO9TMZVkQZNQ,2798
|
51
49
|
wds_client/models/search_request.py,sha256=NkwtPyTVFwe9kJL5PUIeRFd0bORb6-lErw5c-Djy96c,6218
|
52
50
|
wds_client/models/search_sort_direction.py,sha256=qR4x09JH9HLuTwvBL8OJrJrw5DwI_KwcTU8I-vjNYO8,2824
|
53
|
-
wds_client/models/stack_trace_element.py,sha256=9KbWCs54HXKOIW69K8q9wqGoA_5wSHwUb__XetX_wc0,6496
|
54
51
|
wds_client/models/status_response.py,sha256=TjCfqrE5KFZ-3DmEePndQUOD-GWGVtdpAzOw-d8QEPk,4030
|
55
52
|
wds_client/models/tsv_upload_response.py,sha256=JdEs9hwyH264eLhQYj9d7p9B4cCP5-wkpgMg6qk8GNI,4507
|
56
53
|
wds_client/models/version_response.py,sha256=rHOAaXFPx0CjAe3hJ_2TzYUrhaTY5yfxA3rlf5XcytM,4436
|
57
|
-
wds_client-0.2.
|
58
|
-
wds_client-0.2.
|
59
|
-
wds_client-0.2.
|
60
|
-
wds_client-0.2.
|
54
|
+
wds_client-0.2.105.dist-info/METADATA,sha256=opL6Aza5VDEcB79eGEat6cwfgWaixRNDrRBu3POSTTQ,468
|
55
|
+
wds_client-0.2.105.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
56
|
+
wds_client-0.2.105.dist-info/top_level.txt,sha256=hU2h533r5-3FzApV8ps3zXmQJKy74SPT3sYR8-uZhp8,11
|
57
|
+
wds_client-0.2.105.dist-info/RECORD,,
|
@@ -1,149 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Workspace Data Service
|
5
|
-
|
6
|
-
This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v0.2
|
9
|
-
Generated by: https://openapi-generator.tech
|
10
|
-
"""
|
11
|
-
|
12
|
-
|
13
|
-
import pprint
|
14
|
-
import re # noqa: F401
|
15
|
-
|
16
|
-
import six
|
17
|
-
|
18
|
-
from wds_client.configuration import Configuration
|
19
|
-
|
20
|
-
|
21
|
-
class RequestBodySearch(object):
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
-
Ref: https://openapi-generator.tech
|
24
|
-
|
25
|
-
Do not edit the class manually.
|
26
|
-
"""
|
27
|
-
|
28
|
-
"""
|
29
|
-
Attributes:
|
30
|
-
openapi_types (dict): The key is attribute name
|
31
|
-
and the value is attribute type.
|
32
|
-
attribute_map (dict): The key is attribute name
|
33
|
-
and the value is json key in definition.
|
34
|
-
"""
|
35
|
-
openapi_types = {
|
36
|
-
'terms': 'str',
|
37
|
-
'operator': 'SearchOperator'
|
38
|
-
}
|
39
|
-
|
40
|
-
attribute_map = {
|
41
|
-
'terms': 'terms',
|
42
|
-
'operator': 'operator'
|
43
|
-
}
|
44
|
-
|
45
|
-
def __init__(self, terms=None, operator=None, local_vars_configuration=None): # noqa: E501
|
46
|
-
"""RequestBodySearch - a model defined in OpenAPI""" # noqa: E501
|
47
|
-
if local_vars_configuration is None:
|
48
|
-
local_vars_configuration = Configuration()
|
49
|
-
self.local_vars_configuration = local_vars_configuration
|
50
|
-
|
51
|
-
self._terms = None
|
52
|
-
self._operator = None
|
53
|
-
self.discriminator = None
|
54
|
-
|
55
|
-
self.terms = terms
|
56
|
-
if operator is not None:
|
57
|
-
self.operator = operator
|
58
|
-
|
59
|
-
@property
|
60
|
-
def terms(self):
|
61
|
-
"""Gets the terms of this RequestBodySearch. # noqa: E501
|
62
|
-
|
63
|
-
Space-delimited list of terms on which to search # noqa: E501
|
64
|
-
|
65
|
-
:return: The terms of this RequestBodySearch. # noqa: E501
|
66
|
-
:rtype: str
|
67
|
-
"""
|
68
|
-
return self._terms
|
69
|
-
|
70
|
-
@terms.setter
|
71
|
-
def terms(self, terms):
|
72
|
-
"""Sets the terms of this RequestBodySearch.
|
73
|
-
|
74
|
-
Space-delimited list of terms on which to search # noqa: E501
|
75
|
-
|
76
|
-
:param terms: The terms of this RequestBodySearch. # noqa: E501
|
77
|
-
:type: str
|
78
|
-
"""
|
79
|
-
if self.local_vars_configuration.client_side_validation and terms is None: # noqa: E501
|
80
|
-
raise ValueError("Invalid value for `terms`, must not be `None`") # noqa: E501
|
81
|
-
|
82
|
-
self._terms = terms
|
83
|
-
|
84
|
-
@property
|
85
|
-
def operator(self):
|
86
|
-
"""Gets the operator of this RequestBodySearch. # noqa: E501
|
87
|
-
|
88
|
-
|
89
|
-
:return: The operator of this RequestBodySearch. # noqa: E501
|
90
|
-
:rtype: SearchOperator
|
91
|
-
"""
|
92
|
-
return self._operator
|
93
|
-
|
94
|
-
@operator.setter
|
95
|
-
def operator(self, operator):
|
96
|
-
"""Sets the operator of this RequestBodySearch.
|
97
|
-
|
98
|
-
|
99
|
-
:param operator: The operator of this RequestBodySearch. # noqa: E501
|
100
|
-
:type: SearchOperator
|
101
|
-
"""
|
102
|
-
|
103
|
-
self._operator = operator
|
104
|
-
|
105
|
-
def to_dict(self):
|
106
|
-
"""Returns the model properties as a dict"""
|
107
|
-
result = {}
|
108
|
-
|
109
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
110
|
-
value = getattr(self, attr)
|
111
|
-
if isinstance(value, list):
|
112
|
-
result[attr] = list(map(
|
113
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
114
|
-
value
|
115
|
-
))
|
116
|
-
elif hasattr(value, "to_dict"):
|
117
|
-
result[attr] = value.to_dict()
|
118
|
-
elif isinstance(value, dict):
|
119
|
-
result[attr] = dict(map(
|
120
|
-
lambda item: (item[0], item[1].to_dict())
|
121
|
-
if hasattr(item[1], "to_dict") else item,
|
122
|
-
value.items()
|
123
|
-
))
|
124
|
-
else:
|
125
|
-
result[attr] = value
|
126
|
-
|
127
|
-
return result
|
128
|
-
|
129
|
-
def to_str(self):
|
130
|
-
"""Returns the string representation of the model"""
|
131
|
-
return pprint.pformat(self.to_dict())
|
132
|
-
|
133
|
-
def __repr__(self):
|
134
|
-
"""For `print` and `pprint`"""
|
135
|
-
return self.to_str()
|
136
|
-
|
137
|
-
def __eq__(self, other):
|
138
|
-
"""Returns true if both objects are equal"""
|
139
|
-
if not isinstance(other, RequestBodySearch):
|
140
|
-
return False
|
141
|
-
|
142
|
-
return self.to_dict() == other.to_dict()
|
143
|
-
|
144
|
-
def __ne__(self, other):
|
145
|
-
"""Returns true if both objects are not equal"""
|
146
|
-
if not isinstance(other, RequestBodySearch):
|
147
|
-
return True
|
148
|
-
|
149
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,100 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Workspace Data Service
|
5
|
-
|
6
|
-
This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v0.2
|
9
|
-
Generated by: https://openapi-generator.tech
|
10
|
-
"""
|
11
|
-
|
12
|
-
|
13
|
-
import pprint
|
14
|
-
import re # noqa: F401
|
15
|
-
|
16
|
-
import six
|
17
|
-
|
18
|
-
from wds_client.configuration import Configuration
|
19
|
-
|
20
|
-
|
21
|
-
class SearchOperator(object):
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
-
Ref: https://openapi-generator.tech
|
24
|
-
|
25
|
-
Do not edit the class manually.
|
26
|
-
"""
|
27
|
-
|
28
|
-
"""
|
29
|
-
allowed enum values
|
30
|
-
"""
|
31
|
-
AND = "and"
|
32
|
-
OR = "or"
|
33
|
-
|
34
|
-
allowable_values = [AND, OR] # noqa: E501
|
35
|
-
|
36
|
-
"""
|
37
|
-
Attributes:
|
38
|
-
openapi_types (dict): The key is attribute name
|
39
|
-
and the value is attribute type.
|
40
|
-
attribute_map (dict): The key is attribute name
|
41
|
-
and the value is json key in definition.
|
42
|
-
"""
|
43
|
-
openapi_types = {
|
44
|
-
}
|
45
|
-
|
46
|
-
attribute_map = {
|
47
|
-
}
|
48
|
-
|
49
|
-
def __init__(self, local_vars_configuration=None): # noqa: E501
|
50
|
-
"""SearchOperator - a model defined in OpenAPI""" # noqa: E501
|
51
|
-
if local_vars_configuration is None:
|
52
|
-
local_vars_configuration = Configuration()
|
53
|
-
self.local_vars_configuration = local_vars_configuration
|
54
|
-
self.discriminator = None
|
55
|
-
|
56
|
-
def to_dict(self):
|
57
|
-
"""Returns the model properties as a dict"""
|
58
|
-
result = {}
|
59
|
-
|
60
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
61
|
-
value = getattr(self, attr)
|
62
|
-
if isinstance(value, list):
|
63
|
-
result[attr] = list(map(
|
64
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
65
|
-
value
|
66
|
-
))
|
67
|
-
elif hasattr(value, "to_dict"):
|
68
|
-
result[attr] = value.to_dict()
|
69
|
-
elif isinstance(value, dict):
|
70
|
-
result[attr] = dict(map(
|
71
|
-
lambda item: (item[0], item[1].to_dict())
|
72
|
-
if hasattr(item[1], "to_dict") else item,
|
73
|
-
value.items()
|
74
|
-
))
|
75
|
-
else:
|
76
|
-
result[attr] = value
|
77
|
-
|
78
|
-
return result
|
79
|
-
|
80
|
-
def to_str(self):
|
81
|
-
"""Returns the string representation of the model"""
|
82
|
-
return pprint.pformat(self.to_dict())
|
83
|
-
|
84
|
-
def __repr__(self):
|
85
|
-
"""For `print` and `pprint`"""
|
86
|
-
return self.to_str()
|
87
|
-
|
88
|
-
def __eq__(self, other):
|
89
|
-
"""Returns true if both objects are equal"""
|
90
|
-
if not isinstance(other, SearchOperator):
|
91
|
-
return False
|
92
|
-
|
93
|
-
return self.to_dict() == other.to_dict()
|
94
|
-
|
95
|
-
def __ne__(self, other):
|
96
|
-
"""Returns true if both objects are not equal"""
|
97
|
-
if not isinstance(other, SearchOperator):
|
98
|
-
return True
|
99
|
-
|
100
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,210 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Workspace Data Service
|
5
|
-
|
6
|
-
This page lists current APIs. As of v0.2, all APIs are subject to change without notice. # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v0.2
|
9
|
-
Generated by: https://openapi-generator.tech
|
10
|
-
"""
|
11
|
-
|
12
|
-
|
13
|
-
import pprint
|
14
|
-
import re # noqa: F401
|
15
|
-
|
16
|
-
import six
|
17
|
-
|
18
|
-
from wds_client.configuration import Configuration
|
19
|
-
|
20
|
-
|
21
|
-
class StackTraceElement(object):
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
-
Ref: https://openapi-generator.tech
|
24
|
-
|
25
|
-
Do not edit the class manually.
|
26
|
-
"""
|
27
|
-
|
28
|
-
"""
|
29
|
-
Attributes:
|
30
|
-
openapi_types (dict): The key is attribute name
|
31
|
-
and the value is attribute type.
|
32
|
-
attribute_map (dict): The key is attribute name
|
33
|
-
and the value is json key in definition.
|
34
|
-
"""
|
35
|
-
openapi_types = {
|
36
|
-
'class_name': 'str',
|
37
|
-
'method_name': 'str',
|
38
|
-
'file_name': 'str',
|
39
|
-
'line_number': 'int'
|
40
|
-
}
|
41
|
-
|
42
|
-
attribute_map = {
|
43
|
-
'class_name': 'className',
|
44
|
-
'method_name': 'methodName',
|
45
|
-
'file_name': 'fileName',
|
46
|
-
'line_number': 'lineNumber'
|
47
|
-
}
|
48
|
-
|
49
|
-
def __init__(self, class_name=None, method_name=None, file_name=None, line_number=None, local_vars_configuration=None): # noqa: E501
|
50
|
-
"""StackTraceElement - a model defined in OpenAPI""" # noqa: E501
|
51
|
-
if local_vars_configuration is None:
|
52
|
-
local_vars_configuration = Configuration()
|
53
|
-
self.local_vars_configuration = local_vars_configuration
|
54
|
-
|
55
|
-
self._class_name = None
|
56
|
-
self._method_name = None
|
57
|
-
self._file_name = None
|
58
|
-
self._line_number = None
|
59
|
-
self.discriminator = None
|
60
|
-
|
61
|
-
self.class_name = class_name
|
62
|
-
self.method_name = method_name
|
63
|
-
self.file_name = file_name
|
64
|
-
self.line_number = line_number
|
65
|
-
|
66
|
-
@property
|
67
|
-
def class_name(self):
|
68
|
-
"""Gets the class_name of this StackTraceElement. # noqa: E501
|
69
|
-
|
70
|
-
class name # noqa: E501
|
71
|
-
|
72
|
-
:return: The class_name of this StackTraceElement. # noqa: E501
|
73
|
-
:rtype: str
|
74
|
-
"""
|
75
|
-
return self._class_name
|
76
|
-
|
77
|
-
@class_name.setter
|
78
|
-
def class_name(self, class_name):
|
79
|
-
"""Sets the class_name of this StackTraceElement.
|
80
|
-
|
81
|
-
class name # noqa: E501
|
82
|
-
|
83
|
-
:param class_name: The class_name of this StackTraceElement. # noqa: E501
|
84
|
-
:type: str
|
85
|
-
"""
|
86
|
-
if self.local_vars_configuration.client_side_validation and class_name is None: # noqa: E501
|
87
|
-
raise ValueError("Invalid value for `class_name`, must not be `None`") # noqa: E501
|
88
|
-
|
89
|
-
self._class_name = class_name
|
90
|
-
|
91
|
-
@property
|
92
|
-
def method_name(self):
|
93
|
-
"""Gets the method_name of this StackTraceElement. # noqa: E501
|
94
|
-
|
95
|
-
method name # noqa: E501
|
96
|
-
|
97
|
-
:return: The method_name of this StackTraceElement. # noqa: E501
|
98
|
-
:rtype: str
|
99
|
-
"""
|
100
|
-
return self._method_name
|
101
|
-
|
102
|
-
@method_name.setter
|
103
|
-
def method_name(self, method_name):
|
104
|
-
"""Sets the method_name of this StackTraceElement.
|
105
|
-
|
106
|
-
method name # noqa: E501
|
107
|
-
|
108
|
-
:param method_name: The method_name of this StackTraceElement. # noqa: E501
|
109
|
-
:type: str
|
110
|
-
"""
|
111
|
-
if self.local_vars_configuration.client_side_validation and method_name is None: # noqa: E501
|
112
|
-
raise ValueError("Invalid value for `method_name`, must not be `None`") # noqa: E501
|
113
|
-
|
114
|
-
self._method_name = method_name
|
115
|
-
|
116
|
-
@property
|
117
|
-
def file_name(self):
|
118
|
-
"""Gets the file_name of this StackTraceElement. # noqa: E501
|
119
|
-
|
120
|
-
source file name # noqa: E501
|
121
|
-
|
122
|
-
:return: The file_name of this StackTraceElement. # noqa: E501
|
123
|
-
:rtype: str
|
124
|
-
"""
|
125
|
-
return self._file_name
|
126
|
-
|
127
|
-
@file_name.setter
|
128
|
-
def file_name(self, file_name):
|
129
|
-
"""Sets the file_name of this StackTraceElement.
|
130
|
-
|
131
|
-
source file name # noqa: E501
|
132
|
-
|
133
|
-
:param file_name: The file_name of this StackTraceElement. # noqa: E501
|
134
|
-
:type: str
|
135
|
-
"""
|
136
|
-
if self.local_vars_configuration.client_side_validation and file_name is None: # noqa: E501
|
137
|
-
raise ValueError("Invalid value for `file_name`, must not be `None`") # noqa: E501
|
138
|
-
|
139
|
-
self._file_name = file_name
|
140
|
-
|
141
|
-
@property
|
142
|
-
def line_number(self):
|
143
|
-
"""Gets the line_number of this StackTraceElement. # noqa: E501
|
144
|
-
|
145
|
-
line number # noqa: E501
|
146
|
-
|
147
|
-
:return: The line_number of this StackTraceElement. # noqa: E501
|
148
|
-
:rtype: int
|
149
|
-
"""
|
150
|
-
return self._line_number
|
151
|
-
|
152
|
-
@line_number.setter
|
153
|
-
def line_number(self, line_number):
|
154
|
-
"""Sets the line_number of this StackTraceElement.
|
155
|
-
|
156
|
-
line number # noqa: E501
|
157
|
-
|
158
|
-
:param line_number: The line_number of this StackTraceElement. # noqa: E501
|
159
|
-
:type: int
|
160
|
-
"""
|
161
|
-
if self.local_vars_configuration.client_side_validation and line_number is None: # noqa: E501
|
162
|
-
raise ValueError("Invalid value for `line_number`, must not be `None`") # noqa: E501
|
163
|
-
|
164
|
-
self._line_number = line_number
|
165
|
-
|
166
|
-
def to_dict(self):
|
167
|
-
"""Returns the model properties as a dict"""
|
168
|
-
result = {}
|
169
|
-
|
170
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
171
|
-
value = getattr(self, attr)
|
172
|
-
if isinstance(value, list):
|
173
|
-
result[attr] = list(map(
|
174
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
175
|
-
value
|
176
|
-
))
|
177
|
-
elif hasattr(value, "to_dict"):
|
178
|
-
result[attr] = value.to_dict()
|
179
|
-
elif isinstance(value, dict):
|
180
|
-
result[attr] = dict(map(
|
181
|
-
lambda item: (item[0], item[1].to_dict())
|
182
|
-
if hasattr(item[1], "to_dict") else item,
|
183
|
-
value.items()
|
184
|
-
))
|
185
|
-
else:
|
186
|
-
result[attr] = value
|
187
|
-
|
188
|
-
return result
|
189
|
-
|
190
|
-
def to_str(self):
|
191
|
-
"""Returns the string representation of the model"""
|
192
|
-
return pprint.pformat(self.to_dict())
|
193
|
-
|
194
|
-
def __repr__(self):
|
195
|
-
"""For `print` and `pprint`"""
|
196
|
-
return self.to_str()
|
197
|
-
|
198
|
-
def __eq__(self, other):
|
199
|
-
"""Returns true if both objects are equal"""
|
200
|
-
if not isinstance(other, StackTraceElement):
|
201
|
-
return False
|
202
|
-
|
203
|
-
return self.to_dict() == other.to_dict()
|
204
|
-
|
205
|
-
def __ne__(self, other):
|
206
|
-
"""Returns true if both objects are not equal"""
|
207
|
-
if not isinstance(other, StackTraceElement):
|
208
|
-
return True
|
209
|
-
|
210
|
-
return self.to_dict() != other.to_dict()
|
File without changes
|
File without changes
|