UploadInfo.php 891 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. namespace OSS\Model;
  3. /**
  4. * Class UploadInfo
  5. *
  6. * The return value of ListMultipartUpload
  7. *
  8. * @package OSS\Model
  9. */
  10. class UploadInfo
  11. {
  12. /**
  13. * UploadInfo constructor.
  14. *
  15. * @param string $key
  16. * @param string $uploadId
  17. * @param string $initiated
  18. */
  19. public function __construct($key, $uploadId, $initiated)
  20. {
  21. $this->key = $key;
  22. $this->uploadId = $uploadId;
  23. $this->initiated = $initiated;
  24. }
  25. /**
  26. * @return string
  27. */
  28. public function getKey()
  29. {
  30. return $this->key;
  31. }
  32. /**
  33. * @return string
  34. */
  35. public function getUploadId()
  36. {
  37. return $this->uploadId;
  38. }
  39. /**
  40. * @return string
  41. */
  42. public function getInitiated()
  43. {
  44. return $this->initiated;
  45. }
  46. private $key = "";
  47. private $uploadId = "";
  48. private $initiated = "";
  49. }