# Class Webhook

Description of Webhook

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\Common\PersistentObject
  OpenCloud\Autoscale\Resource\AbstractResource
  OpenCloud\Autoscale\Resource\Webhook

Namespace: OpenCloud\Autoscale\Resource
Link
Located at OpenCloud/Autoscale/Resource/Webhook.php

Methods summary
`public `stdClass`` | # `createJson( )` Creates the object which will be JSON encoded for request. Creates the object which will be JSON encoded for request. #### Returns ``stdClass`` #### Throws ``RuntimeException`` #### Overrides `OpenCloud\Autoscale\Resource\AbstractResource::createJson()`

Methods inherited from OpenCloud\Autoscale\Resource\AbstractResource
`primaryKeyField(), updateJson()`

Methods inherited from OpenCloud\Common\Resource\PersistentResource
`checkExtension(), create(), delete(), getAlias(), noCreate(), noDelete(), noUpdate(), refresh(), refreshFromLocationUrl(), update(), 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(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()`

Properties summary
`public mixed` | $id | `` | #
`public mixed` | $name | `` | #
`public `OpenCloud\Common\Metadata`` | $metadata | `` | #
`public mixed` | $links | `` | #
`protected static string` | $json_name | `'webhook'` | #
`protected static string` | $url_resource | `'webhooks'` | #
`public array` | $createKeys | `array( 'name', 'metadata' )` | # These are used to set the object used for JSON encode. These are used to set the object used for JSON encode.

Properties inherited from OpenCloud\Autoscale\Resource\AbstractResource
`$associatedCollections, $associatedResources`

Properties inherited from OpenCloud\Common\Resource\BaseResource
`$parent, $service`

Properties inherited from OpenCloud\Common\Base
`$aliases`