BucketListInfo.php 614 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace OSS\Model;
  3. /**
  4. * Class BucketListInfo
  5. *
  6. * It's the type of return value of ListBuckets.
  7. *
  8. * @package OSS\Model
  9. */
  10. class BucketListInfo
  11. {
  12. /**
  13. * BucketListInfo constructor.
  14. * @param array $bucketList
  15. */
  16. public function __construct(array $bucketList)
  17. {
  18. $this->bucketList = $bucketList;
  19. }
  20. /**
  21. * Get the BucketInfo list
  22. *
  23. * @return BucketInfo[]
  24. */
  25. public function getBucketList()
  26. {
  27. return $this->bucketList;
  28. }
  29. /**
  30. * BucketInfo list
  31. *
  32. * @var array
  33. */
  34. private $bucketList = array();
  35. }