1: <?php
2:
3: namespace OpenCloud\CloudMonitoring\Resource;
4:
5: /**
6: * CheckType class.
7: *
8: * @extends AbstractResource
9: */
10: class CheckType extends ReadOnlyResource implements ResourceInterface
11: {
12:
13: public $id;
14: public $type;
15: public $fields;
16: public $supported_platforms;
17:
18: protected static $json_name = false;
19: protected static $url_resource = 'check_types';
20: protected static $json_collection_name = 'values';
21:
22: public function baseUrl()
23: {
24: return $this->getService()->url($this->resourceName());
25: }
26:
27: }