cdocutils.nodes
document
q)q}q(U	nametypesq}q(X   infoqNX   create notification planqNX   notification plansqNX   notification typesq	NX   list notificationsq
NX6   list alarm notification history for a particular checkqNX   setupqNX   webhookqNX   test existing notificationqNX   test parametersqNX#   update and delete notification planqNX   notificationsqNX   create notificationqNX   emailqNX   alarm notification historyqNX
   attributesqNX$   list all possible notification typesqNX1   discover which checks have a notification historyqNX   update and delete notificationsqNX*   get a particular notification history itemqNuUsubstitution_defsq}qUparse_messagesq]q(cdocutils.nodes
system_message
q)q}q (U	rawsourceq!U Uparentq"cdocutils.nodes
section
q#)q$}q%(h!U U
referencedq&Kh"h#)q'}q((h!U h"hUsourceq)XT   /Users/jamie/projects/php/php-opencloud/doc/services/monitoring/Notifications.md.rstq*Utagnameq+Usectionq,U
attributesq-}q.(Udupnamesq/]Uclassesq0]Ubackrefsq1]Uidsq2]q3Unotification-typesq4aUnamesq5]q6h	auUlineq7K_Udocumentq8hUchildrenq9]q:(cdocutils.nodes
title
q;)q<}q=(h!X   Notification typesq>h"h'h)h*h+Utitleq?h-}q@(h/]h0]h1]h2]h5]uh7K_h8hh9]qAcdocutils.nodes
Text
qBX   Notification typesqCqD}qE(h!h>h"h<ubaubh$h#)qF}qG(h!U h&Kh"h'h)h*h+h,h-}qH(h/]qIX   setupqJah0]h1]h2]qKUid2qLah5]uh7Kh8hh9]qM(h;)qN}qO(h!X   SetupqPh"hFh)h*h+h?h-}qQ(h/]h0]h1]h2]h5]uh7Kh8hh9]qRhBX   SetupqSqT}qU(h!hPh"hNubaubcdocutils.nodes
paragraph
qV)qW}qX(h!X   If you've already set up a main Notification object, and want to access
functionality for this Notification's particular Notification Type, you
can access its property:qYh"hFh)h*h+U	paragraphqZh-}q[(h/]h0]h1]h2]h5]uh7Kh8hh9]q\hBX   If you've already set up a main Notification object, and want to access
functionality for this Notification's particular Notification Type, you
can access its property:q]q^}q_(h!hYh"hWubaubcdocutils.nodes
literal_block
q`)qa}qb(h!X-   $type = $notification->getNotificationType();h"hFh)h*h+Uliteral_blockqch-}qd(U	xml:spaceqeUpreserveqfh2]h1]h/]h0]qg(UcodeqhX   phpqieh5]uh7Kh8hh9]qjcdocutils.nodes
inline
qk)ql}qm(h!X-   $type = $notification->getNotificationType();h-}qn(h/]h0]qoUotherqpah1]h2]h5]uh"hah9]qqhBX-   $type = $notification->getNotificationType();qrqs}qt(h!U h"hlubah+UinlinequubaubhV)qv}qw(h!XE   Alternatively, you can retrieve an independent resource using the ID:qxh"hFh)h*h+hZh-}qy(h/]h0]h1]h2]h5]uh7Kh8hh9]qzhBXE   Alternatively, you can retrieve an independent resource using the ID:q{q|}q}(h!hxh"hvubaubh`)q~}q(h!XF   $typeId = 'pagerduty';
$type = $service->getNotificationType($typeId);h"hFh)h*h+hch-}q(hehfh2]h1]h/]h0]q(hhX   phpqeh5]uh7Kh8hh9]qhk)q}q(h!XF   $typeId = 'pagerduty';
$type = $service->getNotificationType($typeId);h-}q(h/]h0]qUotherqah1]h2]h5]uh"h~h9]qhBXF   $typeId = 'pagerduty';
$type = $service->getNotificationType($typeId);qq}q(h!U h"hubah+huubaubeubh#)q}q(h!U h"h'h)h*h+h,h-}q(h/]h0]h1]h2]qU$list-all-possible-notification-typesqah5]qhauh7Kh8hh9]q(h;)q}q(h!X$   List all possible notification typesqh"hh)h*h+h?h-}q(h/]h0]h1]h2]h5]uh7Kh8hh9]qhBX$   List all possible notification typesqq}q(h!hh"hubaubh`)q}q(h!X   $types = $service->getNotificationTypes();

foreach ($types as $type) {
    echo sprintf('%s %s', $type->getName(), $type->getDescription());
}h"hh)h*h+hch-}q(hehfh2]h1]h/]h0]q(hhX   phpqeh5]uh7Kh8hh9]qhk)q}q(h!X   $types = $service->getNotificationTypes();

foreach ($types as $type) {
    echo sprintf('%s %s', $type->getName(), $type->getDescription());
}h-}q(h/]h0]qUotherqah1]h2]h5]uh"hh9]qhBX   $types = $service->getNotificationTypes();

foreach ($types as $type) {
    echo sprintf('%s %s', $type->getName(), $type->getDescription());
}qq}q(h!U h"hubah+huubaubeubeubh)h*h+h,h-}q(h/]qX   infoqah0]h1]h2]qUid1qah5]uh7Kbh8hh9]q(h;)q}q(h!X   Infoqh"h$h)h*h+h?h-}q(h/]h0]h1]h2]h5]uh7Kbh8hh9]qhBX   Infoqq}q(h!hh"hubaubhV)q}q(h!Xh   Pretty self-explanatory. Rackspace Cloud Monitoring currently supports
the following notification types:qh"h$h)h*h+hZh-}q(h/]h0]h1]h2]h5]uh7Kdh8hh9]qhBXh   Pretty self-explanatory. Rackspace Cloud Monitoring currently supports
the following notification types:qq}q(h!hh"hubaubh#)q}q(h!U h"h$h)h*h+h,h-}q(h/]h0]h1]h2]qUwebhookqah5]qhauh7Khh8hh9]q(h;)q}q(h!X   Webhookqh"hh)h*h+h?h-}q(h/]h0]h1]h2]h5]uh7Khh8hh9]qhBX   Webhookqͅq}q(h!hh"hubaubhV)q}q(h!Xa   Industry-standard web hooks, where JSON is posted to a configurable URL.
It has these attributes:qh"hh)h*h+hZh-}q(h/]h0]h1]h2]h5]uh7Kjh8hh9]qhBXa   Industry-standard web hooks, where JSON is posted to a configurable URL.
It has these attributes:qՅq}q(h!hh"hubaubcdocutils.nodes
table
q)q}q(h!U h"hh)h*h+Utableqh-}q(h/]h0]h1]h2]h5]uh7Nh8hh9]qcdocutils.nodes
tgroup
q)q}q(h!U h-}q(h2]h1]h/]h0]h5]UcolsKuh"hh9]q(cdocutils.nodes
colspec
q)q}q(h!U h-}q(h2]h1]h/]h0]h5]UcolwidthKuh"hh9]h+Ucolspecqubh)q}q(h!U h-}q(h2]h1]h/]h0]h5]UcolwidthK*uh"hh9]h+hubh)q}q(h!U h-}q(h2]h1]h/]h0]h5]UcolwidthKuh"hh9]h+hubcdocutils.nodes
thead
q)q}q(h!U h-}q(h/]h0]h1]h2]h5]uh"hh9]qcdocutils.nodes
row
q)q}q(h!U h-}q(h/]h0]h1]h2]h5]uh"hh9]q(cdocutils.nodes
entry
q)q}q(h!U h-}q(h/]h0]h1]h2]h5]uh"hh9]qhV)q}q(h!X   Nameqh"hh)h*h+hZh-}r   (h/]h0]h1]h2]h5]uh7Knh9]r  hBX   Namer  r  }r  (h!hh"hubaubah+Uentryr  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"hh9]r	  hV)r
  }r  (h!X   Descriptionr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Knh9]r  hBX   Descriptionr  r  }r  (h!j  h"j
  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"hh9]r  hV)r  }r  (h!X	   Data typer  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Knh9]r  hBX	   Data typer  r  }r  (h!j  h"j  ubaubah+j  ubeh+Urowr  ubah+Utheadr  ubcdocutils.nodes
tbody
r   )r!  }r"  (h!U h-}r#  (h/]h0]h1]h2]h5]uh"hh9]r$  h)r%  }r&  (h!U h-}r'  (h/]h0]h1]h2]h5]uh"j!  h9]r(  (h)r)  }r*  (h!U h-}r+  (h/]h0]h1]h2]h5]uh"j%  h9]r,  hV)r-  }r.  (h!X   addressr/  h"j)  h)h*h+hZh-}r0  (h/]h0]h1]h2]h5]uh7Kph9]r1  hBX   addressr2  r3  }r4  (h!j/  h"j-  ubaubah+j  ubh)r5  }r6  (h!U h-}r7  (h/]h0]h1]h2]h5]uh"j%  h9]r8  hV)r9  }r:  (h!X&   Email address to send notifications tor;  h"j5  h)h*h+hZh-}r<  (h/]h0]h1]h2]h5]uh7Kph9]r=  hBX&   Email address to send notifications tor>  r?  }r@  (h!j;  h"j9  ubaubah+j  ubh)rA  }rB  (h!U h-}rC  (h/]h0]h1]h2]h5]uh"j%  h9]rD  hV)rE  }rF  (h!X   Valid emailrG  h"jA  h)h*h+hZh-}rH  (h/]h0]h1]h2]h5]uh7Kph9]rI  hBX   Valid emailrJ  rK  }rL  (h!jG  h"jE  ubaubah+j  ubeh+j  ubah+UtbodyrM  ubeh+UtgrouprN  ubaubeubh#)rO  }rP  (h!U h"h$h)h*h+h,h-}rQ  (h/]h0]h1]h2]rR  UemailrS  ah5]rT  hauh7Kth8hh9]rU  (h;)rV  }rW  (h!X   EmailrX  h"jO  h)h*h+h?h-}rY  (h/]h0]h1]h2]h5]uh7Kth8hh9]rZ  hBX   Emailr[  r\  }r]  (h!jX  h"jV  ubaubhV)r^  }r_  (h!X\   Email alerts where the message is delivered to a specified address. It
has these attributes:r`  h"jO  h)h*h+hZh-}ra  (h/]h0]h1]h2]h5]uh7Kvh8hh9]rb  hBX\   Email alerts where the message is delivered to a specified address. It
has these attributes:rc  rd  }re  (h!j`  h"j^  ubaubh)rf  }rg  (h!U h"jO  h)h*h+hh-}rh  (h/]h0]h1]h2]h5]uh7Nh8hh9]ri  h)rj  }rk  (h!U h-}rl  (h2]h1]h/]h0]h5]UcolsKuh"jf  h9]rm  (h)rn  }ro  (h!U h-}rp  (h2]h1]h/]h0]h5]UcolwidthKuh"jj  h9]h+hubh)rq  }rr  (h!U h-}rs  (h2]h1]h/]h0]h5]UcolwidthK#uh"jj  h9]h+hubh)rt  }ru  (h!U h-}rv  (h2]h1]h/]h0]h5]UcolwidthKuh"jj  h9]h+hubh)rw  }rx  (h!U h-}ry  (h/]h0]h1]h2]h5]uh"jj  h9]rz  h)r{  }r|  (h!U h-}r}  (h/]h0]h1]h2]h5]uh"jw  h9]r~  (h)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j{  h9]r  hV)r  }r  (h!X   Namer  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kzh9]r  hBX   Namer  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j{  h9]r  hV)r  }r  (h!X   Descriptionr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kzh9]r  hBX   Descriptionr  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j{  h9]r  hV)r  }r  (h!X	   Data typer  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kzh9]r  hBX	   Data typer  r  }r  (h!j  h"j  ubaubah+j  ubeh+j  ubah+j  ubj   )r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"jj  h9]r  h)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  (h)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   urlr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7K|h9]r  hBX   urlr  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   An HTTP or HTTPS URL to POST tor  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7K|h9]r  hBX   An HTTP or HTTPS URL to POST tor  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X	   Valid URLr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7K|h9]r  hBX	   Valid URLr  r  }r  (h!j  h"j  ubaubah+j  ubeh+j  ubah+jM  ubeh+jN  ubaubeubeubh)h*h+Usystem_messager  h-}r  (h/]UlevelKh2]h1]r  haUsourceh*h0]h5]UlineKbUtypeUINFOr  uh7Kbh8hh9]r  hV)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"hh9]r  hBX'   Duplicate implicit target name: "info".r  r  }r  (h!U h"j  ubah+hZubaubh)r  }r  (h!U h"hFh)h*h+j  h-}r  (h/]UlevelKh2]h1]r  hLaUsourceh*h0]h5]UlineKUtypej  uh7Kh8hh9]r  hV)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hBX(   Duplicate implicit target name: "setup".r  r  }r  (h!U h"j  ubah+hZubaubh)r  }r  (h!U h"h#)r  }r  (h!U h&Kh"h#)r  }r  (h!U h"hh)h*h+h,h-}r  (h/]h0]h1]h2]r  Unotification-plansr  ah5]r  hauh7Kh8hh9]r  (h;)r  }r  (h!X   Notification plansr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX   Notification plansr  r  }r  (h!j  h"j  ubaubj  h#)r  }r  (h!U h&Kh"j  h)h*h+h,h-}r  (h/]r  X   setupr  ah0]h1]h2]r  Uid4r   ah5]uh7Kh8hh9]r  (h;)r  }r  (h!X   Setupr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX   Setupr  r  }r	  (h!j  h"j  ubaubh`)r
  }r  (h!X<   $planId = 'npAAAA';
$plan = $service->getNotificationPlan();h"j  h)h*h+hch-}r  (hehfh2]h1]h/]h0]r  (hhX   phpr  eh5]uh7Kh8hh9]r  hk)r  }r  (h!X<   $planId = 'npAAAA';
$plan = $service->getNotificationPlan();h-}r  (h/]h0]r  Uotherr  ah1]h2]h5]uh"j
  h9]r  hBX<   $planId = 'npAAAA';
$plan = $service->getNotificationPlan();r  r  }r  (h!U h"j  ubah+huubaubeubh#)r  }r  (h!U h&Kh"j  h)h*h+h,h-}r  (h/]r  X
   attributesr  ah0]h1]h2]r  Uid5r  ah5]uh7Kh8hh9]r   (h;)r!  }r"  (h!X
   Attributesr#  h"j  h)h*h+h?h-}r$  (h/]h0]h1]h2]h5]uh7Kh8hh9]r%  hBX
   Attributesr&  r'  }r(  (h!j#  h"j!  ubaubh)r)  }r*  (h!U h"j  h)h*h+hh-}r+  (h/]h0]h1]h2]h5]uh7Nh8hh9]r,  h)r-  }r.  (h!U h-}r/  (h2]h1]h/]h0]h5]UcolsKuh"j)  h9]r0  (h)r1  }r2  (h!U h-}r3  (h2]h1]h/]h0]h5]UcolwidthKuh"j-  h9]h+hubh)r4  }r5  (h!U h-}r6  (h2]h1]h/]h0]h5]UcolwidthKDuh"j-  h9]h+hubh)r7  }r8  (h!U h-}r9  (h2]h1]h/]h0]h5]UcolwidthKuh"j-  h9]h+hubh)r:  }r;  (h!U h-}r<  (h2]h1]h/]h0]h5]UcolwidthKuh"j-  h9]h+hubh)r=  }r>  (h!U h-}r?  (h2]h1]h/]h0]h5]UcolwidthKuh"j-  h9]h+hubh)r@  }rA  (h!U h-}rB  (h/]h0]h1]h2]h5]uh"j-  h9]rC  h)rD  }rE  (h!U h-}rF  (h/]h0]h1]h2]h5]uh"j@  h9]rG  (h)rH  }rI  (h!U h-}rJ  (h/]h0]h1]h2]h5]uh"jD  h9]rK  hV)rL  }rM  (h!X   NamerN  h"jH  h)h*h+hZh-}rO  (h/]h0]h1]h2]h5]uh7Kh9]rP  hBX   NamerQ  rR  }rS  (h!jN  h"jL  ubaubah+j  ubh)rT  }rU  (h!U h-}rV  (h/]h0]h1]h2]h5]uh"jD  h9]rW  hV)rX  }rY  (h!X   DescriptionrZ  h"jT  h)h*h+hZh-}r[  (h/]h0]h1]h2]h5]uh7Kh9]r\  hBX   Descriptionr]  r^  }r_  (h!jZ  h"jX  ubaubah+j  ubh)r`  }ra  (h!U h-}rb  (h/]h0]h1]h2]h5]uh"jD  h9]rc  hV)rd  }re  (h!X	   Required?rf  h"j`  h)h*h+hZh-}rg  (h/]h0]h1]h2]h5]uh7Kh9]rh  hBX	   Required?ri  rj  }rk  (h!jf  h"jd  ubaubah+j  ubh)rl  }rm  (h!U h-}rn  (h/]h0]h1]h2]h5]uh"jD  h9]ro  hV)rp  }rq  (h!X	   Data typerr  h"jl  h)h*h+hZh-}rs  (h/]h0]h1]h2]h5]uh7Kh9]rt  hBX	   Data typeru  rv  }rw  (h!jr  h"jp  ubaubah+j  ubh)rx  }ry  (h!U h-}rz  (h/]h0]h1]h2]h5]uh"jD  h9]r{  hV)r|  }r}  (h!X   Methodr~  h"jx  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   Methodr  r  }r  (h!j~  h"j|  ubaubah+j  ubeh+j  ubah+j  ubj   )r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j-  h9]r  (h)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  (h)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   labelr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   labelr  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X(   Friendly name for the notification plan.r  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX(   Friendly name for the notification plan.r  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   Requiredr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   Requiredr  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   String (1..255 chars)r  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   String (1..255 chars)r  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   ``getLabel()``r  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  cdocutils.nodes
literal
r  )r  }r  (h!j  h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hBX
   getLabel()r  r  }r  (h!U h"j  ubah+Uliteralr  ubaubah+j  ubeh+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  (h)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   critical\_stateh"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   critical_stater  r  }r  (h!X   critical\_stateh"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X@   The notification list to send to when the state is ``CRITICAL``.h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  (hBX3   The notification list to send to when the state is r  r  }r  (h!X3   The notification list to send to when the state is h"j  ubj  )r  }r  (h!X   ``CRITICAL``h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hBX   CRITICALr  r  }r  (h!U h"j  ubah+j  ubhBX   .r  }r  (h!X   .h"j  ubeubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   Optionalr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   Optionalr  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r   hV)r  }r  (h!X   Arrayr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   Arrayr  r  }r  (h!j  h"j  ubaubah+j  ubh)r	  }r
  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   ``getCriticalState()``r  h"j	  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  j  )r  }r  (h!j  h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hBX   getCriticalState()r  r  }r  (h!U h"j  ubah+j  ubaubah+j  ubeh+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  (h)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r   hV)r!  }r"  (h!X	   ok\_stateh"j  h)h*h+hZh-}r#  (h/]h0]h1]h2]h5]uh7Kh9]r$  hBX   ok_stater%  r&  }r'  (h!X	   ok\_stateh"j!  ubaubah+j  ubh)r(  }r)  (h!U h-}r*  (h/]h0]h1]h2]h5]uh"j  h9]r+  hV)r,  }r-  (h!X:   The notification list to send to when the state is ``OK``.h"j(  h)h*h+hZh-}r.  (h/]h0]h1]h2]h5]uh7Kh9]r/  (hBX3   The notification list to send to when the state is r0  r1  }r2  (h!X3   The notification list to send to when the state is h"j,  ubj  )r3  }r4  (h!X   ``OK``h-}r5  (h/]h0]h1]h2]h5]uh"j,  h9]r6  hBX   OKr7  r8  }r9  (h!U h"j3  ubah+j  ubhBX   .r:  }r;  (h!X   .h"j,  ubeubah+j  ubh)r<  }r=  (h!U h-}r>  (h/]h0]h1]h2]h5]uh"j  h9]r?  hV)r@  }rA  (h!X   OptionalrB  h"j<  h)h*h+hZh-}rC  (h/]h0]h1]h2]h5]uh7Kh9]rD  hBX   OptionalrE  rF  }rG  (h!jB  h"j@  ubaubah+j  ubh)rH  }rI  (h!U h-}rJ  (h/]h0]h1]h2]h5]uh"j  h9]rK  hV)rL  }rM  (h!X   ArrayrN  h"jH  h)h*h+hZh-}rO  (h/]h0]h1]h2]h5]uh7Kh9]rP  hBX   ArrayrQ  rR  }rS  (h!jN  h"jL  ubaubah+j  ubh)rT  }rU  (h!U h-}rV  (h/]h0]h1]h2]h5]uh"j  h9]rW  hV)rX  }rY  (h!X   ``getOkState()``rZ  h"jT  h)h*h+hZh-}r[  (h/]h0]h1]h2]h5]uh7Kh9]r\  j  )r]  }r^  (h!jZ  h-}r_  (h/]h0]h1]h2]h5]uh"jX  h9]r`  hBX   getOkState()ra  rb  }rc  (h!U h"j]  ubah+j  ubaubah+j  ubeh+j  ubh)rd  }re  (h!U h-}rf  (h/]h0]h1]h2]h5]uh"j  h9]rg  (h)rh  }ri  (h!U h-}rj  (h/]h0]h1]h2]h5]uh"jd  h9]rk  hV)rl  }rm  (h!X   warning\_stateh"jh  h)h*h+hZh-}rn  (h/]h0]h1]h2]h5]uh7Kh9]ro  hBX   warning_staterp  rq  }rr  (h!X   warning\_stateh"jl  ubaubah+j  ubh)rs  }rt  (h!U h-}ru  (h/]h0]h1]h2]h5]uh"jd  h9]rv  hV)rw  }rx  (h!X?   The notification list to send to when the state is ``WARNING``.h"js  h)h*h+hZh-}ry  (h/]h0]h1]h2]h5]uh7Kh9]rz  (hBX3   The notification list to send to when the state is r{  r|  }r}  (h!X3   The notification list to send to when the state is h"jw  ubj  )r~  }r  (h!X   ``WARNING``h-}r  (h/]h0]h1]h2]h5]uh"jw  h9]r  hBX   WARNINGr  r  }r  (h!U h"j~  ubah+j  ubhBX   .r  }r  (h!X   .h"jw  ubeubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"jd  h9]r  hV)r  }r  (h!X   Optionalr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   Optionalr  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"jd  h9]r  hV)r  }r  (h!X   Arrayr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   Arrayr  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"jd  h9]r  hV)r  }r  (h!X   ``getWarningState()``r  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  j  )r  }r  (h!j  h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hBX   getWarningState()r  r  }r  (h!U h"j  ubah+j  ubaubah+j  ubeh+j  ubeh+jM  ubeh+jN  ubaubeubh#)r  }r  (h!U h"j  h)h*h+h,h-}r  (h/]h0]h1]h2]r  Ucreate-notification-planr  ah5]r  hauh7Kh8hh9]r  (h;)r  }r  (h!X   Create Notification Planr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX   Create Notification Planr  r  }r  (h!j  h"j  ubaubh`)r  }r  (h!X   $plan->create(array(
    'label'          => 'New Notification Plan',
    'critical_state' => array('ntAAAA'),
    'ok_state'       => array('ntBBBB'),
    'warning_state'  => array('ntCCCC')
));h"j  h)h*h+hch-}r  (hehfh2]h1]h/]h0]r  (hhX   phpr  eh5]uh7Kh8hh9]r  hk)r  }r  (h!X   $plan->create(array(
    'label'          => 'New Notification Plan',
    'critical_state' => array('ntAAAA'),
    'ok_state'       => array('ntBBBB'),
    'warning_state'  => array('ntCCCC')
));h-}r  (h/]h0]r  Uotherr  ah1]h2]h5]uh"j  h9]r  hBX   $plan->create(array(
    'label'          => 'New Notification Plan',
    'critical_state' => array('ntAAAA'),
    'ok_state'       => array('ntBBBB'),
    'warning_state'  => array('ntCCCC')
));r  r  }r  (h!U h"j  ubah+huubaubeubh#)r  }r  (h!U h"j  h)h*h+h,h-}r  (h/]h0]h1]h2]r  U#update-and-delete-notification-planr  ah5]r  hauh7Kh8hh9]r  (h;)r  }r  (h!X#   Update and delete Notification Planr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX#   Update and delete Notification Planr  r  }r  (h!j  h"j  ubaubh`)r  }r  (h!Xe   // Update
$plan->update(array(
    'label' => 'New label for my plan'
));

// Delete
$plan->delete();h"j  h)h*h+hch-}r  (hehfh2]h1]h/]h0]r  (hhX   phpr  eh5]uh7Kh8hh9]r  hk)r  }r  (h!Xe   // Update
$plan->update(array(
    'label' => 'New label for my plan'
));

// Delete
$plan->delete();h-}r  (h/]h0]r  Uotherr  ah1]h2]h5]uh"j  h9]r  hBXe   // Update
$plan->update(array(
    'label' => 'New label for my plan'
));

// Delete
$plan->delete();r  r  }r  (h!U h"j  ubah+huubaubeubeubh)h*h+h,h-}r  (h/]r  X   infor  ah0]h1]h2]r  Uid3r  ah5]uh7Kh8hh9]r  (h;)r  }r  (h!X   Infor  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX   Infor  r  }r  (h!j  h"j  ubaubhV)r  }r  (h!X   A notification plan contains a set of notification actions that
Rackspace Cloud Monitoring executes when triggered by an alarm.
Rackspace Cloud Monitoring currently supports webhook and email
notifications.r  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX   A notification plan contains a set of notification actions that
Rackspace Cloud Monitoring executes when triggered by an alarm.
Rackspace Cloud Monitoring currently supports webhook and email
notifications.r  r  }r   (h!j  h"j  ubaubhV)r  }r  (h!X  Each notification state can contain multiple notification actions. For
example, you can create a notification plan that hits a webhook/email to
notify your operations team if a warning occurs. However, if the warning
escalates to an Error, the notification plan could be configured to hit
a different webhook/email that triggers both email and SMS messages to
the operations team. The notification plan supports the following
states:r  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX  Each notification state can contain multiple notification actions. For
example, you can create a notification plan that hits a webhook/email to
notify your operations team if a warning occurs. However, if the warning
escalates to an Error, the notification plan could be configured to hit
a different webhook/email that triggers both email and SMS messages to
the operations team. The notification plan supports the following
states:r  r  }r  (h!j  h"j  ubaubcdocutils.nodes
bullet_list
r	  )r
  }r  (h!U h"j  h)h*h+Ubullet_listr  h-}r  (Ubulletr  X   -h2]h1]h/]h0]h5]uh7Kh8hh9]r  (cdocutils.nodes
list_item
r  )r  }r  (h!X   Criticalr  h"j
  h)h*h+U	list_itemr  h-}r  (h/]h0]h1]h2]h5]uh7Nh8hh9]r  hV)r  }r  (h!j  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   Criticalr  r  }r  (h!j  h"j  ubaubaubj  )r  }r  (h!X   Warningr   h"j
  h)h*h+j  h-}r!  (h/]h0]h1]h2]h5]uh7Nh8hh9]r"  hV)r#  }r$  (h!j   h"j  h)h*h+hZh-}r%  (h/]h0]h1]h2]h5]uh7Kh9]r&  hBX   Warningr'  r(  }r)  (h!j   h"j#  ubaubaubj  )r*  }r+  (h!X   OK
h"j
  h)h*h+j  h-}r,  (h/]h0]h1]h2]h5]uh7Nh8hh9]r-  hV)r.  }r/  (h!X   OKr0  h"j*  h)h*h+hZh-}r1  (h/]h0]h1]h2]h5]uh7Kh9]r2  hBX   OKr3  r4  }r5  (h!j0  h"j.  ubaubaubeubhV)r6  }r7  (h!X   A notification plan, ``npTechnicalContactsEmail``, is provided by
default which will email all of the technical contacts on file for an
account whenever there is a state change.h"j  h)h*h+hZh-}r8  (h/]h0]h1]h2]h5]uh7Kh8hh9]r9  (hBX   A notification plan, r:  r;  }r<  (h!X   A notification plan, h"j6  ubj  )r=  }r>  (h!X   ``npTechnicalContactsEmail``h-}r?  (h/]h0]h1]h2]h5]uh"j6  h9]r@  hBX   npTechnicalContactsEmailrA  rB  }rC  (h!U h"j=  ubah+j  ubhBX   , is provided by
default which will email all of the technical contacts on file for an
account whenever there is a state change.rD  rE  }rF  (h!X   , is provided by
default which will email all of the technical contacts on file for an
account whenever there is a state change.h"j6  ubeubeubh)h*h+j  h-}rG  (h/]UlevelKh2]h1]rH  j  aUsourceh*h0]h5]UlineKUtypej  uh7Kh8hh9]rI  hV)rJ  }rK  (h!U h-}rL  (h/]h0]h1]h2]h5]uh"j  h9]rM  hBX'   Duplicate implicit target name: "info".rN  rO  }rP  (h!U h"jJ  ubah+hZubaubh)rQ  }rR  (h!U h"j  h)h*h+j  h-}rS  (h/]UlevelKh2]h1]rT  j   aUsourceh*h0]h5]UlineKUtypej  uh7Kh8hh9]rU  hV)rV  }rW  (h!U h-}rX  (h/]h0]h1]h2]h5]uh"jQ  h9]rY  hBX(   Duplicate implicit target name: "setup".rZ  r[  }r\  (h!U h"jV  ubah+hZubaubh)r]  }r^  (h!U h"j  h)h*h+j  h-}r_  (h/]UlevelKh2]h1]r`  j  aUsourceh*h0]h5]UlineKUtypej  uh7Kh8hh9]ra  hV)rb  }rc  (h!U h-}rd  (h/]h0]h1]h2]h5]uh"j]  h9]re  hBX-   Duplicate implicit target name: "attributes".rf  rg  }rh  (h!U h"jb  ubah+hZubaubh)ri  }rj  (h!U h"h#)rk  }rl  (h!U h&Kh"h#)rm  }rn  (h!U h"hh)h*h+h,h-}ro  (h/]h0]h1]h2]rp  Ualarm-notification-historyrq  ah5]rr  hauh7Kh8hh9]rs  (h;)rt  }ru  (h!X   Alarm Notification Historyrv  h"jm  h)h*h+h?h-}rw  (h/]h0]h1]h2]h5]uh7Kh8hh9]rx  hBX   Alarm Notification Historyry  rz  }r{  (h!jv  h"jt  ubaubjk  h#)r|  }r}  (h!U h&Kh"jm  h)h*h+h,h-}r~  (h/]r  X   setupr  ah0]h1]h2]r  Uid7r  ah5]uh7Kh8hh9]r  (h;)r  }r  (h!X    Setupr  h"j|  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX    Setupr  r  }r  (h!j  h"j  ubaubhV)r  }r  (h!X   Notification History is a sub-resource of an Alarm. For more information
about working with Alarms, please consult the relevant
`documentation <Alarms.md>`__.h"j|  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  (hBX   Notification History is a sub-resource of an Alarm. For more information
about working with Alarms, please consult the relevant
r  r  }r  (h!X   Notification History is a sub-resource of an Alarm. For more information
about working with Alarms, please consult the relevant
h"j  ubcdocutils.nodes
reference
r  )r  }r  (h!X   `documentation <Alarms.md>`__h-}r  (UnameX   documentationUrefurir  X	   Alarms.mdh2]h1]h/]h0]h5]uh"j  h9]r  hBX   documentationr  r  }r  (h!U h"j  ubah+U	referencer  ubhBX   .r  }r  (h!X   .h"j  ubeubeubh#)r  }r  (h!U h"jm  h)h*h+h,h-}r  (h/]h0]h1]h2]r  U1discover-which-checks-have-a-notification-historyr  ah5]r  hauh7M h8hh9]r  (h;)r  }r  (h!X1   Discover which Checks have a Notification Historyr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7M h8hh9]r  hBX1   Discover which Checks have a Notification Historyr  r  }r  (h!j  h"j  ubaubhV)r  }r  (h!XM   This operation list checks for which alarm notification history is
available:r  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Mh8hh9]r  hBXM   This operation list checks for which alarm notification history is
available:r  r  }r  (h!j  h"j  ubaubh`)r  }r  (h!X&   $checks = $alarm->getRecordedChecks();h"j  h)h*h+hch-}r  (hehfh2]h1]h/]h0]r  (hhX   phpr  eh5]uh7Mh8hh9]r  hk)r  }r  (h!X&   $checks = $alarm->getRecordedChecks();h-}r  (h/]h0]r  Uotherr  ah1]h2]h5]uh"j  h9]r  hBX&   $checks = $alarm->getRecordedChecks();r  r  }r  (h!U h"j  ubah+huubaubeubh#)r  }r  (h!U h"jm  h)h*h+h,h-}r  (h/]h0]h1]h2]r  U6list-alarm-notification-history-for-a-particular-checkr  ah5]r  hauh7M
h8hh9]r  (h;)r  }r  (h!X6   List Alarm Notification History for a particular Checkr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7M
h8hh9]r  hBX6   List Alarm Notification History for a particular Checkr  r  }r  (h!j  h"j  ubaubh`)r  }r  (h!XA   $checkHistory = $alarm->getNotificationHistoryForCheck('chAAAA');h"j  h)h*h+hch-}r  (hehfh2]h1]h/]h0]r  (hhX   phpr  eh5]uh7Mh8hh9]r  hk)r  }r  (h!XA   $checkHistory = $alarm->getNotificationHistoryForCheck('chAAAA');h-}r  (h/]h0]r  Uotherr  ah1]h2]h5]uh"j  h9]r  hBXA   $checkHistory = $alarm->getNotificationHistoryForCheck('chAAAA');r  r  }r  (h!U h"j  ubah+huubaubeubh#)r  }r  (h!U h"jm  h)h*h+h,h-}r  (h/]h0]h1]h2]r  U*get-a-particular-notification-history-itemr  ah5]r  hauh7Mh8hh9]r  (h;)r  }r  (h!X*   Get a particular Notification History itemr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7Mh8hh9]r  hBX*   Get a particular Notification History itemr  r  }r  (h!j  h"j  ubaubh`)r  }r  (h!X   $checkId  = 'chAAAA';
$itemUuid = '646ac7b0-0b34-11e1-a0a1-0ff89fa2fa26';

$singleItem = $history->getNotificationHistoryItem($checkId, $itemUuid);h"j  h)h*h+hch-}r  (hehfh2]h1]h/]h0]r  (hhX   phpr  eh5]uh7Mh8hh9]r  hk)r  }r  (h!X   $checkId  = 'chAAAA';
$itemUuid = '646ac7b0-0b34-11e1-a0a1-0ff89fa2fa26';

$singleItem = $history->getNotificationHistoryItem($checkId, $itemUuid);h-}r  (h/]h0]r  Uotherr  ah1]h2]h5]uh"j  h9]r  hBX   $checkId  = 'chAAAA';
$itemUuid = '646ac7b0-0b34-11e1-a0a1-0ff89fa2fa26';

$singleItem = $history->getNotificationHistoryItem($checkId, $itemUuid);r  r  }r   (h!U h"j  ubah+huubaubeubeubh)h*h+h,h-}r  (h/]r  X   infor  ah0]h1]h2]r  Uid6r  ah5]uh7Kh8hh9]r  (h;)r  }r  (h!X   Infor	  h"jk  h)h*h+h?h-}r
  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX   Infor  r  }r  (h!j	  h"j  ubaubhV)r  }r  (h!Xx  The monitoring service keeps a record of notifications sent for each
alarm. This history is further subdivided by the check on which the
notification occurred. Every attempt to send a notification is recorded,
making this history a valuable tool in diagnosing issues with unreceived
notifications, in addition to offering a means of viewing the history of
an alarm's statuses.r  h"jk  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBXx  The monitoring service keeps a record of notifications sent for each
alarm. This history is further subdivided by the check on which the
notification occurred. Every attempt to send a notification is recorded,
making this history a valuable tool in diagnosing issues with unreceived
notifications, in addition to offering a means of viewing the history of
an alarm's statuses.r  r  }r  (h!j  h"j  ubaubhV)r  }r  (h!X   Alarm notification history is accessible as a Time Series Collection. By
default alarm notification history is stored for 30 days and the API
queries the last 7 days of information.r  h"jk  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX   Alarm notification history is accessible as a Time Series Collection. By
default alarm notification history is stored for 30 days and the API
queries the last 7 days of information.r  r  }r  (h!j  h"j  ubaubeubh)h*h+j  h-}r  (h/]UlevelKh2]h1]r   j  aUsourceh*h0]h5]UlineKUtypej  uh7Kh8hh9]r!  hV)r"  }r#  (h!U h-}r$  (h/]h0]h1]h2]h5]uh"ji  h9]r%  hBX'   Duplicate implicit target name: "info".r&  r'  }r(  (h!U h"j"  ubah+hZubaubh)r)  }r*  (h!U h"j|  h)h*h+j  h-}r+  (h/]UlevelKh2]h1]r,  j  aUsourceh*h0]h5]UlineKUtypej  uh7Kh8hh9]r-  hV)r.  }r/  (h!U h-}r0  (h/]h0]h1]h2]h5]uh"j)  h9]r1  hBX(   Duplicate implicit target name: "setup".r2  r3  }r4  (h!U h"j.  ubah+hZubaubeUcurrent_sourcer5  NU
decorationr6  NUautofootnote_startr7  KUnameidsr8  }r9  (hNhj  hj  h	h4h
Ulist-notificationsr:  hj  hNhhhUtest-existing-notificationr;  hUtest-parametersr<  hj  hUnotificationsr=  hUcreate-notificationr>  hjS  hjq  hNhhhj  hUupdate-and-delete-notificationsr?  hj  uh9]r@  (h#)rA  }rB  (h!U h"hh)h*h+h,h-}rC  (h/]h0]h1]h2]rD  j=  ah5]rE  hauh7Kh8hh9]rF  (h;)rG  }rH  (h!X   NotificationsrI  h"jA  h)h*h+h?h-}rJ  (h/]h0]h1]h2]h5]uh7Kh8hh9]rK  hBX   NotificationsrL  rM  }rN  (h!jI  h"jG  ubaubh#)rO  }rP  (h!U h&Kh"jA  h)h*h+h,h-}rQ  (h/]rR  hah0]h1]h2]rS  UinforT  ah5]uh7Kh8hh9]rU  (h;)rV  }rW  (h!X   InforX  h"jO  h)h*h+h?h-}rY  (h/]h0]h1]h2]h5]uh7Kh8hh9]rZ  hBX   Infor[  r\  }r]  (h!jX  h"jV  ubaubhV)r^  }r_  (h!Xt   A notification is a destination to send an alarm; it can be a variety of
different types, and will evolve over time.r`  h"jO  h)h*h+hZh-}ra  (h/]h0]h1]h2]h5]uh7Kh8hh9]rb  hBXt   A notification is a destination to send an alarm; it can be a variety of
different types, and will evolve over time.rc  rd  }re  (h!j`  h"j^  ubaubhV)rf  }rg  (h!X   For instance, with a webhook type notification, Cloud Monitoring posts
JSON formatted data to a user-specified URL on an alert condition (Check
goes from ``OK`` -> ``CRITICAL`` and so on).h"jO  h)h*h+hZh-}rh  (h/]h0]h1]h2]h5]uh7K
h8hh9]ri  (hBX   For instance, with a webhook type notification, Cloud Monitoring posts
JSON formatted data to a user-specified URL on an alert condition (Check
goes from rj  rk  }rl  (h!X   For instance, with a webhook type notification, Cloud Monitoring posts
JSON formatted data to a user-specified URL on an alert condition (Check
goes from h"jf  ubj  )rm  }rn  (h!X   ``OK``h-}ro  (h/]h0]h1]h2]h5]uh"jf  h9]rp  hBX   OKrq  rr  }rs  (h!U h"jm  ubah+j  ubhBX    -> rt  ru  }rv  (h!X    -> h"jf  ubj  )rw  }rx  (h!X   ``CRITICAL``h-}ry  (h/]h0]h1]h2]h5]uh"jf  h9]rz  hBX   CRITICALr{  r|  }r}  (h!U h"jw  ubah+j  ubhBX    and so on).r~  r  }r  (h!X    and so on).h"jf  ubeubeubh#)r  }r  (h!U h&Kh"jA  h)h*h+h,h-}r  (h/]r  hJah0]h1]h2]r  Usetupr  ah5]uh7Kh8hh9]r  (h;)r  }r  (h!X   Setupr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX   Setupr  r  }r  (h!j  h"j  ubaubh`)r  }r  (h!X?   $id = 'ntAAAA';
$notification = $service->getNotification($id);h"j  h)h*h+hch-}r  (hehfh2]h1]h/]h0]r  (hhX   phpr  eh5]uh7Kh8hh9]r  hk)r  }r  (h!X?   $id = 'ntAAAA';
$notification = $service->getNotification($id);h-}r  (h/]h0]r  Uotherr  ah1]h2]h5]uh"j  h9]r  hBX?   $id = 'ntAAAA';
$notification = $service->getNotification($id);r  r  }r  (h!U h"j  ubah+huubaubeubh#)r  }r  (h!U h&Kh"jA  h)h*h+h,h-}r  (h/]r  j  ah0]h1]h2]r  U
attributesr  ah5]uh7Kh8hh9]r  (h;)r  }r  (h!X
   Attributesr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7Kh8hh9]r  hBX
   Attributesr  r  }r  (h!j  h"j  ubaubh)r  }r  (h!U h"j  h)h*h+hh-}r  (h/]h0]h1]h2]h5]uh7Nh8hh9]r  h)r  }r  (h!U h-}r  (h2]h1]h/]h0]h5]UcolsKuh"j  h9]r  (h)r  }r  (h!U h-}r  (h2]h1]h/]h0]h5]UcolwidthKuh"j  h9]h+hubh)r  }r  (h!U h-}r  (h2]h1]h/]h0]h5]UcolwidthKKuh"j  h9]h+hubh)r  }r  (h!U h-}r  (h2]h1]h/]h0]h5]UcolwidthK;uh"j  h9]h+hubh)r  }r  (h!U h-}r  (h2]h1]h/]h0]h5]UcolwidthKuh"j  h9]h+hubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  h)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  (h)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   Namer  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   Namer  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   Descriptionr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   Descriptionr  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X	   Data typer  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX	   Data typer  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   Methodr  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBX   Methodr  r  }r  (h!j  h"j  ubaubah+j  ubeh+j  ubah+j  ubj   )r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  (h)r  }r  (h!U h-}r   (h/]h0]h1]h2]h5]uh"j  h9]r  (h)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   detailsr  h"j  h)h*h+hZh-}r	  (h/]h0]h1]h2]h5]uh7Kh9]r
  hBX   detailsr  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!XG   A hash of notification specific details based on the notification type.r  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7Kh9]r  hBXG   A hash of notification specific details based on the notification type.r  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hV)r  }r  (h!X   Arrayr   h"j  h)h*h+hZh-}r!  (h/]h0]h1]h2]h5]uh7Kh9]r"  hBX   Arrayr#  r$  }r%  (h!j   h"j  ubaubah+j  ubh)r&  }r'  (h!U h-}r(  (h/]h0]h1]h2]h5]uh"j  h9]r)  hV)r*  }r+  (h!X   ``getDetails()``r,  h"j&  h)h*h+hZh-}r-  (h/]h0]h1]h2]h5]uh7Kh9]r.  j  )r/  }r0  (h!j,  h-}r1  (h/]h0]h1]h2]h5]uh"j*  h9]r2  hBX   getDetails()r3  r4  }r5  (h!U h"j/  ubah+j  ubaubah+j  ubeh+j  ubh)r6  }r7  (h!U h-}r8  (h/]h0]h1]h2]h5]uh"j  h9]r9  (h)r:  }r;  (h!U h-}r<  (h/]h0]h1]h2]h5]uh"j6  h9]r=  hV)r>  }r?  (h!X   labelr@  h"j:  h)h*h+hZh-}rA  (h/]h0]h1]h2]h5]uh7Kh9]rB  hBX   labelrC  rD  }rE  (h!j@  h"j>  ubaubah+j  ubh)rF  }rG  (h!U h-}rH  (h/]h0]h1]h2]h5]uh"j6  h9]rI  hV)rJ  }rK  (h!X#   Friendly name for the notification.rL  h"jF  h)h*h+hZh-}rM  (h/]h0]h1]h2]h5]uh7Kh9]rN  hBX#   Friendly name for the notification.rO  rP  }rQ  (h!jL  h"jJ  ubaubah+j  ubh)rR  }rS  (h!U h-}rT  (h/]h0]h1]h2]h5]uh"j6  h9]rU  hV)rV  }rW  (h!X   String (1..255 chars)rX  h"jR  h)h*h+hZh-}rY  (h/]h0]h1]h2]h5]uh7Kh9]rZ  hBX   String (1..255 chars)r[  r\  }r]  (h!jX  h"jV  ubaubah+j  ubh)r^  }r_  (h!U h-}r`  (h/]h0]h1]h2]h5]uh"j6  h9]ra  hV)rb  }rc  (h!X   ``getLabel()``rd  h"j^  h)h*h+hZh-}re  (h/]h0]h1]h2]h5]uh7Kh9]rf  j  )rg  }rh  (h!jd  h-}ri  (h/]h0]h1]h2]h5]uh"jb  h9]rj  hBX
   getLabel()rk  rl  }rm  (h!U h"jg  ubah+j  ubaubah+j  ubeh+j  ubh)rn  }ro  (h!U h-}rp  (h/]h0]h1]h2]h5]uh"j  h9]rq  (h)rr  }rs  (h!U h-}rt  (h/]h0]h1]h2]h5]uh"jn  h9]ru  hV)rv  }rw  (h!X   typerx  h"jr  h)h*h+hZh-}ry  (h/]h0]h1]h2]h5]uh7K h9]rz  hBX   typer{  r|  }r}  (h!jx  h"jv  ubaubah+j  ubh)r~  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"jn  h9]r  hV)r  }r  (h!X   The notification type to send.r  h"j~  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7K h9]r  hBX   The notification type to send.r  r  }r  (h!j  h"j  ubaubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"jn  h9]r  hV)r  }r  (h!X7   String. Either ``webhook``, ``email``, or ``pagerduty``h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7K h9]r  (hBX   String. Either r  r  }r  (h!X   String. Either h"j  ubj  )r  }r  (h!X   ``webhook``h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hBX   webhookr  r  }r  (h!U h"j  ubah+j  ubhBX   , r  r  }r  (h!X   , h"j  ubj  )r  }r  (h!X	   ``email``h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hBX   emailr  r  }r  (h!U h"j  ubah+j  ubhBX   , or r  r  }r  (h!X   , or h"j  ubj  )r  }r  (h!X   ``pagerduty``h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hBX	   pagerdutyr  r  }r  (h!U h"j  ubah+j  ubeubah+j  ubh)r  }r  (h!U h-}r  (h/]h0]h1]h2]h5]uh"jn  h9]r  hV)r  }r  (h!X   ``getType()``r  h"j  h)h*h+hZh-}r  (h/]h0]h1]h2]h5]uh7K h9]r  j  )r  }r  (h!j  h-}r  (h/]h0]h1]h2]h5]uh"j  h9]r  hBX	   getType()r  r  }r  (h!U h"j  ubah+j  ubaubah+j  ubeh+j  ubeh+jM  ubeh+jN  ubaubeubh#)r  }r  (h!U h"jA  h)h*h+h,h-}r  (h/]h0]h1]h2]r  j<  ah5]r  hauh7K$h8hh9]r  (h;)r  }r  (h!X   Test parametersr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7K$h8hh9]r  hBX   Test parametersr  r  }r  (h!j  h"j  ubaubh`)r  }r  (h!X  $params = array(
    'label' => 'My webhook #1',
    'type'  => 'webhook',
    'details' => array(
        'url' => 'http://example.com'
    )
);

// Test it
$response = $notification->testParams($params);

if ($response->status == 'Success') {
    echo $response->message;
}h"j  h)h*h+hch-}r  (hehfh2]h1]h/]h0]r  (hhX   phpr  eh5]uh7K6h8hh9]r  hk)r  }r  (h!X  $params = array(
    'label' => 'My webhook #1',
    'type'  => 'webhook',
    'details' => array(
        'url' => 'http://example.com'
    )
);

// Test it
$response = $notification->testParams($params);

if ($response->status == 'Success') {
    echo $response->message;
}h-}r  (h/]h0]r  Uotherr  ah1]h2]h5]uh"j  h9]r  hBX  $params = array(
    'label' => 'My webhook #1',
    'type'  => 'webhook',
    'details' => array(
        'url' => 'http://example.com'
    )
);

// Test it
$response = $notification->testParams($params);

if ($response->status == 'Success') {
    echo $response->message;
}r  r  }r  (h!U h"j  ubah+huubaubeubh#)r  }r  (h!U h"jA  h)h*h+h,h-}r  (h/]h0]h1]h2]r  j>  ah5]r  hauh7K8h8hh9]r  (h;)r  }r  (h!X   Create Notificationr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7K8h8hh9]r  hBX   Create Notificationr  r  }r  (h!j  h"j  ubaubh`)r  }r  (h!X   $notification->create($params);h"j  h)h*h+hch-}r  (hehfh2]h1]h/]h0]r  (hhX   phpr  eh5]uh7K=h8hh9]r  hk)r  }r  (h!X   $notification->create($params);h-}r  (h/]h0]r  Uotherr  ah1]h2]h5]uh"j  h9]r  hBX   $notification->create($params);r  r  }r  (h!U h"j  ubah+huubaubeubh#)r  }r  (h!U h"jA  h)h*h+h,h-}r  (h/]h0]h1]h2]r  j;  ah5]r  hauh7K?h8hh9]r  (h;)r   }r  (h!X   Test existing notificationr  h"j  h)h*h+h?h-}r  (h/]h0]h1]h2]h5]uh7K?h8hh9]r  hBX   Test existing notificationr  r  }r  (h!j  h"j   ubaubh`)r  }r	  (h!XJ   $response = $notification->testExisting(true);
echo $response->debug_info;h"j  h)h*h+hch-}r
  (hehfh2]h1]h/]h0]r  (hhX   phpr  eh5]uh7KEh8hh9]r  hk)r  }r  (h!XJ   $response = $notification->testExisting(true);
echo $response->debug_info;h-}r  (h/]h0]r  Uotherr  ah1]h2]h5]uh"j  h9]r  hBXJ   $response = $notification->testExisting(true);
echo $response->debug_info;r  r  }r  (h!U h"j  ubah+huubaubeubh#)r  }r  (h!U h"jA  h)h*h+h,h-}r  (h/]h0]h1]h2]r  j:  ah5]r  h
auh7KGh8hh9]r  (h;)r  }r  (h!X   List Notificationsr  h"j  h)h*h+h?h-}r   (h/]h0]h1]h2]h5]uh7KGh8hh9]r!  hBX   List Notificationsr"  r#  }r$  (h!j  h"j  ubaubh`)r%  }r&  (h!X~   $notifications = $service->getNotifications();

foreach ($notifications as $notification) {
    echo $notification->getId();
}h"j  h)h*h+hch-}r'  (hehfh2]h1]h/]h0]r(  (hhX   phpr)  eh5]uh7KPh8hh9]r*  hk)r+  }r,  (h!X~   $notifications = $service->getNotifications();

foreach ($notifications as $notification) {
    echo $notification->getId();
}h-}r-  (h/]h0]r.  Uotherr/  ah1]h2]h5]uh"j%  h9]r0  hBX~   $notifications = $service->getNotifications();

foreach ($notifications as $notification) {
    echo $notification->getId();
}r1  r2  }r3  (h!U h"j+  ubah+huubaubeubh#)r4  }r5  (h!U h"jA  h)h*h+h,h-}r6  (h/]h0]h1]h2]r7  j?  ah5]r8  hauh7KRh8hh9]r9  (h;)r:  }r;  (h!X   Update and delete Notificationsr<  h"j4  h)h*h+h?h-}r=  (h/]h0]h1]h2]h5]uh7KRh8hh9]r>  hBX   Update and delete Notificationsr?  r@  }rA  (h!j<  h"j:  ubaubh`)rB  }rC  (h!Xv   // Update
$notification->update(array(
    'label' => 'New notification label'
));

// Delete
$notification->delete();h"j4  h)h*h+hch-}rD  (hehfh2]h1]h/]h0]rE  (hhX   phprF  eh5]uh7K]h8hh9]rG  hk)rH  }rI  (h!Xv   // Update
$notification->update(array(
    'label' => 'New notification label'
));

// Delete
$notification->delete();h-}rJ  (h/]h0]rK  UotherrL  ah1]h2]h5]uh"jB  h9]rM  hBXv   // Update
$notification->update(array(
    'label' => 'New notification label'
));

// Delete
$notification->delete();rN  rO  }rP  (h!U h"jH  ubah+huubaubeubeubh'j  jm  eh!U UtransformerrQ  NUfootnote_refsrR  }rS  UrefnamesrT  }rU  Usymbol_footnotesrV  ]rW  Uautofootnote_refsrX  ]rY  Usymbol_footnote_refsrZ  ]r[  U	citationsr\  ]r]  h8hUcurrent_liner^  NUtransform_messagesr_  ]r`  Ureporterra  NUid_startrb  KUautofootnotesrc  ]rd  Ucitation_refsre  }rf  Uindirect_targetsrg  ]rh  Usettingsri  (cdocutils.frontend
Values
rj  ork  }rl  (Ufootnote_backlinksrm  KUrecord_dependenciesrn  NUrfc_base_urlro  Uhttp://tools.ietf.org/html/rp  U	tracebackrq  Upep_referencesrr  NUstrip_commentsrs  NUtoc_backlinksrt  j  Ulanguage_coderu  Uenrv  U	datestamprw  NUreport_levelrx  KU_destinationry  NU
halt_levelrz  KUstrip_classesr{  Nh?NUerror_encoding_error_handlerr|  Ubackslashreplacer}  Udebugr~  NUembed_stylesheetr  Uoutput_encoding_error_handlerr  Ustrictr  Usectnum_xformr  KUdump_transformsr  NUdocinfo_xformr  KUwarning_streamr  NUpep_file_url_templater  Upep-%04dr  Uexit_status_levelr  KUconfigr  NUstrict_visitorr  NUcloak_email_addressesr  Utrim_footnote_reference_spacer  Uenvr  NUdump_pseudo_xmlr  NUexpose_internalsr  NUsectsubtitle_xformr  Usource_linkr  NUrfc_referencesr  NUoutput_encodingr  Uutf-8r  U
source_urlr  NUinput_encodingr  U	utf-8-sigr  U_disable_configr  NU	id_prefixr  U U	tab_widthr  KUerror_encodingr  UUTF-8r  U_sourcer  h*Ugettext_compactr  U	generatorr  NUdump_internalsr  NUsmart_quotesr  Upep_base_urlr  Uhttp://www.python.org/dev/peps/r  Usyntax_highlightr  Ulongr  Uinput_encoding_error_handlerr  j  Uauto_id_prefixr  Uidr  Udoctitle_xformr  Ustrip_elements_with_classesr  NU_config_filesr  ]Ufile_insertion_enabledr  Uraw_enabledr  KUdump_settingsr  NubUsymbol_footnote_startr  K Uidsr  }r  (j;  j  j  j  j  jk  j  j|  j   j  j  j  hLhFj  j  j<  j  hh$j  j  jS  jO  hhj  j  j>  j  jq  jm  j:  j  j  j  h4h'j  j  jT  jO  j?  j4  j=  jA  j  j  j  j  j  j  hhuUsubstitution_namesr  }r  h+h8h-}r  (h/]h2]h1]Usourceh*h0]h5]uU	footnotesr  ]r  Urefidsr  }r  ub.