@@ -15609,12 +15609,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
15609
15609
/**
15610
15610
* Build call for getMhtInStorageToPdf
15611
15611
* @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required)
15612
- * @param height Page height (required )
15613
- * @param width Page width (required )
15614
- * @param marginLeft Page margin left (required )
15615
- * @param marginBottom Page margin bottom (required )
15616
- * @param marginRight Page margin right (required )
15617
- * @param marginTop Page margin top (required )
15612
+ * @param height Page height (optional )
15613
+ * @param width Page width (optional )
15614
+ * @param marginLeft Page margin left (optional )
15615
+ * @param marginBottom Page margin bottom (optional )
15616
+ * @param marginRight Page margin right (optional )
15617
+ * @param marginTop Page margin top (optional )
15618
15618
* @param storage The document storage. (optional)
15619
15619
* @param progressListener Progress listener
15620
15620
* @param progressRequestListener Progress request listener
@@ -15686,36 +15686,6 @@ private com.squareup.okhttp.Call getMhtInStorageToPdfValidateBeforeCall(String s
15686
15686
throw new ApiException("Missing the required parameter 'srcPath' when calling getMhtInStorageToPdf(Async)");
15687
15687
}
15688
15688
15689
- // verify the required parameter 'height' is set
15690
- if (height == null) {
15691
- throw new ApiException("Missing the required parameter 'height' when calling getMhtInStorageToPdf(Async)");
15692
- }
15693
-
15694
- // verify the required parameter 'width' is set
15695
- if (width == null) {
15696
- throw new ApiException("Missing the required parameter 'width' when calling getMhtInStorageToPdf(Async)");
15697
- }
15698
-
15699
- // verify the required parameter 'marginLeft' is set
15700
- if (marginLeft == null) {
15701
- throw new ApiException("Missing the required parameter 'marginLeft' when calling getMhtInStorageToPdf(Async)");
15702
- }
15703
-
15704
- // verify the required parameter 'marginBottom' is set
15705
- if (marginBottom == null) {
15706
- throw new ApiException("Missing the required parameter 'marginBottom' when calling getMhtInStorageToPdf(Async)");
15707
- }
15708
-
15709
- // verify the required parameter 'marginRight' is set
15710
- if (marginRight == null) {
15711
- throw new ApiException("Missing the required parameter 'marginRight' when calling getMhtInStorageToPdf(Async)");
15712
- }
15713
-
15714
- // verify the required parameter 'marginTop' is set
15715
- if (marginTop == null) {
15716
- throw new ApiException("Missing the required parameter 'marginTop' when calling getMhtInStorageToPdf(Async)");
15717
- }
15718
-
15719
15689
15720
15690
com.squareup.okhttp.Call call = getMhtInStorageToPdfCall(srcPath, height, width, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener);
15721
15691
return call;
@@ -15726,12 +15696,12 @@ private com.squareup.okhttp.Call getMhtInStorageToPdfValidateBeforeCall(String s
15726
15696
* Convert MHT file (located on storage) to PDF format and return resulting file in response.
15727
15697
*
15728
15698
* @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required)
15729
- * @param height Page height (required )
15730
- * @param width Page width (required )
15731
- * @param marginLeft Page margin left (required )
15732
- * @param marginBottom Page margin bottom (required )
15733
- * @param marginRight Page margin right (required )
15734
- * @param marginTop Page margin top (required )
15699
+ * @param height Page height (optional )
15700
+ * @param width Page width (optional )
15701
+ * @param marginLeft Page margin left (optional )
15702
+ * @param marginBottom Page margin bottom (optional )
15703
+ * @param marginRight Page margin right (optional )
15704
+ * @param marginTop Page margin top (optional )
15735
15705
* @param storage The document storage. (optional)
15736
15706
* @return File
15737
15707
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -15758,12 +15728,12 @@ public File getMhtInStorageToPdf(String srcPath, Double height, Double width, Do
15758
15728
* Convert MHT file (located on storage) to PDF format and return resulting file in response.
15759
15729
*
15760
15730
* @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required)
15761
- * @param height Page height (required )
15762
- * @param width Page width (required )
15763
- * @param marginLeft Page margin left (required )
15764
- * @param marginBottom Page margin bottom (required )
15765
- * @param marginRight Page margin right (required )
15766
- * @param marginTop Page margin top (required )
15731
+ * @param height Page height (optional )
15732
+ * @param width Page width (optional )
15733
+ * @param marginLeft Page margin left (optional )
15734
+ * @param marginBottom Page margin bottom (optional )
15735
+ * @param marginRight Page margin right (optional )
15736
+ * @param marginTop Page margin top (optional )
15767
15737
* @param storage The document storage. (optional)
15768
15738
* @return ApiResponse<File>
15769
15739
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -15778,12 +15748,12 @@ public ApiResponse<File> getMhtInStorageToPdfWithHttpInfo(String srcPath, Double
15778
15748
* Convert MHT file (located on storage) to PDF format and return resulting file in response. (asynchronously)
15779
15749
*
15780
15750
* @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required)
15781
- * @param height Page height (required )
15782
- * @param width Page width (required )
15783
- * @param marginLeft Page margin left (required )
15784
- * @param marginBottom Page margin bottom (required )
15785
- * @param marginRight Page margin right (required )
15786
- * @param marginTop Page margin top (required )
15751
+ * @param height Page height (optional )
15752
+ * @param width Page width (optional )
15753
+ * @param marginLeft Page margin left (optional )
15754
+ * @param marginBottom Page margin bottom (optional )
15755
+ * @param marginRight Page margin right (optional )
15756
+ * @param marginTop Page margin top (optional )
15787
15757
* @param storage The document storage. (optional)
15788
15758
* @param callback The callback to be executed when the API call finishes
15789
15759
* @return The request call
@@ -49139,12 +49109,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
49139
49109
* Build call for putMhtInStorageToPdf
49140
49110
* @param name The document name. (required)
49141
49111
* @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required)
49142
- * @param height Page height (required )
49143
- * @param width Page width (required )
49144
- * @param marginLeft Page margin left (required )
49145
- * @param marginBottom Page margin bottom (required )
49146
- * @param marginRight Page margin right (required )
49147
- * @param marginTop Page margin top (required )
49112
+ * @param height Page height (optional )
49113
+ * @param width Page width (optional )
49114
+ * @param marginLeft Page margin left (optional )
49115
+ * @param marginBottom Page margin bottom (optional )
49116
+ * @param marginRight Page margin right (optional )
49117
+ * @param marginTop Page margin top (optional )
49148
49118
* @param dstFolder The destination document folder. (optional)
49149
49119
* @param storage The document storage. (optional)
49150
49120
* @param progressListener Progress listener
@@ -49225,36 +49195,6 @@ private com.squareup.okhttp.Call putMhtInStorageToPdfValidateBeforeCall(String n
49225
49195
throw new ApiException("Missing the required parameter 'srcPath' when calling putMhtInStorageToPdf(Async)");
49226
49196
}
49227
49197
49228
- // verify the required parameter 'height' is set
49229
- if (height == null) {
49230
- throw new ApiException("Missing the required parameter 'height' when calling putMhtInStorageToPdf(Async)");
49231
- }
49232
-
49233
- // verify the required parameter 'width' is set
49234
- if (width == null) {
49235
- throw new ApiException("Missing the required parameter 'width' when calling putMhtInStorageToPdf(Async)");
49236
- }
49237
-
49238
- // verify the required parameter 'marginLeft' is set
49239
- if (marginLeft == null) {
49240
- throw new ApiException("Missing the required parameter 'marginLeft' when calling putMhtInStorageToPdf(Async)");
49241
- }
49242
-
49243
- // verify the required parameter 'marginBottom' is set
49244
- if (marginBottom == null) {
49245
- throw new ApiException("Missing the required parameter 'marginBottom' when calling putMhtInStorageToPdf(Async)");
49246
- }
49247
-
49248
- // verify the required parameter 'marginRight' is set
49249
- if (marginRight == null) {
49250
- throw new ApiException("Missing the required parameter 'marginRight' when calling putMhtInStorageToPdf(Async)");
49251
- }
49252
-
49253
- // verify the required parameter 'marginTop' is set
49254
- if (marginTop == null) {
49255
- throw new ApiException("Missing the required parameter 'marginTop' when calling putMhtInStorageToPdf(Async)");
49256
- }
49257
-
49258
49198
49259
49199
com.squareup.okhttp.Call call = putMhtInStorageToPdfCall(name, srcPath, height, width, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage, progressListener, progressRequestListener);
49260
49200
return call;
@@ -49266,12 +49206,12 @@ private com.squareup.okhttp.Call putMhtInStorageToPdfValidateBeforeCall(String n
49266
49206
*
49267
49207
* @param name The document name. (required)
49268
49208
* @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required)
49269
- * @param height Page height (required )
49270
- * @param width Page width (required )
49271
- * @param marginLeft Page margin left (required )
49272
- * @param marginBottom Page margin bottom (required )
49273
- * @param marginRight Page margin right (required )
49274
- * @param marginTop Page margin top (required )
49209
+ * @param height Page height (optional )
49210
+ * @param width Page width (optional )
49211
+ * @param marginLeft Page margin left (optional )
49212
+ * @param marginBottom Page margin bottom (optional )
49213
+ * @param marginRight Page margin right (optional )
49214
+ * @param marginTop Page margin top (optional )
49275
49215
* @param dstFolder The destination document folder. (optional)
49276
49216
* @param storage The document storage. (optional)
49277
49217
* @return AsposeResponse
@@ -49300,12 +49240,12 @@ public AsposeResponse putMhtInStorageToPdf(String name, String srcPath, Double h
49300
49240
*
49301
49241
* @param name The document name. (required)
49302
49242
* @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required)
49303
- * @param height Page height (required )
49304
- * @param width Page width (required )
49305
- * @param marginLeft Page margin left (required )
49306
- * @param marginBottom Page margin bottom (required )
49307
- * @param marginRight Page margin right (required )
49308
- * @param marginTop Page margin top (required )
49243
+ * @param height Page height (optional )
49244
+ * @param width Page width (optional )
49245
+ * @param marginLeft Page margin left (optional )
49246
+ * @param marginBottom Page margin bottom (optional )
49247
+ * @param marginRight Page margin right (optional )
49248
+ * @param marginTop Page margin top (optional )
49309
49249
* @param dstFolder The destination document folder. (optional)
49310
49250
* @param storage The document storage. (optional)
49311
49251
* @return ApiResponse<AsposeResponse>
@@ -49322,12 +49262,12 @@ public ApiResponse<AsposeResponse> putMhtInStorageToPdfWithHttpInfo(String name,
49322
49262
*
49323
49263
* @param name The document name. (required)
49324
49264
* @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required)
49325
- * @param height Page height (required )
49326
- * @param width Page width (required )
49327
- * @param marginLeft Page margin left (required )
49328
- * @param marginBottom Page margin bottom (required )
49329
- * @param marginRight Page margin right (required )
49330
- * @param marginTop Page margin top (required )
49265
+ * @param height Page height (optional )
49266
+ * @param width Page width (optional )
49267
+ * @param marginLeft Page margin left (optional )
49268
+ * @param marginBottom Page margin bottom (optional )
49269
+ * @param marginRight Page margin right (optional )
49270
+ * @param marginTop Page margin top (optional )
49331
49271
* @param dstFolder The destination document folder. (optional)
49332
49272
* @param storage The document storage. (optional)
49333
49273
* @param callback The callback to be executed when the API call finishes
0 commit comments