@@ -12203,6 +12203,132 @@ def cells_page_setup_post_page_setup_with_http_info(self, name, sheet_name, **kw
1220312203 _preload_content=params.get('_preload_content', True),
1220412204 _request_timeout=params.get('_request_timeout'),
1220512205 collection_formats=collection_formats)
12206+ def cells_picture_get_extract_barcodes(self, name, sheet_name, picture_index, **kwargs):
12207+ """
12208+ Get chart area border info.
12209+ This method makes a synchronous HTTP request by default. To make an
12210+ asynchronous HTTP request, please define a `callback` function
12211+ to be invoked when receiving the response.
12212+ >>> def callback_function(response):
12213+ >>> pprint(response)
12214+ >>>
12215+ >>> thread = api.cells_picture_get_extract_barcodes(name, sheet_name, picture_index, callback=callback_function)
12216+
12217+ :param callback function: The callback function
12218+ for asynchronous request. (optional)
12219+ :param str name: Workbook name. (required)
12220+ :param str sheet_name: Worksheet name. (required)
12221+ :param int picture_index: The picture index. (required)
12222+ :param str folder: Workbook folder.
12223+ :param str storage_name: storage name.
12224+ :return: BarcodeResponseList
12225+ If the method is called asynchronously,
12226+ returns the request thread.
12227+ """
12228+ kwargs['_return_http_data_only'] = True
12229+ self.check_access_token()
12230+ if kwargs.get('callback'):
12231+ return self.cells_picture_get_extract_barcodes_with_http_info(name, sheet_name, picture_index, **kwargs)
12232+ else:
12233+ (data) = self.cells_picture_get_extract_barcodes_with_http_info(name, sheet_name, picture_index, **kwargs)
12234+ return data
12235+
12236+ def cells_picture_get_extract_barcodes_with_http_info(self, name, sheet_name, picture_index, **kwargs):
12237+ """
12238+ Get chart area border info.
12239+ This method makes a synchronous HTTP request by default. To make an
12240+ asynchronous HTTP request, please define a `callback` function
12241+ to be invoked when receiving the response.
12242+ >>> def callback_function(response):
12243+ >>> pprint(response)
12244+ >>>
12245+ >>> thread = api.cells_picture_get_extract_barcodes_with_http_info(name, sheet_name, picture_index, callback=callback_function)
12246+
12247+ :param callback function: The callback function
12248+ for asynchronous request. (optional)
12249+ :param str name: Workbook name. (required)
12250+ :param str sheet_name: Worksheet name. (required)
12251+ :param int picture_index: The picture index. (required)
12252+ :param str folder: Workbook folder.
12253+ :param str storage_name: storage name.
12254+ :return: BarcodeResponseList
12255+ If the method is called asynchronously,
12256+ returns the request thread.
12257+ """
12258+
12259+ all_params = ['name', 'sheet_name', 'picture_index', 'folder', 'storage_name']
12260+ all_params.append('callback')
12261+ all_params.append('_return_http_data_only')
12262+ all_params.append('_preload_content')
12263+ all_params.append('_request_timeout')
12264+
12265+ params = locals()
12266+ for key, val in iteritems(params['kwargs']):
12267+ if key not in all_params:
12268+ raise TypeError(
12269+ "Got an unexpected keyword argument '%s'"
12270+ " to method cells_picture_get_extract_barcodes" % key
12271+ )
12272+ params[key] = val
12273+ del params['kwargs']
12274+ # verify the required parameter 'name' is set
12275+ if ('name' not in params) or (params['name'] is None):
12276+ raise ValueError("Missing the required parameter `name` when calling `cells_picture_get_extract_barcodes`")
12277+ # verify the required parameter 'sheet_name' is set
12278+ if ('sheet_name' not in params) or (params['sheet_name'] is None):
12279+ raise ValueError("Missing the required parameter `sheet_name` when calling `cells_picture_get_extract_barcodes`")
12280+ # verify the required parameter 'picture_index' is set
12281+ if ('picture_index' not in params) or (params['picture_index'] is None):
12282+ raise ValueError("Missing the required parameter `picture_index` when calling `cells_picture_get_extract_barcodes`")
12283+
12284+
12285+ collection_formats = {}
12286+
12287+ path_params = {}
12288+ if 'name' in params:
12289+ path_params['name'] = params['name']
12290+ if 'sheet_name' in params:
12291+ path_params['sheetName'] = params['sheet_name']
12292+ if 'picture_index' in params:
12293+ path_params['pictureIndex'] = params['picture_index']
12294+
12295+ query_params = []
12296+ if 'folder' in params:
12297+ query_params.append(('folder', params['folder']))
12298+ if 'storage_name' in params:
12299+ query_params.append(('storageName', params['storage_name']))
12300+
12301+ header_params = {}
12302+
12303+ form_params = []
12304+ local_var_files = {}
12305+
12306+ body_params = None
12307+ # HTTP header `Accept`
12308+ header_params['Accept'] = self.api_client.\
12309+ select_header_accept(['application/json'])
12310+
12311+ # HTTP header `Content-Type`
12312+ header_params['Content-Type'] = self.api_client.\
12313+ select_header_content_type(['application/json'])
12314+
12315+ # Authentication setting
12316+ auth_settings = []
12317+
12318+ return self.api_client.call_api('/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex}/recognize', 'GET',
12319+ path_params,
12320+ query_params,
12321+ header_params,
12322+ body=body_params,
12323+ post_params=form_params,
12324+ files=local_var_files,
12325+ response_type='BarcodeResponseList',
12326+ auth_settings=auth_settings,
12327+ callback=params.get('callback'),
12328+ _return_http_data_only=params.get('_return_http_data_only'),
12329+ _preload_content=params.get('_preload_content', True),
12330+ _request_timeout=params.get('_request_timeout'),
12331+ collection_formats=collection_formats)
1220612332
1220712333 def cells_pictures_delete_worksheet_picture(self, name, sheet_name, picture_index, **kwargs):
1220812334 """
0 commit comments