Class Domain
The Domain class represents a single domain
Note that the Subdomain class is defined in this same file because of
mutual dependencies.
- OpenCloud\Common\Base
-
OpenCloud\Common\Resource\BaseResource
-
OpenCloud\Common\Resource\PersistentResource
-
OpenCloud\DNS\Resource\AbstractResource
-
OpenCloud\DNS\Resource\Domain
Direct known subclasses
Methods summary
public
|
|
public
OpenCloud\Collection
|
|
public
|
|
public
|
|
public
integer
|
#
addRecord(
Adds a new record to the list (for multiple record creation) |
public
integer
|
#
addSubdomain(
adds a new subdomain (for multiple subdomain creation) |
public
DNS\Changes
|
|
public
|
|
public
|
#
cloneDomain( string $newDomainName, boolean $subdomains = true, boolean $comments = true, boolean $email = true, boolean $records = true )
clones the domain to the specified target domain |
Methods inherited from OpenCloud\DNS\Resource\AbstractResource
create(),
delete(),
getCreateKeys(),
getUpdateKeys(),
update()
Methods inherited from OpenCloud\Common\Resource\PersistentResource
checkExtension(),
refresh(),
refreshFromLocationUrl(),
waitFor()
Methods inherited from OpenCloud\Common\Resource\BaseResource
__construct(),
findLink(),
getClient(),
getMetadata(),
getParent(),
getService(),
getUrl(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
parseResponse(),
resourceName(),
setMetadata(),
setParent(),
setService()
Methods inherited from OpenCloud\Common\Base
__call(),
checkJsonError(),
generateUuid(),
getInstance(),
getLogger(),
hasLogger(),
makeResourceIteratorOptions(),
populate(),
setLogger(),
stripNamespace(),
toCamel(),
toUnderscores()
Magic methods summary
Properties summary
public
|
$id
|
|
public
|
$accountId
|
|
public
|
$ttl
|
|
public
|
$updated
|
|
public
|
$emailAddress
|
|
public
|
$created
|
|
public
|
$name
|
|
public
|
$comment
|