Class PtrRecord
PTR records are used for reverse DNS
The PtrRecord object is nearly identical with the Record object. However, the
PtrRecord is a child of the service, and not a child of a Domain.
-
OpenCloud\Common\Base
-
OpenCloud\Common\Resource\BaseResource
-
OpenCloud\Common\Resource\PersistentResource
-
OpenCloud\DNS\Resource\AbstractResource
-
OpenCloud\DNS\Resource\Record
-
OpenCloud\DNS\Resource\PtrRecord
Methods summary
public
|
#
__construct( ServiceInterface $service, mixed $info = null )
Parameters
- $service
ServiceInterface $service The service that this resource belongs to
- $info
mixed $data $data
Overrides
|
protected
|
#
populateRecord( array $params = array() )
Used to internally populate this object with the appropriate type checks
Used to internally populate this object with the appropriate type checks
Parameters
Throws
|
public
|
|
public
OpenCloud\DNS\Resource\HasPtrRecordsInterface
|
|
public
Guzzle\Http\Message\Response
|
#
create( array $params = array() )
Create a new resource
Parameters
Returns
Guzzle\Http\Message\Response
Overrides
|
public
Guzzle\Http\Message\Response
|
#
update( array $params = array() )
Update a resource
Parameters
Returns
Guzzle\Http\Message\Response
Overrides
|
public
Guzzle\Http\Message\Response
|
#
delete( )
Delete this resource
Returns
Guzzle\Http\Message\Response
Overrides
|
protected
object
|
#
createJson( )
Provides JSON for create request body
Provides JSON for create request body
Returns
object
Throws
Overrides
|
protected
|
#
updateJson( mixed $params = array() )
Provides JSON for update request body
Provides JSON for update request body
Overrides
|
Methods inherited from OpenCloud\Common\Resource\BaseResource
findLink(),
getClient(),
getMetadata(),
getParent(),
getService(),
getUrl(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
parseResponse(),
primaryKeyField(),
resourceName(),
setMetadata(),
setParent(),
setService()
|
Methods inherited from OpenCloud\Common\Base
__call(),
checkJsonError(),
generateUuid(),
getInstance(),
getJsonHeader(),
getLogger(),
getProperty(),
makeResourceIteratorOptions(),
populate(),
propertyExists(),
setLogger(),
setProperty(),
stripNamespace(),
toCamel(),
toUnderscores()
|
Properties inherited from OpenCloud\DNS\Resource\Record
$comment,
$createKeys,
$created,
$data,
$id,
$name,
$parent,
$priority,
$ttl,
$type,
$updateKeys,
$updated
|