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.
39 lines
613 B
39 lines
613 B
<?php
|
|
|
|
namespace OSS\Model;
|
|
|
|
/**
|
|
* Class BucketListInfo
|
|
*
|
|
* ListBuckets接口返回的数据类型
|
|
*
|
|
* @package OSS\Model
|
|
*/
|
|
class BucketListInfo
|
|
{
|
|
/**
|
|
* BucketListInfo constructor.
|
|
* @param array $bucketList
|
|
*/
|
|
public function __construct(array $bucketList)
|
|
{
|
|
$this->bucketList = $bucketList;
|
|
}
|
|
|
|
/**
|
|
* 得到BucketInfo列表
|
|
*
|
|
* @return BucketInfo[]
|
|
*/
|
|
public function getBucketList()
|
|
{
|
|
return $this->bucketList;
|
|
}
|
|
|
|
/**
|
|
* BucketInfo信息列表
|
|
*
|
|
* @var array
|
|
*/
|
|
private $bucketList = array();
|
|
} |