| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 | <?phpnamespace OSS\Model;/** * Class ObjectVersionListInfo * * The class of return value of ListObjectVersions * * @package OSS\Model */class ObjectVersionListInfo{    /**     * ObjectVersionListInfo constructor.     *     * @param string $bucketName     * @param string $prefix     * @param string $keyMarker     * @param string $nextKeyMarker     * @param string $versionIdMarker     * @param string $nextVersionIdMarker     * @param string $maxKeys     * @param string $delimiter     * @param null $isTruncated     * @param array $objectversionList     * @param array $deleteMarkerList     * @param array $prefixList     */    public function __construct($bucketName, $prefix, $keyMarker, $nextKeyMarker, $versionIdMarker, $nextVersionIdMarker        , $maxKeys, $delimiter, $isTruncated        , array $objectversionList, array $deleteMarkerList, array $prefixList)    {        $this->bucketName = $bucketName;        $this->prefix = $prefix;        $this->keyMarker = $keyMarker;        $this->nextKeyMarker = $nextKeyMarker;        $this->versionIdMarker = $versionIdMarker;        $this->nextVersionIdMarker = $nextVersionIdMarker;        $this->maxKeys = $maxKeys;        $this->delimiter = $delimiter;        $this->isTruncated = $isTruncated;        $this->objectVersionList = $objectversionList;        $this->deleteMarkerList = $deleteMarkerList;        $this->prefixList = $prefixList;    }    /**     * @return string     */    public function getBucketName()    {        return $this->bucketName;    }    /**     * @return string     */    public function getPrefix()    {        return $this->prefix;    }    /**     * @return string     */    public function getKeyMarker()    {        return $this->keyMarker;    }    /**     * @return string     */    public function getNextKeyMarker()    {        return $this->nextKeyMarker;    }    /**     * @return string     */    public function getVersionIdMarker()    {        return $this->versionIdMarker;    }    /**     * @return string     */    public function getNextVersionIdMarker()    {        return $this->nextVersionIdMarker;    }    /**     * @return int     */    public function getMaxKeys()    {        return $this->maxKeys;    }    /**     * @return string     */    public function getDelimiter()    {        return $this->delimiter;    }    /**     * @return mixed     */    public function getIsTruncated()    {        return $this->isTruncated;    }    /**     * Get the ObjectVersionInfo list.     *     * @return ObjectVersionInfo[]     */    public function getObjectVersionList()    {        return $this->objectVersionList;    }    /**     * Get the DeleteMarkerInfo list.     *     * @return DeleteMarkerInfo[]     */    public function getDeleteMarkerList()    {        return $this->deleteMarkerList;    }    /**     * Get the PrefixInfo list     *     * @return PrefixInfo[]     */    public function getPrefixList()    {        return $this->prefixList;    }    private $bucketName = "";    private $prefix = "";    private $keyMarker = "";    private $nextKeyMarker = "";    private $versionIdmarker = "";    private $nextVersionIdMarker = "";    private $maxKeys = 0;    private $delimiter = "";    private $isTruncated = null;    private $objectVersionList = array();    private $deleteMarkerList = array();    private $prefixList = array();}
 |