1: <?php
2: /**
3: * PHP OpenCloud library.
4: *
5: * @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
6: * @license https://www.apache.org/licenses/LICENSE-2.0
7: * @author Glen Campbell <glen.campbell@rackspace.com>
8: * @author Jamie Hannaford <jamie.hannaford@rackspace.com>
9: */
10:
11: namespace OpenCloud\CloudMonitoring\Resource;
12:
13: /**
14: * Changelog class.
15: */
16: class Changelog extends ReadOnlyResource
17: {
18: private $id;
19: private $timestamp;
20: private $entity_id;
21: private $alarm_id;
22: private $check_id;
23: private $state;
24: private $analyzed_by_monitoring_zone_id;
25:
26: protected static $json_name = 'changelogs/alarms';
27: protected static $json_collection_name = 'values';
28: protected static $url_resource = 'changelogs/alarms';
29:
30: }