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
OpenCloud\DNS\Resource\Subdomain
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 |
protected
|
create(),
delete(),
getCreateKeys(),
getUpdateKeys(),
update(),
updateJson()
|
checkExtension(),
getAlias(),
noCreate(),
noDelete(),
noUpdate(),
refresh(),
refreshFromLocationUrl(),
waitFor()
|
public
mixed
|
$id |
|
|
public
mixed
|
$accountId |
|
|
public
mixed
|
$ttl |
|
|
public
mixed
|
$updated |
|
|
public
mixed
|
$emailAddress |
|
|
public
mixed
|
$created |
|
|
public
mixed
|
$name |
|
|
public
mixed
|
$comment |
|
|
protected static
boolean
|
$json_name | false |
|
protected static
string
|
$json_collection_name | 'domains' |
|
protected static
string
|
$url_resource | 'domains' |
|
protected
array
|
$createKeys | array(
'name',
'emailAddress',
'ttl',
'comment'
) |
|
protected
array
|
$updateKeys | array(
'emailAddress',
'ttl',
'comment'
) |
$metadata,
$parent,
$service
|
$aliases
|