You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
613 B

6 years ago
  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. }