public function __construct($sid, $token, $version = null, Services_Twilio_TinyHttp $_http = null, $retryAttempts = 1)
 {
     parent::__construct($sid, $token, $version, $_http, $retryAttempts);
     $this->events = new Services_Twilio_Rest_Monitor_Events($this, "/{$this->version}/Events");
     $this->alerts = new Services_Twilio_Rest_Monitor_Alerts($this, "/{$this->version}/Alerts");
 }
Example #2
0
 public function __construct($sid, $token, $version = null, Services_Twilio_TinyHttp $_http = null, $retryAttempts = 1)
 {
     parent::__construct($sid, $token, $version, $_http, $retryAttempts);
     $this->trunks = new Services_Twilio_Rest_Trunking_Trunks($this, "/{$this->version}/Trunks");
 }
Example #3
0
 public function __construct($sid, $token, $workspaceSid, $version = null, Services_Twilio_TinyHttp $_http = null, $retryAttempts = 1)
 {
     parent::__construct($sid, $token, $version, $_http, $retryAttempts);
     $this->workspaces = new Services_Twilio_Rest_TaskRouter_Workspaces($this, "/{$this->version}/Workspaces");
     $this->workspace = $this->workspaces->get($workspaceSid);
     $this->accountSid = $sid;
 }
Example #4
0
 public function __construct($sid, $token, $version = null, Services_Twilio_TinyHttp $_http = null, $retryAttempts = 1)
 {
     parent::__construct($sid, $token, $version, $_http, $retryAttempts);
     $this->services = new Services_Twilio_Rest_IPMessaging_Services($this, "/{$this->version}/Services");
     $this->credentials = new Services_Twilio_Rest_IPMessaging_Credentials($this, "/{$this->version}/Credentials");
 }
Example #5
0
 public function __construct($sid, $token, $version = null, Services_Twilio_TinyHttp $_http = null, $retryAttempts = 1)
 {
     parent::__construct($sid, $token, $version, $_http, $retryAttempts);
     $this->accountSid = $sid;
     $this->phone_numbers = new Services_Twilio_Rest_Lookups_PhoneNumbers($this, "/{$this->version}/PhoneNumbers");
 }