123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- namespace OSS\Model;
- /**
- * Class PartInfo
- * @package OSS\Model
- */
- class PartInfo
- {
- /**
- * PartInfo constructor.
- *
- * @param int $partNumber
- * @param string $lastModified
- * @param string $eTag
- * @param int $size
- */
- public function __construct($partNumber, $lastModified, $eTag, $size)
- {
- $this->partNumber = $partNumber;
- $this->lastModified = $lastModified;
- $this->eTag = $eTag;
- $this->size = $size;
- }
- /**
- * @return int
- */
- public function getPartNumber()
- {
- return $this->partNumber;
- }
- /**
- * @return string
- */
- public function getLastModified()
- {
- return $this->lastModified;
- }
- /**
- * @return string
- */
- public function getETag()
- {
- return $this->eTag;
- }
- /**
- * @return int
- */
- public function getSize()
- {
- return $this->size;
- }
- private $partNumber = 0;
- private $lastModified = "";
- private $eTag = "";
- private $size = 0;
- }
|