Class DataObject
Objects are the basic storage entities in Cloud Files. They represent the files and their optional metadata you upload to the system. When you upload objects to Cloud Files, the data is stored as-is (without compression or encryption) and consists of a location (container), the object's name, and any metadata you assign consisting of key/value pairs.
- OpenCloud\Common\Base
- OpenCloud\ObjectStore\Resource\AbstractResource
- OpenCloud\ObjectStore\Resource\DataObject
public
|
#
__construct(
Also need to set Container parent and handle pseudo-directories. |
public
|
|
public
mixed
|
#
populateFromResponse( Guzzle\Http\Message\Response $response )
Takes a response and stocks common values from both the body and the headers. |
public
|
|
public
mixed
|
|
public
|
|
public
mixed
|
|
public
string
|
|
public
mixed
|
|
public
boolean
|
|
public
boolean
|
|
public
mixed
|
|
public
Guzzle\Http\EntityBody
|
|
public
mixed
|
|
public
null|string
|
|
public
mixed
|
|
public
integer
|
|
public
mixed
|
|
public
null|string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
Guzzle\Http\Message\Response
|
|
public
|
|
public
string
|
|
public
mixed
|
|
public
boolean|Guzzle\Http\Url
|
|
protected static
|
string |
METADATA_LABEL
|
'Object' |
GLOBAL_METADATA_PREFIX
|
protected
The
|
$name |
|
#
file name of the object |
protected
Guzzle\Http\EntityBody
|
$content |
|
|
protected
boolean
|
$directory | false |
#
Whether or not this object is a "pseudo-directory" |
protected
string
|
$contentType |
|
#
The object's content type |
protected
The
|
$contentLength |
|
#
size of this object. |
protected
string
|
$lastModified |
|
#
Date of last modification. |
protected
string
|
$etag |
|
#
Etag. |
$metadata,
$metadataClass,
$service
|
$aliases
|