Class Object
The DnsObject class is an extension of the PersistentObject class that
permits the asynchronous responses used by Cloud DNS
-
OpenCloud\Common\Base
-
OpenCloud\Common\PersistentObject
-
OpenCloud\DNS\Object
Methods summary
public
OpenCloud\DNS\AsyncResponse
|
#
create( array $params = array() )
Create() returns an asynchronous response
Create() returns an asynchronous response
Parameters
- $params
array $params array of key/value pairs
Returns
Throws
VolumeCreateError if HTTP status is not Success
Overrides
|
public
OpenCloud\DNS\AsyncResponse
|
#
update( array $params = array() )
Update() returns an asynchronous response
Update() returns an asynchronous response
Parameters
- $params
array $params array of key/value pairs
Returns
Throws
VolumeCreateError if HTTP status is not Success
Overrides
|
public
OpenCloud\DNS\AsyncResponse
|
#
delete( )
Delete() returns an asynchronous response
Delete() returns an asynchronous response
Returns
Throws
DeleteError if HTTP status is not Success
Overrides
|
protected
stdClass
|
#
createJson( )
creates the JSON for create
creates the JSON for create
Returns
Throws
CreateError if not overridden
Overrides
|
protected
stdClass
|
#
updateJson( mixed $params = array() )
creates the JSON for update
creates the JSON for update
Returns
Throws
UpdateError if not overridden
Overrides
|
public
array|false
|
#
getCreateKeys( )
Retrieve the keys which are required when the object is created.
Retrieve the keys which are required when the object is created.
Returns
array|false
|
public
array|false
|
#
getUpdateKeys( )
Retrieve the keys which are required when the object is updated.
Retrieve the keys which are required when the object is updated.
Returns
array|false
|
Methods inherited from OpenCloud\Common\PersistentObject
__construct(),
__set(),
action(),
checkExtension(),
createUrl(),
customAction(),
findLink(),
getParent(),
getService(),
id(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
name(),
noCreate(),
noDelete(),
noUpdate(),
parent(),
primaryKeyField(),
refresh(),
region(),
resourceName(),
service(),
setParent(),
setService(),
status(),
url(),
waitFor()
|