# Class ScalingPolicy

Description of ScalingPolicy

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

Namespace: OpenCloud\Autoscale\Resource
Located at OpenCloud/Autoscale/Resource/ScalingPolicy.php

Methods summary
`public` | # `getWebhookList( )`
`public` | # `getWebhook( mixed $id = null )`
`public` | # `createWebhooks( array $webhooks )`
`public` | # `execute( )`

Methods inherited from OpenCloud\Autoscale\Resource\AbstractResource
`createJson(), 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` | $links | `` | #
`public mixed` | $name | `` | #
`public mixed` | $change | `` | #
`public mixed` | $cooldown | `` | #
`public mixed` | $type | `` | #
`public `OpenCloud\Common\Metadata`` | $metadata | `` | #
`protected static string` | $json_name | `'policy'` | #
`protected static string` | $json_collection_name | `'policies'` | #
`protected static string` | $url_resource | `'policies'` | #
`public array` | $createKeys | `array( 'name', 'change', 'cooldown', 'type' )` | # 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`