summaryrefslogtreecommitdiffstats
path: root/Twilio/Rest/Client.php
diff options
context:
space:
mode:
Diffstat (limited to 'Twilio/Rest/Client.php')
-rw-r--r--Twilio/Rest/Client.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/Twilio/Rest/Client.php b/Twilio/Rest/Client.php
index d00a071..31f5373 100644
--- a/Twilio/Rest/Client.php
+++ b/Twilio/Rest/Client.php
@@ -22,6 +22,8 @@ use Twilio\VersionInfo;
* @property \Twilio\Rest\IpMessaging ipMessaging
* @property \Twilio\Rest\Lookups lookups
* @property \Twilio\Rest\Monitor monitor
+ * @property \Twilio\Rest\Notify notify
+ * @property \Twilio\Rest\Preview preview
* @property \Twilio\Rest\Pricing pricing
* @property \Twilio\Rest\Taskrouter taskrouter
* @property \Twilio\Rest\Trunking trunking
@@ -85,6 +87,8 @@ class Client {
protected $_ipMessaging = null;
protected $_lookups = null;
protected $_monitor = null;
+ protected $_notify = null;
+ protected $_preview = null;
protected $_pricing = null;
protected $_taskrouter = null;
protected $_trunking = null;
@@ -624,6 +628,30 @@ class Client {
}
/**
+ * Access the Notify Twilio Domain
+ *
+ * @return \Twilio\Rest\Notify Notify Twilio Domain
+ */
+ protected function getNotify() {
+ if (!$this->_notify) {
+ $this->_notify = new Notify($this);
+ }
+ return $this->_notify;
+ }
+
+ /**
+ * Access the Preview Twilio Domain
+ *
+ * @return \Twilio\Rest\Preview Preview Twilio Domain
+ */
+ protected function getPreview() {
+ if (!$this->_preview) {
+ $this->_preview = new Preview($this);
+ }
+ return $this->_preview;
+ }
+
+ /**
* Access the Pricing Twilio Domain
*
* @return \Twilio\Rest\Pricing Pricing Twilio Domain