DeleteObjectInfo.php 645 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace OSS\Model;
  3. /**
  4. * Class DeleteObjectInfo
  5. * @package OSS\Model
  6. */
  7. class DeleteObjectInfo
  8. {
  9. /**
  10. * DeleteObjectInfo constructor.
  11. *
  12. * @param string $key
  13. * @param string $versionId
  14. */
  15. public function __construct($key, $versionId = '')
  16. {
  17. $this->key = $key;
  18. $this->versionId = $versionId;
  19. }
  20. /**
  21. * @return string
  22. */
  23. public function getKey()
  24. {
  25. return $this->key;
  26. }
  27. /**
  28. * @return string
  29. */
  30. public function getVersionId()
  31. {
  32. return $this->versionId;
  33. }
  34. private $key = "";
  35. private $versionId = "";
  36. }