|
2 | 2 | /* |
3 | 3 | * -------------------------------------------------------------------------------------------------------------------- |
4 | 4 | * <copyright company="Aspose Pty Ltd" file="FileApi.php"> |
5 | | - * Copyright (c) 2003-2019 Aspose Pty Ltd |
| 5 | + * Copyright (c) 2003-2020 Aspose Pty Ltd |
6 | 6 | * </copyright> |
7 | 7 | * <summary> |
8 | 8 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
@@ -129,8 +129,8 @@ public function copyFileWithHttpInfo(Requests\copyFileRequest $request) |
129 | 129 | $error = json_decode($content); |
130 | 130 |
|
131 | 131 | $errorCode = $e->getCode(); |
132 | | - $errorMessage = $error->Error != null && $error->Error->Message != null |
133 | | - ? $error->Error->Message |
| 132 | + $errorMessage = $error->error != null && $error->error->message != null |
| 133 | + ? $error->error->message |
134 | 134 | : $e->getMessage(); |
135 | 135 |
|
136 | 136 | throw new ApiException($errorMessage, $errorCode); |
@@ -400,8 +400,8 @@ public function deleteFileWithHttpInfo(Requests\deleteFileRequest $request) |
400 | 400 | $error = json_decode($content); |
401 | 401 |
|
402 | 402 | $errorCode = $e->getCode(); |
403 | | - $errorMessage = $error->Error != null && $error->Error->Message != null |
404 | | - ? $error->Error->Message |
| 403 | + $errorMessage = $error->error != null && $error->error->message != null |
| 404 | + ? $error->error->message |
405 | 405 | : $e->getMessage(); |
406 | 406 |
|
407 | 407 | throw new ApiException($errorMessage, $errorCode); |
@@ -648,8 +648,8 @@ public function downloadFileWithHttpInfo(Requests\downloadFileRequest $request) |
648 | 648 | $error = json_decode($content); |
649 | 649 |
|
650 | 650 | $errorCode = $e->getCode(); |
651 | | - $errorMessage = $error->Error != null && $error->Error->Message != null |
652 | | - ? $error->Error->Message |
| 651 | + $errorMessage = $error->error != null && $error->error->message != null |
| 652 | + ? $error->error->message |
653 | 653 | : $e->getMessage(); |
654 | 654 |
|
655 | 655 | throw new ApiException($errorMessage, $errorCode); |
@@ -935,8 +935,8 @@ public function moveFileWithHttpInfo(Requests\moveFileRequest $request) |
935 | 935 | $error = json_decode($content); |
936 | 936 |
|
937 | 937 | $errorCode = $e->getCode(); |
938 | | - $errorMessage = $error->Error != null && $error->Error->Message != null |
939 | | - ? $error->Error->Message |
| 938 | + $errorMessage = $error->error != null && $error->error->message != null |
| 939 | + ? $error->error->message |
940 | 940 | : $e->getMessage(); |
941 | 941 |
|
942 | 942 | throw new ApiException($errorMessage, $errorCode); |
@@ -1207,8 +1207,8 @@ public function uploadFileWithHttpInfo(Requests\uploadFileRequest $request) |
1207 | 1207 | $error = json_decode($content); |
1208 | 1208 |
|
1209 | 1209 | $errorCode = $e->getCode(); |
1210 | | - $errorMessage = $error->Error != null && $error->Error->Message != null |
1211 | | - ? $error->Error->Message |
| 1210 | + $errorMessage = $error->error != null && $error->error->message != null |
| 1211 | + ? $error->error->message |
1212 | 1212 | : $e->getMessage(); |
1213 | 1213 |
|
1214 | 1214 | throw new ApiException($errorMessage, $errorCode); |
@@ -1557,7 +1557,7 @@ private function _requestToken() |
1557 | 1557 | /* |
1558 | 1558 | * -------------------------------------------------------------------------------------------------------------------- |
1559 | 1559 | * <copyright company="Aspose Pty Ltd" file="copyFileRequest.php"> |
1560 | | - * Copyright (c) 2003-2019 Aspose Pty Ltd |
| 1560 | + * Copyright (c) 2003-2020 Aspose Pty Ltd |
1561 | 1561 | * </copyright> |
1562 | 1562 | * <summary> |
1563 | 1563 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
@@ -1634,7 +1634,7 @@ public function __construct($srcPath, $destPath, $srcStorageName = null, $destSt |
1634 | 1634 | /* |
1635 | 1635 | * -------------------------------------------------------------------------------------------------------------------- |
1636 | 1636 | * <copyright company="Aspose Pty Ltd" file="deleteFileRequest.php"> |
1637 | | - * Copyright (c) 2003-2019 Aspose Pty Ltd |
| 1637 | + * Copyright (c) 2003-2020 Aspose Pty Ltd |
1638 | 1638 | * </copyright> |
1639 | 1639 | * <summary> |
1640 | 1640 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
@@ -1697,7 +1697,7 @@ public function __construct($path, $storageName = null, $versionId = null) |
1697 | 1697 | /* |
1698 | 1698 | * -------------------------------------------------------------------------------------------------------------------- |
1699 | 1699 | * <copyright company="Aspose Pty Ltd" file="downloadFileRequest.php"> |
1700 | | - * Copyright (c) 2003-2019 Aspose Pty Ltd |
| 1700 | + * Copyright (c) 2003-2020 Aspose Pty Ltd |
1701 | 1701 | * </copyright> |
1702 | 1702 | * <summary> |
1703 | 1703 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
@@ -1760,7 +1760,7 @@ public function __construct($path, $storageName = null, $versionId = null) |
1760 | 1760 | /* |
1761 | 1761 | * -------------------------------------------------------------------------------------------------------------------- |
1762 | 1762 | * <copyright company="Aspose Pty Ltd" file="moveFileRequest.php"> |
1763 | | - * Copyright (c) 2003-2019 Aspose Pty Ltd |
| 1763 | + * Copyright (c) 2003-2020 Aspose Pty Ltd |
1764 | 1764 | * </copyright> |
1765 | 1765 | * <summary> |
1766 | 1766 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
@@ -1837,7 +1837,7 @@ public function __construct($srcPath, $destPath, $srcStorageName = null, $destSt |
1837 | 1837 | /* |
1838 | 1838 | * -------------------------------------------------------------------------------------------------------------------- |
1839 | 1839 | * <copyright company="Aspose Pty Ltd" file="uploadFileRequest.php"> |
1840 | | - * Copyright (c) 2003-2019 Aspose Pty Ltd |
| 1840 | + * Copyright (c) 2003-2020 Aspose Pty Ltd |
1841 | 1841 | * </copyright> |
1842 | 1842 | * <summary> |
1843 | 1843 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
0 commit comments