Overview

Namespaces

  • None
  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Exceptions
      • Log
      • Request
        • Response
    • Compute
    • Database
    • DNS
    • LoadBalancer
      • Resources
    • ObjectStore
      • Resource
    • Orchestration
    • Volume
  • PHP

Classes

  • AbstractResource
  • Account
  • Agent
  • AgentConnection
  • AgentHost
  • AgentHostInfo
  • AgentTarget
  • AgentToken
  • Alarm
  • Changelog
  • Check
  • CheckType
  • Entity
  • Metric
  • Notification
  • NotificationHistory
  • NotificationPlan
  • NotificationType
  • ReadonlyResource
  • View
  • Zone

Interfaces

  • ResourceInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Download
 1: <?php
 2: 
 3: namespace OpenCloud\CloudMonitoring\Resource;
 4: 
 5: use OpenCloud\CloudMonitoring\Exception;
 6: 
 7: class NotificationPlan extends AbstractResource implements ResourceInterface
 8: {
 9:     public $label;
10:     public $critical_state;
11:     public $ok_state;
12:     public $warning_state;
13:     
14:     protected static $json_name = false;
15:     protected static $json_collection_name = 'values';
16:     protected static $url_resource = 'notification_plans';
17: 
18:     protected static $requiredKeys = array(
19:         'label'
20:     );
21:     
22:     protected static $emptyObject = array(
23:         'label',
24:         'critical_state',
25:         'ok_state',
26:         'warning_state'
27:     );
28: 
29:     public function baseUrl()
30:     {
31:         return $this->Service()->Url($this->ResourceName());
32:     }
33:     
34: }
PHP OpenCloud API API documentation generated by ApiGen 2.8.0