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"); }
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"); }
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; }
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"); }
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"); }