regula.documentreader.webclient 7.5.158.dev0__py3-none-any.whl → 7.5.160.dev0__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.
- regula/documentreader/webclient/gen/__init__.py +5 -1
- regula/documentreader/webclient/gen/api/healthcheck_api.py +7 -7
- regula/documentreader/webclient/gen/api/transaction_api.py +10 -10
- regula/documentreader/webclient/gen/models/__init__.py +5 -1
- regula/documentreader/webclient/gen/models/byte_array_result.py +255 -0
- regula/documentreader/webclient/gen/models/byte_array_result_all_of.py +122 -0
- regula/documentreader/webclient/gen/models/check_diagnose.py +7 -1
- regula/documentreader/webclient/gen/models/document_image.py +31 -3
- regula/documentreader/webclient/gen/models/document_image_result.py +1 -1
- regula/documentreader/webclient/gen/models/document_image_result_all_of.py +1 -1
- regula/documentreader/webclient/gen/models/documents_database.py +205 -0
- regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py +3 -3
- regula/documentreader/webclient/gen/models/healthcheck.py +310 -0
- regula/documentreader/webclient/gen/models/healthcheck_documents_database.py +201 -0
- regula/documentreader/webclient/gen/models/image_data.py +31 -3
- regula/documentreader/webclient/gen/models/process_params.py +117 -5
- regula/documentreader/webclient/gen/models/process_request.py +59 -3
- regula/documentreader/webclient/gen/models/result.py +3 -1
- regula/documentreader/webclient/gen/models/result_item.py +2 -0
- regula/documentreader/webclient/gen/models/scenario.py +3 -1
- regula/documentreader/webclient/gen/models/security_feature_type.py +5 -1
- regula/documentreader/webclient/gen/models/text_field_type.py +9 -1
- regula/documentreader/webclient/gen/models/transaction_info.py +121 -3
- regula/documentreader/webclient/gen/models/transaction_process_get_response.py +3 -3
- regula/documentreader/webclient/gen/models/transaction_process_request.py +31 -3
- {regula.documentreader.webclient-7.5.158.dev0.dist-info → regula.documentreader.webclient-7.5.160.dev0.dist-info}/METADATA +1 -1
- {regula.documentreader.webclient-7.5.158.dev0.dist-info → regula.documentreader.webclient-7.5.160.dev0.dist-info}/RECORD +29 -24
- {regula.documentreader.webclient-7.5.158.dev0.dist-info → regula.documentreader.webclient-7.5.160.dev0.dist-info}/WHEEL +0 -0
- {regula.documentreader.webclient-7.5.158.dev0.dist-info → regula.documentreader.webclient-7.5.160.dev0.dist-info}/top_level.txt +0 -0
|
@@ -32,23 +32,28 @@ class DocumentImage(object):
|
|
|
32
32
|
and the value is json key in definition.
|
|
33
33
|
"""
|
|
34
34
|
openapi_types = {
|
|
35
|
-
'image': 'str'
|
|
35
|
+
'image': 'str',
|
|
36
|
+
'format': 'str'
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
attribute_map = {
|
|
39
|
-
'image': 'image'
|
|
40
|
+
'image': 'image',
|
|
41
|
+
'format': 'format'
|
|
40
42
|
}
|
|
41
43
|
|
|
42
|
-
def __init__(self, image=None, local_vars_configuration=None): # noqa: E501
|
|
44
|
+
def __init__(self, image=None, format=None, local_vars_configuration=None): # noqa: E501
|
|
43
45
|
"""DocumentImage - a model defined in OpenAPI""" # noqa: E501
|
|
44
46
|
if local_vars_configuration is None:
|
|
45
47
|
local_vars_configuration = Configuration()
|
|
46
48
|
self.local_vars_configuration = local_vars_configuration
|
|
47
49
|
|
|
48
50
|
self._image = None
|
|
51
|
+
self._format = None
|
|
49
52
|
self.discriminator = None
|
|
50
53
|
|
|
51
54
|
self.image = image
|
|
55
|
+
if format is not None:
|
|
56
|
+
self.format = format
|
|
52
57
|
|
|
53
58
|
@property
|
|
54
59
|
def image(self):
|
|
@@ -75,6 +80,29 @@ class DocumentImage(object):
|
|
|
75
80
|
|
|
76
81
|
self._image = image
|
|
77
82
|
|
|
83
|
+
@property
|
|
84
|
+
def format(self):
|
|
85
|
+
"""Gets the format of this DocumentImage. # noqa: E501
|
|
86
|
+
|
|
87
|
+
Image format # noqa: E501
|
|
88
|
+
|
|
89
|
+
:return: The format of this DocumentImage. # noqa: E501
|
|
90
|
+
:rtype: str
|
|
91
|
+
"""
|
|
92
|
+
return self._format
|
|
93
|
+
|
|
94
|
+
@format.setter
|
|
95
|
+
def format(self, format):
|
|
96
|
+
"""Sets the format of this DocumentImage.
|
|
97
|
+
|
|
98
|
+
Image format # noqa: E501
|
|
99
|
+
|
|
100
|
+
:param format: The format of this DocumentImage. # noqa: E501
|
|
101
|
+
:type format: str
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._format = format
|
|
105
|
+
|
|
78
106
|
def to_dict(self):
|
|
79
107
|
"""Returns the model properties as a dict"""
|
|
80
108
|
result = {}
|
|
@@ -15,7 +15,7 @@ from regula.documentreader.webclient.gen.models import *
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
"""
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
"""
|
|
20
20
|
class DocumentImageResultAllOf(object):
|
|
21
21
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Generated by: https://openapi-generator.tech
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import pprint
|
|
8
|
+
import re # noqa: F401
|
|
9
|
+
|
|
10
|
+
import six
|
|
11
|
+
|
|
12
|
+
from regula.documentreader.webclient.gen.configuration import Configuration
|
|
13
|
+
# this line was added to enable pycharm type hinting
|
|
14
|
+
from regula.documentreader.webclient.gen.models import *
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
"""
|
|
18
|
+
Document database information
|
|
19
|
+
"""
|
|
20
|
+
class DocumentsDatabase(object):
|
|
21
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
22
|
+
Ref: https://openapi-generator.tech
|
|
23
|
+
|
|
24
|
+
Do not edit the class manually.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
Attributes:
|
|
29
|
+
openapi_types (dict): The key is attribute name
|
|
30
|
+
and the value is attribute type.
|
|
31
|
+
attribute_map (dict): The key is attribute name
|
|
32
|
+
and the value is json key in definition.
|
|
33
|
+
"""
|
|
34
|
+
openapi_types = {
|
|
35
|
+
'description': 'str',
|
|
36
|
+
'export_date': 'str',
|
|
37
|
+
'id': 'str',
|
|
38
|
+
'version': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'description': 'Description',
|
|
43
|
+
'export_date': 'ExportDate',
|
|
44
|
+
'id': 'ID',
|
|
45
|
+
'version': 'Version'
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
def __init__(self, description=None, export_date=None, id=None, version=None, local_vars_configuration=None): # noqa: E501
|
|
49
|
+
"""DocumentsDatabase - a model defined in OpenAPI""" # noqa: E501
|
|
50
|
+
if local_vars_configuration is None:
|
|
51
|
+
local_vars_configuration = Configuration()
|
|
52
|
+
self.local_vars_configuration = local_vars_configuration
|
|
53
|
+
|
|
54
|
+
self._description = None
|
|
55
|
+
self._export_date = None
|
|
56
|
+
self._id = None
|
|
57
|
+
self._version = None
|
|
58
|
+
self.discriminator = None
|
|
59
|
+
|
|
60
|
+
if description is not None:
|
|
61
|
+
self.description = description
|
|
62
|
+
if export_date is not None:
|
|
63
|
+
self.export_date = export_date
|
|
64
|
+
if id is not None:
|
|
65
|
+
self.id = id
|
|
66
|
+
if version is not None:
|
|
67
|
+
self.version = version
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def description(self):
|
|
71
|
+
"""Gets the description of this DocumentsDatabase. # noqa: E501
|
|
72
|
+
|
|
73
|
+
Document database description # noqa: E501
|
|
74
|
+
|
|
75
|
+
:return: The description of this DocumentsDatabase. # noqa: E501
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._description
|
|
79
|
+
|
|
80
|
+
@description.setter
|
|
81
|
+
def description(self, description):
|
|
82
|
+
"""Sets the description of this DocumentsDatabase.
|
|
83
|
+
|
|
84
|
+
Document database description # noqa: E501
|
|
85
|
+
|
|
86
|
+
:param description: The description of this DocumentsDatabase. # noqa: E501
|
|
87
|
+
:type description: str
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
self._description = description
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def export_date(self):
|
|
94
|
+
"""Gets the export_date of this DocumentsDatabase. # noqa: E501
|
|
95
|
+
|
|
96
|
+
Date the document database was created # noqa: E501
|
|
97
|
+
|
|
98
|
+
:return: The export_date of this DocumentsDatabase. # noqa: E501
|
|
99
|
+
:rtype: str
|
|
100
|
+
"""
|
|
101
|
+
return self._export_date
|
|
102
|
+
|
|
103
|
+
@export_date.setter
|
|
104
|
+
def export_date(self, export_date):
|
|
105
|
+
"""Sets the export_date of this DocumentsDatabase.
|
|
106
|
+
|
|
107
|
+
Date the document database was created # noqa: E501
|
|
108
|
+
|
|
109
|
+
:param export_date: The export_date of this DocumentsDatabase. # noqa: E501
|
|
110
|
+
:type export_date: str
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
self._export_date = export_date
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
def id(self):
|
|
117
|
+
"""Gets the id of this DocumentsDatabase. # noqa: E501
|
|
118
|
+
|
|
119
|
+
Document database identifier # noqa: E501
|
|
120
|
+
|
|
121
|
+
:return: The id of this DocumentsDatabase. # noqa: E501
|
|
122
|
+
:rtype: str
|
|
123
|
+
"""
|
|
124
|
+
return self._id
|
|
125
|
+
|
|
126
|
+
@id.setter
|
|
127
|
+
def id(self, id):
|
|
128
|
+
"""Sets the id of this DocumentsDatabase.
|
|
129
|
+
|
|
130
|
+
Document database identifier # noqa: E501
|
|
131
|
+
|
|
132
|
+
:param id: The id of this DocumentsDatabase. # noqa: E501
|
|
133
|
+
:type id: str
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
self._id = id
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def version(self):
|
|
140
|
+
"""Gets the version of this DocumentsDatabase. # noqa: E501
|
|
141
|
+
|
|
142
|
+
Document database version # noqa: E501
|
|
143
|
+
|
|
144
|
+
:return: The version of this DocumentsDatabase. # noqa: E501
|
|
145
|
+
:rtype: str
|
|
146
|
+
"""
|
|
147
|
+
return self._version
|
|
148
|
+
|
|
149
|
+
@version.setter
|
|
150
|
+
def version(self, version):
|
|
151
|
+
"""Sets the version of this DocumentsDatabase.
|
|
152
|
+
|
|
153
|
+
Document database version # noqa: E501
|
|
154
|
+
|
|
155
|
+
:param version: The version of this DocumentsDatabase. # noqa: E501
|
|
156
|
+
:type version: str
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
self._version = version
|
|
160
|
+
|
|
161
|
+
def to_dict(self):
|
|
162
|
+
"""Returns the model properties as a dict"""
|
|
163
|
+
result = {}
|
|
164
|
+
|
|
165
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
166
|
+
value = getattr(self, attr)
|
|
167
|
+
if isinstance(value, list):
|
|
168
|
+
result[attr] = list(map(
|
|
169
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
170
|
+
value
|
|
171
|
+
))
|
|
172
|
+
elif hasattr(value, "to_dict"):
|
|
173
|
+
result[attr] = value.to_dict()
|
|
174
|
+
elif isinstance(value, dict):
|
|
175
|
+
result[attr] = dict(map(
|
|
176
|
+
lambda item: (item[0], item[1].to_dict())
|
|
177
|
+
if hasattr(item[1], "to_dict") else item,
|
|
178
|
+
value.items()
|
|
179
|
+
))
|
|
180
|
+
else:
|
|
181
|
+
result[attr] = value
|
|
182
|
+
|
|
183
|
+
return result
|
|
184
|
+
|
|
185
|
+
def to_str(self):
|
|
186
|
+
"""Returns the string representation of the model"""
|
|
187
|
+
return pprint.pformat(self.to_dict())
|
|
188
|
+
|
|
189
|
+
def __repr__(self):
|
|
190
|
+
"""For `print` and `pprint`"""
|
|
191
|
+
return self.to_str()
|
|
192
|
+
|
|
193
|
+
def __eq__(self, other):
|
|
194
|
+
"""Returns true if both objects are equal"""
|
|
195
|
+
if not isinstance(other, DocumentsDatabase):
|
|
196
|
+
return False
|
|
197
|
+
|
|
198
|
+
return self.to_dict() == other.to_dict()
|
|
199
|
+
|
|
200
|
+
def __ne__(self, other):
|
|
201
|
+
"""Returns true if both objects are not equal"""
|
|
202
|
+
if not isinstance(other, DocumentsDatabase):
|
|
203
|
+
return True
|
|
204
|
+
|
|
205
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -32,7 +32,7 @@ class GetTransactionsByTagResponse(object):
|
|
|
32
32
|
and the value is json key in definition.
|
|
33
33
|
"""
|
|
34
34
|
openapi_types = {
|
|
35
|
-
'id': '
|
|
35
|
+
'id': 'str',
|
|
36
36
|
'state': 'int',
|
|
37
37
|
'updated_at': 'datetime'
|
|
38
38
|
}
|
|
@@ -68,7 +68,7 @@ class GetTransactionsByTagResponse(object):
|
|
|
68
68
|
Transaction id # noqa: E501
|
|
69
69
|
|
|
70
70
|
:return: The id of this GetTransactionsByTagResponse. # noqa: E501
|
|
71
|
-
:rtype:
|
|
71
|
+
:rtype: str
|
|
72
72
|
"""
|
|
73
73
|
return self._id
|
|
74
74
|
|
|
@@ -79,7 +79,7 @@ class GetTransactionsByTagResponse(object):
|
|
|
79
79
|
Transaction id # noqa: E501
|
|
80
80
|
|
|
81
81
|
:param id: The id of this GetTransactionsByTagResponse. # noqa: E501
|
|
82
|
-
:type id:
|
|
82
|
+
:type id: str
|
|
83
83
|
"""
|
|
84
84
|
|
|
85
85
|
self._id = id
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Generated by: https://openapi-generator.tech
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import pprint
|
|
8
|
+
import re # noqa: F401
|
|
9
|
+
|
|
10
|
+
import six
|
|
11
|
+
|
|
12
|
+
from regula.documentreader.webclient.gen.configuration import Configuration
|
|
13
|
+
# this line was added to enable pycharm type hinting
|
|
14
|
+
from regula.documentreader.webclient.gen.models import *
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
"""
|
|
20
|
+
class Healthcheck(object):
|
|
21
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
22
|
+
Ref: https://openapi-generator.tech
|
|
23
|
+
|
|
24
|
+
Do not edit the class manually.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
Attributes:
|
|
29
|
+
openapi_types (dict): The key is attribute name
|
|
30
|
+
and the value is attribute type.
|
|
31
|
+
attribute_map (dict): The key is attribute name
|
|
32
|
+
and the value is json key in definition.
|
|
33
|
+
"""
|
|
34
|
+
openapi_types = {
|
|
35
|
+
'app': 'str',
|
|
36
|
+
'license_id': 'str',
|
|
37
|
+
'license_type': 'str',
|
|
38
|
+
'license_serial': 'str',
|
|
39
|
+
'license_valid_until': 'datetime',
|
|
40
|
+
'scenarios': 'list[str]',
|
|
41
|
+
'version': 'str',
|
|
42
|
+
'documents_database': 'HealthcheckDocumentsDatabase'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
'app': 'app',
|
|
47
|
+
'license_id': 'licenseId',
|
|
48
|
+
'license_type': 'licenseType',
|
|
49
|
+
'license_serial': 'licenseSerial',
|
|
50
|
+
'license_valid_until': 'licenseValidUntil',
|
|
51
|
+
'scenarios': 'scenarios',
|
|
52
|
+
'version': 'version',
|
|
53
|
+
'documents_database': 'documentsDatabase'
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
def __init__(self, app=None, license_id=None, license_type=None, license_serial=None, license_valid_until=None, scenarios=None, version=None, documents_database=None, local_vars_configuration=None): # noqa: E501
|
|
57
|
+
"""Healthcheck - a model defined in OpenAPI""" # noqa: E501
|
|
58
|
+
if local_vars_configuration is None:
|
|
59
|
+
local_vars_configuration = Configuration()
|
|
60
|
+
self.local_vars_configuration = local_vars_configuration
|
|
61
|
+
|
|
62
|
+
self._app = None
|
|
63
|
+
self._license_id = None
|
|
64
|
+
self._license_type = None
|
|
65
|
+
self._license_serial = None
|
|
66
|
+
self._license_valid_until = None
|
|
67
|
+
self._scenarios = None
|
|
68
|
+
self._version = None
|
|
69
|
+
self._documents_database = None
|
|
70
|
+
self.discriminator = None
|
|
71
|
+
|
|
72
|
+
self.app = app
|
|
73
|
+
self.license_id = license_id
|
|
74
|
+
self.license_type = license_type
|
|
75
|
+
self.license_serial = license_serial
|
|
76
|
+
self.license_valid_until = license_valid_until
|
|
77
|
+
self.scenarios = scenarios
|
|
78
|
+
self.version = version
|
|
79
|
+
if documents_database is not None:
|
|
80
|
+
self.documents_database = documents_database
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
def app(self):
|
|
84
|
+
"""Gets the app of this Healthcheck. # noqa: E501
|
|
85
|
+
|
|
86
|
+
Application name. # noqa: E501
|
|
87
|
+
|
|
88
|
+
:return: The app of this Healthcheck. # noqa: E501
|
|
89
|
+
:rtype: str
|
|
90
|
+
"""
|
|
91
|
+
return self._app
|
|
92
|
+
|
|
93
|
+
@app.setter
|
|
94
|
+
def app(self, app):
|
|
95
|
+
"""Sets the app of this Healthcheck.
|
|
96
|
+
|
|
97
|
+
Application name. # noqa: E501
|
|
98
|
+
|
|
99
|
+
:param app: The app of this Healthcheck. # noqa: E501
|
|
100
|
+
:type app: str
|
|
101
|
+
"""
|
|
102
|
+
if self.local_vars_configuration.client_side_validation and app is None: # noqa: E501
|
|
103
|
+
raise ValueError("Invalid value for `app`, must not be `None`") # noqa: E501
|
|
104
|
+
|
|
105
|
+
self._app = app
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def license_id(self):
|
|
109
|
+
"""Gets the license_id of this Healthcheck. # noqa: E501
|
|
110
|
+
|
|
111
|
+
Unique license identifier. # noqa: E501
|
|
112
|
+
|
|
113
|
+
:return: The license_id of this Healthcheck. # noqa: E501
|
|
114
|
+
:rtype: str
|
|
115
|
+
"""
|
|
116
|
+
return self._license_id
|
|
117
|
+
|
|
118
|
+
@license_id.setter
|
|
119
|
+
def license_id(self, license_id):
|
|
120
|
+
"""Sets the license_id of this Healthcheck.
|
|
121
|
+
|
|
122
|
+
Unique license identifier. # noqa: E501
|
|
123
|
+
|
|
124
|
+
:param license_id: The license_id of this Healthcheck. # noqa: E501
|
|
125
|
+
:type license_id: str
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
self._license_id = license_id
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def license_type(self):
|
|
132
|
+
"""Gets the license_type of this Healthcheck. # noqa: E501
|
|
133
|
+
|
|
134
|
+
License type. # noqa: E501
|
|
135
|
+
|
|
136
|
+
:return: The license_type of this Healthcheck. # noqa: E501
|
|
137
|
+
:rtype: str
|
|
138
|
+
"""
|
|
139
|
+
return self._license_type
|
|
140
|
+
|
|
141
|
+
@license_type.setter
|
|
142
|
+
def license_type(self, license_type):
|
|
143
|
+
"""Sets the license_type of this Healthcheck.
|
|
144
|
+
|
|
145
|
+
License type. # noqa: E501
|
|
146
|
+
|
|
147
|
+
:param license_type: The license_type of this Healthcheck. # noqa: E501
|
|
148
|
+
:type license_type: str
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
self._license_type = license_type
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
def license_serial(self):
|
|
155
|
+
"""Gets the license_serial of this Healthcheck. # noqa: E501
|
|
156
|
+
|
|
157
|
+
License serial number. # noqa: E501
|
|
158
|
+
|
|
159
|
+
:return: The license_serial of this Healthcheck. # noqa: E501
|
|
160
|
+
:rtype: str
|
|
161
|
+
"""
|
|
162
|
+
return self._license_serial
|
|
163
|
+
|
|
164
|
+
@license_serial.setter
|
|
165
|
+
def license_serial(self, license_serial):
|
|
166
|
+
"""Sets the license_serial of this Healthcheck.
|
|
167
|
+
|
|
168
|
+
License serial number. # noqa: E501
|
|
169
|
+
|
|
170
|
+
:param license_serial: The license_serial of this Healthcheck. # noqa: E501
|
|
171
|
+
:type license_serial: str
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
self._license_serial = license_serial
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
def license_valid_until(self):
|
|
178
|
+
"""Gets the license_valid_until of this Healthcheck. # noqa: E501
|
|
179
|
+
|
|
180
|
+
License validity date. # noqa: E501
|
|
181
|
+
|
|
182
|
+
:return: The license_valid_until of this Healthcheck. # noqa: E501
|
|
183
|
+
:rtype: datetime
|
|
184
|
+
"""
|
|
185
|
+
return self._license_valid_until
|
|
186
|
+
|
|
187
|
+
@license_valid_until.setter
|
|
188
|
+
def license_valid_until(self, license_valid_until):
|
|
189
|
+
"""Sets the license_valid_until of this Healthcheck.
|
|
190
|
+
|
|
191
|
+
License validity date. # noqa: E501
|
|
192
|
+
|
|
193
|
+
:param license_valid_until: The license_valid_until of this Healthcheck. # noqa: E501
|
|
194
|
+
:type license_valid_until: datetime
|
|
195
|
+
"""
|
|
196
|
+
|
|
197
|
+
self._license_valid_until = license_valid_until
|
|
198
|
+
|
|
199
|
+
@property
|
|
200
|
+
def scenarios(self):
|
|
201
|
+
"""Gets the scenarios of this Healthcheck. # noqa: E501
|
|
202
|
+
|
|
203
|
+
List of supported scenarios. # noqa: E501
|
|
204
|
+
|
|
205
|
+
:return: The scenarios of this Healthcheck. # noqa: E501
|
|
206
|
+
:rtype: list[str]
|
|
207
|
+
"""
|
|
208
|
+
return self._scenarios
|
|
209
|
+
|
|
210
|
+
@scenarios.setter
|
|
211
|
+
def scenarios(self, scenarios):
|
|
212
|
+
"""Sets the scenarios of this Healthcheck.
|
|
213
|
+
|
|
214
|
+
List of supported scenarios. # noqa: E501
|
|
215
|
+
|
|
216
|
+
:param scenarios: The scenarios of this Healthcheck. # noqa: E501
|
|
217
|
+
:type scenarios: list[str]
|
|
218
|
+
"""
|
|
219
|
+
|
|
220
|
+
self._scenarios = scenarios
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
def version(self):
|
|
224
|
+
"""Gets the version of this Healthcheck. # noqa: E501
|
|
225
|
+
|
|
226
|
+
Product version. # noqa: E501
|
|
227
|
+
|
|
228
|
+
:return: The version of this Healthcheck. # noqa: E501
|
|
229
|
+
:rtype: str
|
|
230
|
+
"""
|
|
231
|
+
return self._version
|
|
232
|
+
|
|
233
|
+
@version.setter
|
|
234
|
+
def version(self, version):
|
|
235
|
+
"""Sets the version of this Healthcheck.
|
|
236
|
+
|
|
237
|
+
Product version. # noqa: E501
|
|
238
|
+
|
|
239
|
+
:param version: The version of this Healthcheck. # noqa: E501
|
|
240
|
+
:type version: str
|
|
241
|
+
"""
|
|
242
|
+
|
|
243
|
+
self._version = version
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
def documents_database(self):
|
|
247
|
+
"""Gets the documents_database of this Healthcheck. # noqa: E501
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
:return: The documents_database of this Healthcheck. # noqa: E501
|
|
251
|
+
:rtype: HealthcheckDocumentsDatabase
|
|
252
|
+
"""
|
|
253
|
+
return self._documents_database
|
|
254
|
+
|
|
255
|
+
@documents_database.setter
|
|
256
|
+
def documents_database(self, documents_database):
|
|
257
|
+
"""Sets the documents_database of this Healthcheck.
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
:param documents_database: The documents_database of this Healthcheck. # noqa: E501
|
|
261
|
+
:type documents_database: HealthcheckDocumentsDatabase
|
|
262
|
+
"""
|
|
263
|
+
|
|
264
|
+
self._documents_database = documents_database
|
|
265
|
+
|
|
266
|
+
def to_dict(self):
|
|
267
|
+
"""Returns the model properties as a dict"""
|
|
268
|
+
result = {}
|
|
269
|
+
|
|
270
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
271
|
+
value = getattr(self, attr)
|
|
272
|
+
if isinstance(value, list):
|
|
273
|
+
result[attr] = list(map(
|
|
274
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
275
|
+
value
|
|
276
|
+
))
|
|
277
|
+
elif hasattr(value, "to_dict"):
|
|
278
|
+
result[attr] = value.to_dict()
|
|
279
|
+
elif isinstance(value, dict):
|
|
280
|
+
result[attr] = dict(map(
|
|
281
|
+
lambda item: (item[0], item[1].to_dict())
|
|
282
|
+
if hasattr(item[1], "to_dict") else item,
|
|
283
|
+
value.items()
|
|
284
|
+
))
|
|
285
|
+
else:
|
|
286
|
+
result[attr] = value
|
|
287
|
+
|
|
288
|
+
return result
|
|
289
|
+
|
|
290
|
+
def to_str(self):
|
|
291
|
+
"""Returns the string representation of the model"""
|
|
292
|
+
return pprint.pformat(self.to_dict())
|
|
293
|
+
|
|
294
|
+
def __repr__(self):
|
|
295
|
+
"""For `print` and `pprint`"""
|
|
296
|
+
return self.to_str()
|
|
297
|
+
|
|
298
|
+
def __eq__(self, other):
|
|
299
|
+
"""Returns true if both objects are equal"""
|
|
300
|
+
if not isinstance(other, Healthcheck):
|
|
301
|
+
return False
|
|
302
|
+
|
|
303
|
+
return self.to_dict() == other.to_dict()
|
|
304
|
+
|
|
305
|
+
def __ne__(self, other):
|
|
306
|
+
"""Returns true if both objects are not equal"""
|
|
307
|
+
if not isinstance(other, Healthcheck):
|
|
308
|
+
return True
|
|
309
|
+
|
|
310
|
+
return self.to_dict() != other.to_dict()
|