DeleteMarkerInfo.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. namespace OSS\Model;
  3. /**
  4. *
  5. * Class DeleteMarkerInfo
  6. *
  7. * @package OSS\Model
  8. */
  9. class DeleteMarkerInfo
  10. {
  11. /**
  12. * DeleteMarkerInfo constructor.
  13. *
  14. * @param string $key
  15. * @param string $versionId
  16. * @param string $lastModified
  17. * @param string $isLatest
  18. */
  19. public function __construct($key, $versionId, $lastModified, $isLatest)
  20. {
  21. $this->key = $key;
  22. $this->versionId = $versionId;
  23. $this->lastModified = $lastModified;
  24. $this->isLatest = $isLatest;
  25. }
  26. /**
  27. * @return string
  28. */
  29. public function getKey()
  30. {
  31. return $this->key;
  32. }
  33. /**
  34. * @return string
  35. */
  36. public function getVersionId()
  37. {
  38. return $this->versionId;
  39. }
  40. /**
  41. * @return string
  42. */
  43. public function getLastModified()
  44. {
  45. return $this->lastModified;
  46. }
  47. /**
  48. * @return string
  49. */
  50. public function getIsLatest()
  51. {
  52. return $this->isLatest;
  53. }
  54. private $key = "";
  55. private $versionId = "";
  56. private $lastModified = "";
  57. private $isLatest = "";
  58. }