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\Resource\Object
Methods summary
public
OpenCloud\DNS\Resource\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\Resource\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\Resource\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(),
action(),
checkExtension(),
createUrl(),
findLink(),
getClient(),
getMetadata(),
getParent(),
getService(),
getUrl(),
id(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
name(),
noCreate(),
noDelete(),
noUpdate(),
parseResponse(),
primaryKeyField(),
refresh(),
refreshFromLocationUrl(),
region(),
resourceName(),
setMetadata(),
setParent(),
setService(),
status(),
url(),
waitFor()
|
Methods inherited from OpenCloud\Common\Base
__call(),
checkJsonError(),
generateUuid(),
getLogger(),
getProperty(),
makeResourceIteratorOptions(),
populate(),
propertyExists(),
setLogger(),
setProperty(),
stripNamespace(),
toCamel(),
toUnderscores()
|