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: /**
 6:  * NotificationType class.
 7:  * 
 8:  * @extends ReadOnlyResource
 9:  * @implements ResourceInterface
10:  */
11: class NotificationType extends ReadOnlyResource implements ResourceInterface
12: {
13: 
14:     public $address;
15:     public $fields;
16:     
17:     protected static $json_name = false;
18:     protected static $json_collection_name = 'values';
19:     protected static $url_resource = 'notification_types';
20:     
21:     public function baseUrl()
22:     {
23:         return $this->Service()->Url($this->ResourceName());
24:     }
25: 
26: }
PHP OpenCloud API API documentation generated by ApiGen 2.8.0