Skip to content

Commit 54081b3

Browse files
[Bot] push changes from Files.com
1 parent a53e644 commit 54081b3

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.529
1+
2.0.530

docs/Model/FileMigration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"id": 1,
88
"path": "MyFolder",
99
"dest_path": "MyFolder",
10+
"failure_message": "example",
1011
"files_moved": 1,
1112
"files_total": 1,
1213
"operation": "move",
@@ -19,6 +20,7 @@
1920
* `id` (int64): File migration ID
2021
* `path` (string): Source path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
2122
* `dest_path` (string): Destination path
23+
* `failure_message` (string): Reason for the failure, if applicable.
2224
* `files_moved` (int64): Number of files processed
2325
* `files_total` (int64):
2426
* `operation` (string): The type of operation

lib/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function middlewareRemoveHeader($header)
2020

2121
class Api
2222
{
23-
const VERSION = "2.0.529";
23+
const VERSION = "2.0.530";
2424
private static function pushRetryHandler($handlerStack)
2525
{
2626
$shouldRetry = function ($retries, $request, $response, $exception) {

lib/Model/FileMigration.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ public function getDestPath()
7070
{
7171
return @$this->attributes['dest_path'];
7272
}
73+
// string # Reason for the failure, if applicable.
74+
public function getFailureMessage()
75+
{
76+
return @$this->attributes['failure_message'];
77+
}
7378
// int64 # Number of files processed
7479
public function getFilesMoved()
7580
{

0 commit comments

Comments
 (0)