\OSS\ModelObjectVersionInfo

Class ObjectVersionInfo

The element type of ObjectVersionListInfo, which is the return value type of listObjectVersions

The return value of listObjectVersions includes three arrays One is the returned ObjectVersionListInfo, which is similar to a file list in a file system. The other is the returned prefix list, which is similar to a folder list in a file system.

Summary

Methods
Properties
Constants
__construct()
getKey()
getVersionId()
getLastModified()
getETag()
getType()
getSize()
getSizeStr()
getStorageClass()
getIsLatest()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$key
$versionId
$lastModified
$eTag
$type
$size
$storageClass
$isLatest
N/A

Properties

$key

$key

$versionId

$versionId

$lastModified

$lastModified

$eTag

$eTag

$type

$type

$size

$size

$storageClass

$storageClass

$isLatest

$isLatest

Methods

__construct()

__construct(string  $key, mixed  $versionId, string  $lastModified, string  $eTag, string  $type, string  $size, string  $storageClass, string  $isLatest) : mixed

ObjectVersionInfo constructor.

Parameters

string $key
mixed $versionId
string $lastModified
string $eTag
string $type
string $size
string $storageClass
string $isLatest

Returns

mixed —

getKey()

getKey() : string

Returns

string —

getVersionId()

getVersionId() : string

Returns

string —

getLastModified()

getLastModified() : string

Returns

string —

getETag()

getETag() : string

Returns

string —

getType()

getType() : string

Returns

string —

getSize()

getSize() : int

php7 && 64bit can use it

Returns

int —

getSizeStr()

getSizeStr() : string

php5.x or 32bit must use it

Returns

string —

getStorageClass()

getStorageClass() : string

Returns

string —

getIsLatest()

getIsLatest() : string

Returns

string —