Skip to content

Commit bf6c39e

Browse files
actions-userhleb-albau
authored andcommitted
fix image qa params names
1 parent 6ef7d35 commit bf6c39e

File tree

1 file changed

+61
-61
lines changed

1 file changed

+61
-61
lines changed

regula/documentreader/webclient/gen/models/image_qa.py

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -34,47 +34,47 @@ class ImageQA(object):
3434
openapi_types = {
3535
'dpi_threshold': 'int',
3636
'angle_threshold': 'int',
37-
'disable_focus_check': 'bool',
38-
'disable_glares_check': 'bool',
39-
'disable_colorness_check': 'bool',
40-
'disable_moire_check': 'bool'
37+
'focus_check': 'bool',
38+
'glares_check': 'bool',
39+
'colorness_check': 'bool',
40+
'moire_check': 'bool'
4141
}
4242

4343
attribute_map = {
4444
'dpi_threshold': 'dpiThreshold',
4545
'angle_threshold': 'angleThreshold',
46-
'disable_focus_check': 'disableFocusCheck',
47-
'disable_glares_check': 'disableGlaresCheck',
48-
'disable_colorness_check': 'disableColornessCheck',
49-
'disable_moire_check': 'disableMoireCheck'
46+
'focus_check': 'focusCheck',
47+
'glares_check': 'glaresCheck',
48+
'colorness_check': 'colornessCheck',
49+
'moire_check': 'moireCheck'
5050
}
5151

52-
def __init__(self, dpi_threshold=None, angle_threshold=None, disable_focus_check=None, disable_glares_check=None, disable_colorness_check=None, disable_moire_check=None, local_vars_configuration=None): # noqa: E501
52+
def __init__(self, dpi_threshold=None, angle_threshold=None, focus_check=None, glares_check=None, colorness_check=None, moire_check=None, local_vars_configuration=None): # noqa: E501
5353
"""ImageQA - a model defined in OpenAPI""" # noqa: E501
5454
if local_vars_configuration is None:
5555
local_vars_configuration = Configuration()
5656
self.local_vars_configuration = local_vars_configuration
5757

5858
self._dpi_threshold = None
5959
self._angle_threshold = None
60-
self._disable_focus_check = None
61-
self._disable_glares_check = None
62-
self._disable_colorness_check = None
63-
self._disable_moire_check = None
60+
self._focus_check = None
61+
self._glares_check = None
62+
self._colorness_check = None
63+
self._moire_check = None
6464
self.discriminator = None
6565

6666
if dpi_threshold is not None:
6767
self.dpi_threshold = dpi_threshold
6868
if angle_threshold is not None:
6969
self.angle_threshold = angle_threshold
70-
if disable_focus_check is not None:
71-
self.disable_focus_check = disable_focus_check
72-
if disable_glares_check is not None:
73-
self.disable_glares_check = disable_glares_check
74-
if disable_colorness_check is not None:
75-
self.disable_colorness_check = disable_colorness_check
76-
if disable_moire_check is not None:
77-
self.disable_moire_check = disable_moire_check
70+
if focus_check is not None:
71+
self.focus_check = focus_check
72+
if glares_check is not None:
73+
self.glares_check = glares_check
74+
if colorness_check is not None:
75+
self.colorness_check = colorness_check
76+
if moire_check is not None:
77+
self.moire_check = moire_check
7878

7979
@property
8080
def dpi_threshold(self):
@@ -123,96 +123,96 @@ def angle_threshold(self, angle_threshold):
123123
self._angle_threshold = angle_threshold
124124

125125
@property
126-
def disable_focus_check(self):
127-
"""Gets the disable_focus_check of this ImageQA. # noqa: E501
126+
def focus_check(self):
127+
"""Gets the focus_check of this ImageQA. # noqa: E501
128128
129129
This option disabled focus check during performing image quality validation # noqa: E501
130130
131-
:return: The disable_focus_check of this ImageQA. # noqa: E501
131+
:return: The focus_check of this ImageQA. # noqa: E501
132132
:rtype: bool
133133
"""
134-
return self._disable_focus_check
134+
return self._focus_check
135135

136-
@disable_focus_check.setter
137-
def disable_focus_check(self, disable_focus_check):
138-
"""Sets the disable_focus_check of this ImageQA.
136+
@focus_check.setter
137+
def focus_check(self, focus_check):
138+
"""Sets the focus_check of this ImageQA.
139139
140140
This option disabled focus check during performing image quality validation # noqa: E501
141141
142-
:param disable_focus_check: The disable_focus_check of this ImageQA. # noqa: E501
143-
:type disable_focus_check: bool
142+
:param focus_check: The focus_check of this ImageQA. # noqa: E501
143+
:type focus_check: bool
144144
"""
145145

146-
self._disable_focus_check = disable_focus_check
146+
self._focus_check = focus_check
147147

148148
@property
149-
def disable_glares_check(self):
150-
"""Gets the disable_glares_check of this ImageQA. # noqa: E501
149+
def glares_check(self):
150+
"""Gets the glares_check of this ImageQA. # noqa: E501
151151
152152
This option disabled glares check during performing image quality validation # noqa: E501
153153
154-
:return: The disable_glares_check of this ImageQA. # noqa: E501
154+
:return: The glares_check of this ImageQA. # noqa: E501
155155
:rtype: bool
156156
"""
157-
return self._disable_glares_check
157+
return self._glares_check
158158

159-
@disable_glares_check.setter
160-
def disable_glares_check(self, disable_glares_check):
161-
"""Sets the disable_glares_check of this ImageQA.
159+
@glares_check.setter
160+
def glares_check(self, glares_check):
161+
"""Sets the glares_check of this ImageQA.
162162
163163
This option disabled glares check during performing image quality validation # noqa: E501
164164
165-
:param disable_glares_check: The disable_glares_check of this ImageQA. # noqa: E501
166-
:type disable_glares_check: bool
165+
:param glares_check: The glares_check of this ImageQA. # noqa: E501
166+
:type glares_check: bool
167167
"""
168168

169-
self._disable_glares_check = disable_glares_check
169+
self._glares_check = glares_check
170170

171171
@property
172-
def disable_colorness_check(self):
173-
"""Gets the disable_colorness_check of this ImageQA. # noqa: E501
172+
def colorness_check(self):
173+
"""Gets the colorness_check of this ImageQA. # noqa: E501
174174
175175
This option disabled colorness check during performing image quality validation # noqa: E501
176176
177-
:return: The disable_colorness_check of this ImageQA. # noqa: E501
177+
:return: The colorness_check of this ImageQA. # noqa: E501
178178
:rtype: bool
179179
"""
180-
return self._disable_colorness_check
180+
return self._colorness_check
181181

182-
@disable_colorness_check.setter
183-
def disable_colorness_check(self, disable_colorness_check):
184-
"""Sets the disable_colorness_check of this ImageQA.
182+
@colorness_check.setter
183+
def colorness_check(self, colorness_check):
184+
"""Sets the colorness_check of this ImageQA.
185185
186186
This option disabled colorness check during performing image quality validation # noqa: E501
187187
188-
:param disable_colorness_check: The disable_colorness_check of this ImageQA. # noqa: E501
189-
:type disable_colorness_check: bool
188+
:param colorness_check: The colorness_check of this ImageQA. # noqa: E501
189+
:type colorness_check: bool
190190
"""
191191

192-
self._disable_colorness_check = disable_colorness_check
192+
self._colorness_check = colorness_check
193193

194194
@property
195-
def disable_moire_check(self):
196-
"""Gets the disable_moire_check of this ImageQA. # noqa: E501
195+
def moire_check(self):
196+
"""Gets the moire_check of this ImageQA. # noqa: E501
197197
198198
This option disabled moire patterns check during performing image quality validation # noqa: E501
199199
200-
:return: The disable_moire_check of this ImageQA. # noqa: E501
200+
:return: The moire_check of this ImageQA. # noqa: E501
201201
:rtype: bool
202202
"""
203-
return self._disable_moire_check
203+
return self._moire_check
204204

205-
@disable_moire_check.setter
206-
def disable_moire_check(self, disable_moire_check):
207-
"""Sets the disable_moire_check of this ImageQA.
205+
@moire_check.setter
206+
def moire_check(self, moire_check):
207+
"""Sets the moire_check of this ImageQA.
208208
209209
This option disabled moire patterns check during performing image quality validation # noqa: E501
210210
211-
:param disable_moire_check: The disable_moire_check of this ImageQA. # noqa: E501
212-
:type disable_moire_check: bool
211+
:param moire_check: The moire_check of this ImageQA. # noqa: E501
212+
:type moire_check: bool
213213
"""
214214

215-
self._disable_moire_check = disable_moire_check
215+
self._moire_check = moire_check
216216

217217
def to_dict(self):
218218
"""Returns the model properties as a dict"""

0 commit comments

Comments
 (0)