@@ -35,29 +35,29 @@ class IdentResult(object):
3535 'type' : 'int' ,
3636 'element_result' : 'CheckResult' ,
3737 'element_diagnose' : 'CheckDiagnose' ,
38+ 'percent_value' : 'int' ,
3839 'element_type' : 'SecurityFeatureType' ,
3940 'light_index' : 'Light' ,
4041 'area' : 'RectangleCoordinates' ,
4142 'image' : 'ImageData' ,
4243 'etalon_image' : 'ImageData' ,
43- 'percent_value' : 'int' ,
4444 'area_list' : 'AreaContainer'
4545 }
4646
4747 attribute_map = {
4848 'type' : 'Type' ,
4949 'element_result' : 'ElementResult' ,
5050 'element_diagnose' : 'ElementDiagnose' ,
51+ 'percent_value' : 'PercentValue' ,
5152 'element_type' : 'ElementType' ,
5253 'light_index' : 'LightIndex' ,
5354 'area' : 'Area' ,
5455 'image' : 'Image' ,
5556 'etalon_image' : 'EtalonImage' ,
56- 'percent_value' : 'PercentValue' ,
5757 'area_list' : 'AreaList'
5858 }
5959
60- def __init__ (self , type = 0 , element_result = None , element_diagnose = None , element_type = None , light_index = None , area = None , image = None , etalon_image = None , percent_value = None , area_list = None , local_vars_configuration = None ): # noqa: E501
60+ def __init__ (self , type = 0 , element_result = None , element_diagnose = None , percent_value = None , element_type = None , light_index = None , area = None , image = None , etalon_image = None , area_list = None , local_vars_configuration = None ): # noqa: E501
6161 """IdentResult - a model defined in OpenAPI""" # noqa: E501
6262 if local_vars_configuration is None :
6363 local_vars_configuration = Configuration ()
@@ -66,12 +66,12 @@ def __init__(self, type=0, element_result=None, element_diagnose=None, element_t
6666 self ._type = None
6767 self ._element_result = None
6868 self ._element_diagnose = None
69+ self ._percent_value = None
6970 self ._element_type = None
7071 self ._light_index = None
7172 self ._area = None
7273 self ._image = None
7374 self ._etalon_image = None
74- self ._percent_value = None
7575 self ._area_list = None
7676 self .discriminator = None
7777
@@ -80,6 +80,8 @@ def __init__(self, type=0, element_result=None, element_diagnose=None, element_t
8080 self .element_result = element_result
8181 if element_diagnose is not None :
8282 self .element_diagnose = element_diagnose
83+ if percent_value is not None :
84+ self .percent_value = percent_value
8385 if element_type is not None :
8486 self .element_type = element_type
8587 if light_index is not None :
@@ -90,8 +92,6 @@ def __init__(self, type=0, element_result=None, element_diagnose=None, element_t
9092 self .image = image
9193 if etalon_image is not None :
9294 self .etalon_image = etalon_image
93- if percent_value is not None :
94- self .percent_value = percent_value
9595 if area_list is not None :
9696 self .area_list = area_list
9797
@@ -162,6 +162,29 @@ def element_diagnose(self, element_diagnose):
162162
163163 self ._element_diagnose = element_diagnose
164164
165+ @property
166+ def percent_value (self ):
167+ """Gets the percent_value of this IdentResult. # noqa: E501
168+
169+ Probability percent for IMAGE_PATTERN check or element's visibility for IR_VISIBILITY # noqa: E501
170+
171+ :return: The percent_value of this IdentResult. # noqa: E501
172+ :rtype: int
173+ """
174+ return self ._percent_value
175+
176+ @percent_value .setter
177+ def percent_value (self , percent_value ):
178+ """Sets the percent_value of this IdentResult.
179+
180+ Probability percent for IMAGE_PATTERN check or element's visibility for IR_VISIBILITY # noqa: E501
181+
182+ :param percent_value: The percent_value of this IdentResult. # noqa: E501
183+ :type percent_value: int
184+ """
185+
186+ self ._percent_value = percent_value
187+
165188 @property
166189 def element_type (self ):
167190 """Gets the element_type of this IdentResult. # noqa: E501
@@ -267,29 +290,6 @@ def etalon_image(self, etalon_image):
267290
268291 self ._etalon_image = etalon_image
269292
270- @property
271- def percent_value (self ):
272- """Gets the percent_value of this IdentResult. # noqa: E501
273-
274- Probability percent for IMAGE_PATTERN check or element's visibility for IR_VISIBILITY # noqa: E501
275-
276- :return: The percent_value of this IdentResult. # noqa: E501
277- :rtype: int
278- """
279- return self ._percent_value
280-
281- @percent_value .setter
282- def percent_value (self , percent_value ):
283- """Sets the percent_value of this IdentResult.
284-
285- Probability percent for IMAGE_PATTERN check or element's visibility for IR_VISIBILITY # noqa: E501
286-
287- :param percent_value: The percent_value of this IdentResult. # noqa: E501
288- :type percent_value: int
289- """
290-
291- self ._percent_value = percent_value
292-
293293 @property
294294 def area_list (self ):
295295 """Gets the area_list of this IdentResult. # noqa: E501
0 commit comments