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: * Metric class.
15: */
16: class Metric extends ReadOnlyResource
17: {
18: protected static $json_name = 'metrics';
19: protected static $json_collection_name = 'values';
20: protected static $url_resource = 'metrics';
21: }