added userId and relativePath attributes to DiffTask
This commit is contained in:
parent
2b64e8969a
commit
7630f056ec
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ class DiffTask extends Entity implements JsonSerializable {
|
||||||
|
|
||||||
protected $userId;
|
protected $userId;
|
||||||
protected $groupfolderId;
|
protected $groupfolderId;
|
||||||
|
protected $relativePath;
|
||||||
protected $snapshotId;
|
protected $snapshotId;
|
||||||
protected $timestamp;
|
protected $timestamp;
|
||||||
|
|
||||||
|
@ -20,7 +21,9 @@ class DiffTask extends Entity implements JsonSerializable {
|
||||||
public function jsonSerialize() {
|
public function jsonSerialize() {
|
||||||
return [
|
return [
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
|
'userId' => $this->userId,
|
||||||
'groupfolderId' => $this->groupfolderId,
|
'groupfolderId' => $this->groupfolderId,
|
||||||
|
'relativePath' => $this->relativePath,
|
||||||
'snapshotId' => $this->snapshotId,
|
'snapshotId' => $this->snapshotId,
|
||||||
'timestamp' => $this->timestamp,
|
'timestamp' => $this->timestamp,
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue