@@ -32,6 +32,7 @@ class ProcessParams(object):
3232 and the value is json key in definition.
3333 """
3434 openapi_types = {
35+ 'lcid_filter' : 'list[int]' ,
3536 'check_liveness' : 'bool' ,
3637 'lcid_ignore_filter' : 'list[int]' ,
3738 'one_shot_identification' : 'bool' ,
@@ -86,6 +87,7 @@ class ProcessParams(object):
8687 }
8788
8889 attribute_map = {
90+ 'lcid_filter' : 'lcidFilter' ,
8991 'check_liveness' : 'checkLiveness' ,
9092 'lcid_ignore_filter' : 'lcidIgnoreFilter' ,
9193 'one_shot_identification' : 'oneShotIdentification' ,
@@ -139,12 +141,13 @@ class ProcessParams(object):
139141 'rfid' : 'rfid'
140142 }
141143
142- def __init__ (self , check_liveness = False , lcid_ignore_filter = [], one_shot_identification = None , use_face_api = None , face_api = None , do_detect_can = None , image_output_max_height = None , image_output_max_width = None , 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 , config = 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 , respect_image_quality = 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 , force_read_mrz_before_locate = None , parse_barcodes = None , convert_case = None , split_names = None , disable_perforation_ocr = None , document_group_filter = None , process_auth = None , device_id = None , device_type = None , device_type_hex = None , ignore_device_id_from_image = None , document_id_list = None , rfid = None , local_vars_configuration = None ): # noqa: E501
144+ def __init__ (self , lcid_filter = [], check_liveness = False , lcid_ignore_filter = [], one_shot_identification = None , use_face_api = None , face_api = None , do_detect_can = None , image_output_max_height = None , image_output_max_width = None , 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 , config = 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 , respect_image_quality = 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 , force_read_mrz_before_locate = None , parse_barcodes = None , convert_case = None , split_names = None , disable_perforation_ocr = None , document_group_filter = None , process_auth = None , device_id = None , device_type = None , device_type_hex = None , ignore_device_id_from_image = None , document_id_list = None , rfid = None , local_vars_configuration = None ): # noqa: E501
143145 """ProcessParams - a model defined in OpenAPI""" # noqa: E501
144146 if local_vars_configuration is None :
145147 local_vars_configuration = Configuration ()
146148 self .local_vars_configuration = local_vars_configuration
147149
150+ self ._lcid_filter = None
148151 self ._check_liveness = None
149152 self ._lcid_ignore_filter = None
150153 self ._one_shot_identification = None
@@ -198,6 +201,8 @@ def __init__(self, check_liveness=False, lcid_ignore_filter=[], one_shot_identif
198201 self ._rfid = None
199202 self .discriminator = None
200203
204+ if lcid_filter is not None :
205+ self .lcid_filter = lcid_filter
201206 if check_liveness is not None :
202207 self .check_liveness = check_liveness
203208 if lcid_ignore_filter is not None :
@@ -300,6 +305,29 @@ def __init__(self, check_liveness=False, lcid_ignore_filter=[], one_shot_identif
300305 if rfid is not None :
301306 self .rfid = rfid
302307
308+ @property
309+ def lcid_filter (self ):
310+ """Gets the lcid_filter of this ProcessParams. # noqa: E501
311+
312+ The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. # noqa: E501
313+
314+ :return: The lcid_filter of this ProcessParams. # noqa: E501
315+ :rtype: list[int]
316+ """
317+ return self ._lcid_filter
318+
319+ @lcid_filter .setter
320+ def lcid_filter (self , lcid_filter ):
321+ """Sets the lcid_filter of this ProcessParams.
322+
323+ The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. # noqa: E501
324+
325+ :param lcid_filter: The lcid_filter of this ProcessParams. # noqa: E501
326+ :type lcid_filter: list[int]
327+ """
328+
329+ self ._lcid_filter = lcid_filter
330+
303331 @property
304332 def check_liveness (self ):
305333 """Gets the check_liveness of this ProcessParams. # noqa: E501
0 commit comments