12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?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();
- }
|