\OSS\ModelObjectInfo

Class ObjectInfo

The element type of ObjectListInfo, which is the return value type of listObjects

The return value of listObjects includes two arrays One is the returned ObjectListInfo, 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()
getLastModified()
getETag()
getType()
getSize()
getSizeStr()
getStorageClass()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$key
$lastModified
$eTag
$type
$size
$storageClass
N/A

Properties

$key

$key

$lastModified

$lastModified

$eTag

$eTag

$type

$type

$size

$size

$storageClass

$storageClass

Methods

__construct()

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

ObjectInfo constructor.

Parameters

string $key
string $lastModified
string $eTag
string $type
string $size
string $storageClass

Returns

mixed —

getKey()

getKey() : 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 —