@@ -58,7 +58,8 @@ class ProcessParams(object):
58
58
'multi_doc_on_image' : 'bool' ,
59
59
'shift_expiry_date' : 'int' ,
60
60
'minimal_holder_age' : 'int' ,
61
- 'return_uncropped_image' : 'bool'
61
+ 'return_uncropped_image' : 'bool' ,
62
+ 'mrz_formats_filter' : 'list[MRZFormat]'
62
63
}
63
64
64
65
attribute_map = {
@@ -88,10 +89,11 @@ class ProcessParams(object):
88
89
'multi_doc_on_image' : 'multiDocOnImage' ,
89
90
'shift_expiry_date' : 'shiftExpiryDate' ,
90
91
'minimal_holder_age' : 'minimalHolderAge' ,
91
- 'return_uncropped_image' : 'returnUncroppedImage'
92
+ 'return_uncropped_image' : 'returnUncroppedImage' ,
93
+ 'mrz_formats_filter' : 'mrzFormatsFilter'
92
94
}
93
95
94
- def __init__ (self , scenario = None , result_type_output = None , double_page_spread = None , generate_double_page_spread_image = None , field_types_filter = None , date_format = None , measure_system = None , image_dpi_out_max = None , already_cropped = None , custom_params = None , log = None , log_level = None , force_doc_id = None , match_text_field_mask = None , fast_doc_detect = None , update_ocr_validity_by_glare = None , check_required_text_fields = None , return_cropped_barcode = None , image_qa = None , force_doc_format = None , no_graphics = None , document_area_min = None , depersonalize_log = None , multi_doc_on_image = None , shift_expiry_date = None , minimal_holder_age = None , return_uncropped_image = None , local_vars_configuration = None ): # noqa: E501
96
+ def __init__ (self , scenario = None , result_type_output = None , double_page_spread = None , generate_double_page_spread_image = None , field_types_filter = None , date_format = None , measure_system = None , image_dpi_out_max = None , already_cropped = None , custom_params = None , log = None , log_level = None , force_doc_id = None , match_text_field_mask = None , fast_doc_detect = None , update_ocr_validity_by_glare = None , check_required_text_fields = None , return_cropped_barcode = None , image_qa = None , force_doc_format = None , no_graphics = None , document_area_min = None , depersonalize_log = None , multi_doc_on_image = None , shift_expiry_date = None , minimal_holder_age = None , return_uncropped_image = None , mrz_formats_filter = None , local_vars_configuration = None ): # noqa: E501
95
97
"""ProcessParams - a model defined in OpenAPI""" # noqa: E501
96
98
if local_vars_configuration is None :
97
99
local_vars_configuration = Configuration ()
@@ -124,6 +126,7 @@ def __init__(self, scenario=None, result_type_output=None, double_page_spread=No
124
126
self ._shift_expiry_date = None
125
127
self ._minimal_holder_age = None
126
128
self ._return_uncropped_image = None
129
+ self ._mrz_formats_filter = None
127
130
self .discriminator = None
128
131
129
132
self .scenario = scenario
@@ -179,6 +182,8 @@ def __init__(self, scenario=None, result_type_output=None, double_page_spread=No
179
182
self .minimal_holder_age = minimal_holder_age
180
183
if return_uncropped_image is not None :
181
184
self .return_uncropped_image = return_uncropped_image
185
+ if mrz_formats_filter is not None :
186
+ self .mrz_formats_filter = mrz_formats_filter
182
187
183
188
@property
184
189
def scenario (self ):
@@ -793,6 +798,29 @@ def return_uncropped_image(self, return_uncropped_image):
793
798
794
799
self ._return_uncropped_image = return_uncropped_image
795
800
801
+ @property
802
+ def mrz_formats_filter (self ):
803
+ """Gets the mrz_formats_filter of this ProcessParams. # noqa: E501
804
+
805
+ This option allows limiting MRZ formats to be recognized by specifying them in array. # noqa: E501
806
+
807
+ :return: The mrz_formats_filter of this ProcessParams. # noqa: E501
808
+ :rtype: list[MRZFormat]
809
+ """
810
+ return self ._mrz_formats_filter
811
+
812
+ @mrz_formats_filter .setter
813
+ def mrz_formats_filter (self , mrz_formats_filter ):
814
+ """Sets the mrz_formats_filter of this ProcessParams.
815
+
816
+ This option allows limiting MRZ formats to be recognized by specifying them in array. # noqa: E501
817
+
818
+ :param mrz_formats_filter: The mrz_formats_filter of this ProcessParams. # noqa: E501
819
+ :type mrz_formats_filter: list[MRZFormat]
820
+ """
821
+
822
+ self ._mrz_formats_filter = mrz_formats_filter
823
+
796
824
def to_dict (self ):
797
825
"""Returns the model properties as a dict"""
798
826
result = {}
0 commit comments