@@ -10333,14 +10333,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
10333
10333
* @param name Document name. (required)
10334
10334
* @param sheetName The worksheet name. (required)
10335
10335
* @param listobjectindex list object index. (required)
10336
+ * @param format export format. (optional)
10336
10337
* @param folder Document's folder. (optional)
10337
10338
* @param storageName storage name. (optional)
10338
10339
* @param progressListener Progress listener
10339
10340
* @param progressRequestListener Progress request listener
10340
10341
* @return Call to execute
10341
10342
* @throws ApiException If fail to serialize the request body object
10342
10343
*/
10343
- public com.squareup.okhttp.Call cellsListObjectsGetWorksheetListObjectCall(String name, String sheetName, Integer listobjectindex, String folder, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
10344
+ public com.squareup.okhttp.Call cellsListObjectsGetWorksheetListObjectCall(String name, String sheetName, Integer listobjectindex, String format, String folder, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
10344
10345
Object localVarPostBody = null;
10345
10346
10346
10347
// create path and map variables
@@ -10350,6 +10351,8 @@ public com.squareup.okhttp.Call cellsListObjectsGetWorksheetListObjectCall(Strin
10350
10351
.replaceAll("\\{" + "listobjectindex" + "\\}", apiClient.escapeString(listobjectindex.toString()));
10351
10352
10352
10353
List<Pair> localVarQueryParams = new ArrayList<Pair>();
10354
+ if (format != null)
10355
+ localVarQueryParams.addAll(apiClient.parameterToPairs("", "format", format));
10353
10356
if (folder != null)
10354
10357
localVarQueryParams.addAll(apiClient.parameterToPairs("", "folder", folder));
10355
10358
if (storageName != null)
@@ -10388,7 +10391,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
10388
10391
}
10389
10392
10390
10393
@SuppressWarnings("rawtypes")
10391
- private com.squareup.okhttp.Call cellsListObjectsGetWorksheetListObjectValidateBeforeCall(String name, String sheetName, Integer listobjectindex, String folder, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
10394
+ private com.squareup.okhttp.Call cellsListObjectsGetWorksheetListObjectValidateBeforeCall(String name, String sheetName, Integer listobjectindex, String format, String folder, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
10392
10395
10393
10396
// verify the required parameter 'name' is set
10394
10397
if (name == null) {
@@ -10406,7 +10409,7 @@ private com.squareup.okhttp.Call cellsListObjectsGetWorksheetListObjectValidateB
10406
10409
}
10407
10410
10408
10411
10409
- com.squareup.okhttp.Call call = cellsListObjectsGetWorksheetListObjectCall(name, sheetName, listobjectindex, folder, storageName, progressListener, progressRequestListener);
10412
+ com.squareup.okhttp.Call call = cellsListObjectsGetWorksheetListObjectCall(name, sheetName, listobjectindex, format, folder, storageName, progressListener, progressRequestListener);
10410
10413
return call;
10411
10414
10412
10415
@@ -10421,13 +10424,14 @@ private com.squareup.okhttp.Call cellsListObjectsGetWorksheetListObjectValidateB
10421
10424
* @param name Document name. (required)
10422
10425
* @param sheetName The worksheet name. (required)
10423
10426
* @param listobjectindex list object index. (required)
10427
+ * @param format export format. (optional)
10424
10428
* @param folder Document's folder. (optional)
10425
10429
* @param storageName storage name. (optional)
10426
- * @return ListObjectResponse
10430
+ * @return File
10427
10431
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
10428
10432
*/
10429
- public ListObjectResponse cellsListObjectsGetWorksheetListObject(String name, String sheetName, Integer listobjectindex, String folder, String storageName) throws ApiException {
10430
- ApiResponse<ListObjectResponse > resp = cellsListObjectsGetWorksheetListObjectWithHttpInfo(name, sheetName, listobjectindex, folder, storageName);
10433
+ public File cellsListObjectsGetWorksheetListObject(String name, String sheetName, Integer listobjectindex, String format , String folder, String storageName) throws ApiException {
10434
+ ApiResponse<File > resp = cellsListObjectsGetWorksheetListObjectWithHttpInfo(name, sheetName, listobjectindex, format , folder, storageName);
10431
10435
return resp.getData();
10432
10436
}
10433
10437
@@ -10437,14 +10441,15 @@ public ListObjectResponse cellsListObjectsGetWorksheetListObject(String name, St
10437
10441
* @param name Document name. (required)
10438
10442
* @param sheetName The worksheet name. (required)
10439
10443
* @param listobjectindex list object index. (required)
10444
+ * @param format export format. (optional)
10440
10445
* @param folder Document's folder. (optional)
10441
10446
* @param storageName storage name. (optional)
10442
- * @return ApiResponse<ListObjectResponse >
10447
+ * @return ApiResponse<File >
10443
10448
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
10444
10449
*/
10445
- public ApiResponse<ListObjectResponse > cellsListObjectsGetWorksheetListObjectWithHttpInfo(String name, String sheetName, Integer listobjectindex, String folder, String storageName) throws ApiException {
10446
- com.squareup.okhttp.Call call = cellsListObjectsGetWorksheetListObjectValidateBeforeCall(name, sheetName, listobjectindex, folder, storageName, null, null);
10447
- Type localVarReturnType = new TypeToken<ListObjectResponse >(){}.getType();
10450
+ public ApiResponse<File > cellsListObjectsGetWorksheetListObjectWithHttpInfo(String name, String sheetName, Integer listobjectindex, String format , String folder, String storageName) throws ApiException {
10451
+ com.squareup.okhttp.Call call = cellsListObjectsGetWorksheetListObjectValidateBeforeCall(name, sheetName, listobjectindex, format, folder, storageName, null, null);
10452
+ Type localVarReturnType = new TypeToken<File >(){}.getType();
10448
10453
return apiClient.execute(call, localVarReturnType);
10449
10454
}
10450
10455
@@ -10454,13 +10459,14 @@ public ApiResponse<ListObjectResponse> cellsListObjectsGetWorksheetListObjectWit
10454
10459
* @param name Document name. (required)
10455
10460
* @param sheetName The worksheet name. (required)
10456
10461
* @param listobjectindex list object index. (required)
10462
+ * @param format export format. (optional)
10457
10463
* @param folder Document's folder. (optional)
10458
10464
* @param storageName storage name. (optional)
10459
10465
* @param callback The callback to be executed when the API call finishes
10460
10466
* @return The request call
10461
10467
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
10462
10468
*/
10463
- public com.squareup.okhttp.Call cellsListObjectsGetWorksheetListObjectAsync(String name, String sheetName, Integer listobjectindex, String folder, String storageName, final ApiCallback<ListObjectResponse > callback) throws ApiException {
10469
+ public com.squareup.okhttp.Call cellsListObjectsGetWorksheetListObjectAsync(String name, String sheetName, Integer listobjectindex, String format, String folder, String storageName, final ApiCallback<File > callback) throws ApiException {
10464
10470
10465
10471
ProgressResponseBody.ProgressListener progressListener = null;
10466
10472
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -10481,8 +10487,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
10481
10487
};
10482
10488
}
10483
10489
10484
- com.squareup.okhttp.Call call = cellsListObjectsGetWorksheetListObjectValidateBeforeCall(name, sheetName, listobjectindex, folder, storageName, progressListener, progressRequestListener);
10485
- Type localVarReturnType = new TypeToken<ListObjectResponse >(){}.getType();
10490
+ com.squareup.okhttp.Call call = cellsListObjectsGetWorksheetListObjectValidateBeforeCall(name, sheetName, listobjectindex, format, folder, storageName, progressListener, progressRequestListener);
10491
+ Type localVarReturnType = new TypeToken<File >(){}.getType();
10486
10492
apiClient.executeAsync(call, localVarReturnType, callback);
10487
10493
return call;
10488
10494
}
@@ -33362,7 +33368,7 @@ public com.squareup.okhttp.Call cellsWorkbookPutConvertWorkbookCall(File file, S
33362
33368
33363
33369
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
33364
33370
if (file != null)
33365
- localVarFormParams.put("File ", file);
33371
+ localVarFormParams.put("file ", file);
33366
33372
33367
33373
final String[] localVarAccepts = {
33368
33374
"application/json"
@@ -42240,7 +42246,7 @@ public com.squareup.okhttp.Call uploadFileCall(String path, File file, String st
42240
42246
42241
42247
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
42242
42248
if (file != null)
42243
- localVarFormParams.put("File ", file);
42249
+ localVarFormParams.put("file ", file);
42244
42250
42245
42251
final String[] localVarAccepts = {
42246
42252
"application/json"
0 commit comments