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.
97 lines
1.9 KiB
97 lines
1.9 KiB
<?php
|
|
|
|
namespace OSS\Model;
|
|
|
|
/**
|
|
* Class ListPartsInfo
|
|
* @package OSS\Model
|
|
* @link http://help.aliyun.com/document_detail/oss/api-reference/multipart-upload/ListParts.html
|
|
*/
|
|
class ListPartsInfo
|
|
{
|
|
|
|
/**
|
|
* ListPartsInfo constructor.
|
|
* @param string $bucket
|
|
* @param string $key
|
|
* @param string $uploadId
|
|
* @param int $nextPartNumberMarker
|
|
* @param int $maxParts
|
|
* @param string $isTruncated
|
|
* @param array $listPart
|
|
*/
|
|
public function __construct($bucket, $key, $uploadId, $nextPartNumberMarker, $maxParts, $isTruncated, array $listPart)
|
|
{
|
|
$this->bucket = $bucket;
|
|
$this->key = $key;
|
|
$this->uploadId = $uploadId;
|
|
$this->nextPartNumberMarker = $nextPartNumberMarker;
|
|
$this->maxParts = $maxParts;
|
|
$this->isTruncated = $isTruncated;
|
|
$this->listPart = $listPart;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getBucket()
|
|
{
|
|
return $this->bucket;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getKey()
|
|
{
|
|
return $this->key;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getUploadId()
|
|
{
|
|
return $this->uploadId;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getNextPartNumberMarker()
|
|
{
|
|
return $this->nextPartNumberMarker;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getMaxParts()
|
|
{
|
|
return $this->maxParts;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getIsTruncated()
|
|
{
|
|
return $this->isTruncated;
|
|
}
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
public function getListPart()
|
|
{
|
|
return $this->listPart;
|
|
}
|
|
|
|
private $bucket = "";
|
|
private $key = "";
|
|
private $uploadId = "";
|
|
private $nextPartNumberMarker = 0;
|
|
private $maxParts = 0;
|
|
private $isTruncated = "";
|
|
private $listPart = array();
|
|
} |