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: * CheckType class.
15: */
16: class CheckType extends ReadOnlyResource
17: {
18: /**
19: * @var string
20: */
21: private $id;
22:
23: /**
24: * @var string The name of the supported check type.
25: */
26: private $type;
27:
28: /**
29: * @var array Check type fields.
30: */
31: private $fields;
32:
33: /**
34: * Platforms on which an agent check type is supported. This is advisory information only - the check may still work
35: * on other platforms, or report that check execution failed at runtime.
36: *
37: * @var array
38: */
39: private $supported_platforms;
40:
41: protected static $json_name = false;
42: protected static $url_resource = 'check_types';
43: protected static $json_collection_name = 'values';
44:
45: }