89 public function __construct()
91 $this->mainLicense = null;
92 $this->uniqueLicenses = 0;
93 $this->uploadId = null;
94 $this->totalLicenses = 0;
95 $this->uploadName = null;
96 $this->uniqueConcludedLicenses = 0;
97 $this->totalConcludedLicenses = 0;
98 $this->filesToBeCleared = 0;
99 $this->filesCleared = 0;
100 $this->clearingStatus = UploadStatus::OPEN;
101 $this->copyrightCount = 0;
110 return json_encode($this->
getArray());
129 "clearingStatus" => self::statusToString($this->clearingStatus),
231 case UploadStatus::OPEN:
234 case UploadStatus::IN_PROGRESS:
235 $string =
"InProgress";
237 case UploadStatus::CLOSED:
240 case UploadStatus::REJECTED:
241 $string =
"Rejected";
setTotalConcludedLicenses($totalConcludedLicenses)
setTotalLicenses($totalLicenses)
setFilesToBeCleared($filesToBeCleared)
static statusToString($status)
setFilesCleared($filesCleared)
setUploadName($uploadName)
setMainLicense($mainLicense)
Model class to hold Upload info.
setUniqueConcludedLicenses($uniqueConcludedLicenses)
setClearingStatus($clearingStatus)
setCopyrightCount($copyrightCount)
setUniqueLicenses($uniqueLicenses)