\OSS\ModelBucketInfo

Bucket information class. This is the type of element in BucketListInfo's

Class BucketInfo

Summary

Methods
Properties
Constants
__construct()
getLocation()
getName()
getCreateDate()
getStorageClass()
getExtranetEndpoint()
getIntranetEndpoint()
getRegion()
parseFromXmlNode()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$location
$name
$createDate
$storageClass
$extranetEndpoint
$intranetEndpoint
$region
N/A

Properties

$location

$location : string

bucket region

Type

string

$name

$name : string

bucket name

Type

string

$createDate

$createDate : string

bucket creation time

Type

string

$storageClass

$storageClass : string

bucket storage class

Type

string

$extranetEndpoint

$extranetEndpoint : string

bucket extranet endpoint

Type

string

$intranetEndpoint

$intranetEndpoint : string

bucket intranet endpoint

Type

string

$region

$region : string

bucket region

Type

string

Methods

__construct()

__construct(string  $location = '', string  $name = '', string  $createDate = '') : mixed

BucketInfo constructor.

Parameters

string $location
string $name
string $createDate

Returns

mixed —

getLocation()

getLocation() : string

Get bucket location

Returns

string —

getName()

getName() : string

Get bucket name

Returns

string —

getCreateDate()

getCreateDate() : string

Get bucket creation time.

Returns

string —

getStorageClass()

getStorageClass() : string

Get bucket storage class.

Returns

string —

getExtranetEndpoint()

getExtranetEndpoint() : string

Get bucket extranet endpoint.

Returns

string —

getIntranetEndpoint()

getIntranetEndpoint() : string

Get bucket intranet endpoint.

Returns

string —

getRegion()

getRegion() : string

Get bucket intranet endpoint.

Returns

string —

parseFromXmlNode()

parseFromXmlNode(\OSS\Model\xml  $xml) : null

Parse bucket information from node.

Parameters

\OSS\Model\xml $xml

Throws

\OSS\Model\OssException

Returns

null —