@@ -640,7 +640,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
640
640
* @return Call to execute
641
641
* @throws ApiException If fail to serialize the request body object
642
642
*/
643
- public com .squareup .okhttp .Call postExportCall (HashMap <String ,File > file , String objectType , String format , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
643
+ public com .squareup .okhttp .Call postExportCall (HashMap <String ,File > file , String objectType , String format ,HashMap < String , String > extendedQueryParameters , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
644
644
Object localVarPostBody = null ;
645
645
646
646
// create path and map variables
@@ -652,6 +652,12 @@ public com.squareup.okhttp.Call postExportCall(HashMap<String,File> file, String
652
652
if (format != null )
653
653
localVarQueryParams .addAll (apiClient .parameterToPairs ("" , "format" , format ));
654
654
655
+ if (extendedQueryParameters !=null ){
656
+ for (String key : extendedQueryParameters .keySet ()) {
657
+ localVarQueryParams .addAll (apiClient .parameterToPairs ("" , key , extendedQueryParameters .get (key )));
658
+ }
659
+ }
660
+
655
661
Map <String , String > localVarHeaderParams = new HashMap <String , String >();
656
662
657
663
Map <String , Object > localVarFormParams = new HashMap <String , Object >();
@@ -691,7 +697,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
691
697
}
692
698
693
699
@ SuppressWarnings ("rawtypes" )
694
- private com .squareup .okhttp .Call postExportValidateBeforeCall (HashMap <String ,File > file , String objectType , String format , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
700
+ private com .squareup .okhttp .Call postExportValidateBeforeCall (HashMap <String ,File > file , String objectType , String format , HashMap < String , String > extendedQueryParameters , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
695
701
696
702
// verify the required parameter 'file' is set
697
703
if (file == null ) {
@@ -709,7 +715,7 @@ private com.squareup.okhttp.Call postExportValidateBeforeCall(HashMap<String,Fil
709
715
}
710
716
711
717
712
- com .squareup .okhttp .Call call = postExportCall (file , objectType , format , progressListener , progressRequestListener );
718
+ com .squareup .okhttp .Call call = postExportCall (file , objectType , format , extendedQueryParameters , progressListener , progressRequestListener );
713
719
return call ;
714
720
715
721
@@ -727,8 +733,8 @@ private com.squareup.okhttp.Call postExportValidateBeforeCall(HashMap<String,Fil
727
733
* @return FilesResult
728
734
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
729
735
*/
730
- public FilesResult postExport (HashMap <String ,File > file , String objectType , String format ) throws ApiException {
731
- ApiResponse <FilesResult > resp = postExportWithHttpInfo (file , objectType , format );
736
+ public FilesResult postExport (HashMap <String ,File > file , String objectType , String format , HashMap < String , String > extendedQueryParameters ) throws ApiException {
737
+ ApiResponse <FilesResult > resp = postExportWithHttpInfo (file , objectType , format , extendedQueryParameters );
732
738
return resp .getData ();
733
739
}
734
740
@@ -741,8 +747,8 @@ public FilesResult postExport(HashMap<String,File> file, String objectType, Stri
741
747
* @return ApiResponse<FilesResult>
742
748
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
743
749
*/
744
- public ApiResponse <FilesResult > postExportWithHttpInfo (HashMap <String ,File > file , String objectType , String format ) throws ApiException {
745
- com .squareup .okhttp .Call call = postExportValidateBeforeCall (file , objectType , format , null , null );
750
+ public ApiResponse <FilesResult > postExportWithHttpInfo (HashMap <String ,File > file , String objectType , String format , HashMap < String , String > extendedQueryParameters ) throws ApiException {
751
+ com .squareup .okhttp .Call call = postExportValidateBeforeCall (file , objectType , format , extendedQueryParameters , null , null );
746
752
Type localVarReturnType = new TypeToken <FilesResult >(){}.getType ();
747
753
return apiClient .execute (call , localVarReturnType );
748
754
}
@@ -757,7 +763,7 @@ public ApiResponse<FilesResult> postExportWithHttpInfo(HashMap<String,File> file
757
763
* @return The request call
758
764
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
759
765
*/
760
- public com .squareup .okhttp .Call postExportAsync (HashMap <String ,File > file , String objectType , String format , final ApiCallback <FilesResult > callback ) throws ApiException {
766
+ public com .squareup .okhttp .Call postExportAsync (HashMap <String ,File > file , String objectType , String format ,HashMap < String , String > extendedQueryParameters , final ApiCallback <FilesResult > callback ) throws ApiException {
761
767
762
768
ProgressResponseBody .ProgressListener progressListener = null ;
763
769
ProgressRequestBody .ProgressRequestListener progressRequestListener = null ;
@@ -778,7 +784,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
778
784
};
779
785
}
780
786
781
- com .squareup .okhttp .Call call = postExportValidateBeforeCall (file , objectType , format , progressListener , progressRequestListener );
787
+ com .squareup .okhttp .Call call = postExportValidateBeforeCall (file , objectType , format , extendedQueryParameters , progressListener , progressRequestListener );
782
788
Type localVarReturnType = new TypeToken <FilesResult >(){}.getType ();
783
789
apiClient .executeAsync (call , localVarReturnType , callback );
784
790
return call ;
0 commit comments