DeletedObjectInfo.php 1.2 KB

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