# Class Account

Represents an account that interacts with the CloudFiles API.

  OpenCloud\Common\Base
  OpenCloud\ObjectStore\Resource\AbstractResource
  OpenCloud\ObjectStore\Resource\Account

Namespace: OpenCloud\ObjectStore\Resource
Link: http://docs.rackspace.com/files/api/v1/cf-devguide/content/Accounts-d1e421.html
Located at OpenCloud/ObjectStore/Resource/Account.php

Methods summary
`public` | # `getUrl( mixed $path = null, array $query = array() )`
`public `OpenCloud\Common\Metadata`` | # `getDetails( )` Convenience method. Convenience method. #### Returns ``OpenCloud\Common\Metadata``
`public null|string|integer` | # `getObjectCount( )` #### Returns `null|string|integer`
`public null|string|integer` | # `getContainerCount( )` #### Returns `null|string|integer`
`public null|string|integer` | # `getBytesUsed( )` #### Returns `null|string|integer`
`public mixed` | # `setTempUrlSecret( null $secret = null )` Sets the secret value for the temporary URL. Sets the secret value for the temporary URL. #### Parameters $secret `null` $secret The value to set the secret to. If left blank, a random hash is generated. #### Returns `mixed` $this #### Link http://docs.rackspace.com/files/api/v1/cf-devguide/content/Set_Account_Metadata-d1a4460.html
`public null|string` | # `getTempUrlSecret( )` #### Returns `null|string`

Methods inherited from OpenCloud\ObjectStore\Resource\AbstractResource
`__construct(), appendToMetadata(), fromResponse(), getCdnService(), getClient(), getMetadata(), getService(), headerIsValidMetadata(), retrieveMetadata(), saveMetadata(), setMetadata(), stockHeaders(), stripPrefix(), trimHeaders(), unsetMetadataItem()`

Methods inherited from OpenCloud\Common\Base
`__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()`

Constants summary
`string` | `METADATA_LABEL` | `'Account'` | #

Constants inherited from OpenCloud\ObjectStore\Resource\AbstractResource
`GLOBAL_METADATA_PREFIX`

Properties inherited from OpenCloud\ObjectStore\Resource\AbstractResource
`$metadata, $metadataClass, $service`

Properties inherited from OpenCloud\Common\Base
`$aliases`