1: <?php
2:
3: namespace Ctct\Components\Library;
4:
5: use Ctct\Components\Component;
6:
7: 8: 9: 10: 11: 12: 13:
14: class FileUploadStatus extends Component {
15: 16: 17: 18:
19: public $description;
20:
21: 22: 23: 24:
25: public $file_id;
26:
27: 28: 29: 30: 31:
32: public $status;
33:
34: public static function create(Array $props)
35: {
36: $fileUploadStatus = new FileUploadStatus();
37:
38: $fileUploadStatus->description = parent::getValue($props, "description");
39: $fileUploadStatus->file_id = parent::getValue($props, "file_id");
40: $fileUploadStatus->status = parent::getValue($props, "status");
41:
42: return $fileUploadStatus;
43: }
44: }