@@ -285,7 +285,7 @@ def cells_pictures_delete_worksheet_pictures_with_http_info(self, name, sheet_na
285285 _request_timeout = params .get ('_request_timeout' ),
286286 collection_formats = collection_formats )
287287
288- def cells_pictures_get_worksheet_picture (self , name , sheet_name , picture_number , ** kwargs ):
288+ def cells_pictures_get_worksheet_picture (self , name , sheet_name , picture_index , ** kwargs ):
289289 """
290290 GRead worksheet picture by number.
291291 This method makes a synchronous HTTP request by default. To make an
@@ -294,13 +294,14 @@ def cells_pictures_get_worksheet_picture(self, name, sheet_name, picture_number,
294294 >>> def callback_function(response):
295295 >>> pprint(response)
296296 >>>
297- >>> thread = api.cells_pictures_get_worksheet_picture(name, sheet_name, picture_number , callback=callback_function)
297+ >>> thread = api.cells_pictures_get_worksheet_picture(name, sheet_name, picture_index , callback=callback_function)
298298
299299 :param callback function: The callback function
300300 for asynchronous request. (optional)
301301 :param str name: Document name. (required)
302302 :param str sheet_name: Worksheet name. (required)
303- :param int picture_number: The picture number. (required)
303+ :param int picture_index: The picture index. (required)
304+ :param str format: The exported object format.
304305 :param str folder: The document folder.
305306 :param str storage: storage name.
306307 :return: file
@@ -309,12 +310,12 @@ def cells_pictures_get_worksheet_picture(self, name, sheet_name, picture_number,
309310 """
310311 kwargs ['_return_http_data_only' ] = True
311312 if kwargs .get ('callback' ):
312- return self .cells_pictures_get_worksheet_picture_with_http_info (name , sheet_name , picture_number , ** kwargs )
313+ return self .cells_pictures_get_worksheet_picture_with_http_info (name , sheet_name , picture_index , ** kwargs )
313314 else :
314- (data ) = self .cells_pictures_get_worksheet_picture_with_http_info (name , sheet_name , picture_number , ** kwargs )
315+ (data ) = self .cells_pictures_get_worksheet_picture_with_http_info (name , sheet_name , picture_index , ** kwargs )
315316 return data
316317
317- def cells_pictures_get_worksheet_picture_with_http_info (self , name , sheet_name , picture_number , ** kwargs ):
318+ def cells_pictures_get_worksheet_picture_with_http_info (self , name , sheet_name , picture_index , ** kwargs ):
318319 """
319320 GRead worksheet picture by number.
320321 This method makes a synchronous HTTP request by default. To make an
@@ -323,21 +324,22 @@ def cells_pictures_get_worksheet_picture_with_http_info(self, name, sheet_name,
323324 >>> def callback_function(response):
324325 >>> pprint(response)
325326 >>>
326- >>> thread = api.cells_pictures_get_worksheet_picture_with_http_info(name, sheet_name, picture_number , callback=callback_function)
327+ >>> thread = api.cells_pictures_get_worksheet_picture_with_http_info(name, sheet_name, picture_index , callback=callback_function)
327328
328329 :param callback function: The callback function
329330 for asynchronous request. (optional)
330331 :param str name: Document name. (required)
331332 :param str sheet_name: Worksheet name. (required)
332- :param int picture_number: The picture number. (required)
333+ :param int picture_index: The picture index. (required)
334+ :param str format: The exported object format.
333335 :param str folder: The document folder.
334336 :param str storage: storage name.
335337 :return: file
336338 If the method is called asynchronously,
337339 returns the request thread.
338340 """
339341
340- all_params = ['name' , 'sheet_name' , 'picture_number ' , 'folder' , 'storage' ]
342+ all_params = ['name' , 'sheet_name' , 'picture_index' , 'format ' , 'folder' , 'storage' ]
341343 all_params .append ('callback' )
342344 all_params .append ('_return_http_data_only' )
343345 all_params .append ('_preload_content' )
@@ -358,9 +360,9 @@ def cells_pictures_get_worksheet_picture_with_http_info(self, name, sheet_name,
358360 # verify the required parameter 'sheet_name' is set
359361 if ('sheet_name' not in params ) or (params ['sheet_name' ] is None ):
360362 raise ValueError ("Missing the required parameter `sheet_name` when calling `cells_pictures_get_worksheet_picture`" )
361- # verify the required parameter 'picture_number ' is set
362- if ('picture_number ' not in params ) or (params ['picture_number ' ] is None ):
363- raise ValueError ("Missing the required parameter `picture_number ` when calling `cells_pictures_get_worksheet_picture`" )
363+ # verify the required parameter 'picture_index ' is set
364+ if ('picture_index ' not in params ) or (params ['picture_index ' ] is None ):
365+ raise ValueError ("Missing the required parameter `picture_index ` when calling `cells_pictures_get_worksheet_picture`" )
364366
365367
366368 collection_formats = {}
@@ -370,10 +372,12 @@ def cells_pictures_get_worksheet_picture_with_http_info(self, name, sheet_name,
370372 path_params ['name' ] = params ['name' ]
371373 if 'sheet_name' in params :
372374 path_params ['sheetName' ] = params ['sheet_name' ]
373- if 'picture_number ' in params :
374- path_params ['pictureNumber ' ] = params ['picture_number ' ]
375+ if 'picture_index ' in params :
376+ path_params ['pictureIndex ' ] = params ['picture_index ' ]
375377
376378 query_params = []
379+ if 'format' in params :
380+ query_params .append (('format' , params ['format' ]))
377381 if 'folder' in params :
378382 query_params .append (('folder' , params ['folder' ]))
379383 if 'storage' in params :
@@ -396,7 +400,7 @@ def cells_pictures_get_worksheet_picture_with_http_info(self, name, sheet_name,
396400 # Authentication setting
397401 auth_settings = []
398402
399- return self .api_client .call_api ('/cells/{name}/worksheets/{sheetName}/pictures/{pictureNumber }' , 'GET' ,
403+ return self .api_client .call_api ('/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex }' , 'GET' ,
400404 path_params ,
401405 query_params ,
402406 header_params ,
0 commit comments