![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
Model class to hold Upload info. More...

Public Member Functions | |
| __construct ($folderId, $folderName, $uploadId, $description, $uploadName, $uploadDate, $assignee, $hash) | |
| getJSON ($version=ApiVersion::V1) | |
| getArray ($version=ApiVersion::V1) | |
| setAssigneeDate (?string $assigneeDate) | |
| setClosingDate (?string $closingDate) | |
Private Attributes | |
| $folderId | |
| $folderName | |
| $uploadId | |
| $description | |
| $uploadName | |
| $uploadDate | |
| $assignee | |
| $assigneeDate | |
| $closingDate | |
| $hash | |
Model class to hold Upload info.
Definition at line 16 of file Upload.php.
| Fossology\UI\Api\Models\Upload::__construct | ( | $folderId, | |
| $folderName, | |||
| $uploadId, | |||
| $description, | |||
| $uploadName, | |||
| $uploadDate, | |||
| $assignee, | |||
| $hash | |||
| ) |
Upload constructor.
| integer | $folderId | |
| string | $folderName | |
| integer | $uploadId | |
| string | $description | |
| string | $uploadName | |
| string | $uploadDate | |
| Hash | $hash |
Definition at line 79 of file Upload.php.
| Fossology\UI\Api\Models\Upload::getArray | ( | $version = ApiVersion::V1 | ) |
Get the upload element as an associative array
Definition at line 107 of file Upload.php.
| Fossology\UI\Api\Models\Upload::getJSON | ( | $version = ApiVersion::V1 | ) |
| Fossology\UI\Api\Models\Upload::setAssigneeDate | ( | ?string | $assigneeDate | ) |
| Fossology\UI\Api\Models\Upload::setClosingDate | ( | ?string | $closingDate | ) |
|
private |
Upload assignee id
Definition at line 52 of file Upload.php.
|
private |
Date when a user was assigned to the upload.
Definition at line 57 of file Upload.php.
|
private |
Date when the upload was closed or rejected.
Definition at line 62 of file Upload.php.
|
private |
Upload description
Definition at line 37 of file Upload.php.
|
private |
Folder id holding the upload
Definition at line 22 of file Upload.php.
|
private |
Folder name holding the upload
Definition at line 27 of file Upload.php.
|
private |
Hash information of the upload
Definition at line 67 of file Upload.php.
|
private |
Creation date of upload
Definition at line 47 of file Upload.php.
|
private |
Current upload id
Definition at line 32 of file Upload.php.
|
private |
Upload name
Definition at line 42 of file Upload.php.