BucketListInfo.php 613 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace OSS\Model;
  3. /**
  4. * Class BucketListInfo
  5. *
  6. * 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. * 得到BucketInfo列表
  22. *
  23. * @return BucketInfo[]
  24. */
  25. public function getBucketList()
  26. {
  27. return $this->bucketList;
  28. }
  29. /**
  30. * BucketInfo信息列表
  31. *
  32. * @var array
  33. */
  34. private $bucketList = array();
  35. }