code
stringlengths 15
9.96M
| docstring
stringlengths 1
10.1k
| func_name
stringlengths 1
124
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 6
186
| url
stringlengths 50
236
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://marketplace.twilio.com';
} | Construct the Marketplace Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/MarketplaceBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/MarketplaceBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/MarketplaceBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/MarketplaceBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/MarketplaceBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/MarketplaceBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://bulkexports.twilio.com';
} | Construct the Bulkexports Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/BulkexportsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/BulkexportsBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/BulkexportsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/BulkexportsBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/BulkexportsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/BulkexportsBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://preview-iam.twilio.com';
} | Construct the PreviewIam Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/PreviewIamBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/PreviewIamBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/PreviewIamBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/PreviewIamBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/PreviewIamBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/PreviewIamBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://sync.twilio.com';
} | Construct the Sync Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/SyncBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/SyncBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/SyncBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/SyncBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/SyncBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/SyncBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://accounts.twilio.com';
} | Construct the Accounts Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/AccountsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/AccountsBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/AccountsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/AccountsBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/AccountsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/AccountsBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://microvisor.twilio.com';
} | Construct the Microvisor Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/MicrovisorBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/MicrovisorBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/MicrovisorBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/MicrovisorBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/MicrovisorBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/MicrovisorBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://lookups.twilio.com';
} | Construct the Lookups Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/LookupsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/LookupsBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/LookupsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/LookupsBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/LookupsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/LookupsBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://taskrouter.twilio.com';
} | Construct the Taskrouter Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/TaskrouterBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/TaskrouterBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/TaskrouterBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/TaskrouterBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/TaskrouterBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/TaskrouterBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://video.twilio.com';
} | Construct the Video Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/VideoBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/VideoBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/VideoBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/VideoBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/VideoBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/VideoBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://routes.twilio.com';
} | Construct the Routes Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/RoutesBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/RoutesBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/RoutesBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/RoutesBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/RoutesBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/RoutesBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://preview.twilio.com';
} | Construct the Preview Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/PreviewBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/PreviewBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/PreviewBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/PreviewBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/PreviewBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/PreviewBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://monitor.twilio.com';
} | Construct the Monitor Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/MonitorBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/MonitorBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/MonitorBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/MonitorBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/MonitorBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/MonitorBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://wireless.twilio.com';
} | Construct the Wireless Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/WirelessBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/WirelessBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/WirelessBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/WirelessBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/WirelessBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/WirelessBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://insights.twilio.com';
} | Construct the Insights Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/InsightsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/InsightsBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/InsightsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/InsightsBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/InsightsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/InsightsBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://flex-api.twilio.com';
} | Construct the FlexApi Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/FlexApiBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/FlexApiBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/FlexApiBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/FlexApiBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/FlexApiBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/FlexApiBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://api.twilio.com';
} | Construct the Api Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/ApiBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/ApiBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/ApiBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/ApiBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/ApiBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/ApiBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://intelligence.twilio.com';
} | Construct the Intelligence Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/IntelligenceBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/IntelligenceBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/IntelligenceBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/IntelligenceBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/IntelligenceBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/IntelligenceBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://ip-messaging.twilio.com';
} | Construct the IpMessaging Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/IpMessagingBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/IpMessagingBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/IpMessagingBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/IpMessagingBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/IpMessagingBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/IpMessagingBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://pricing.twilio.com';
} | Construct the Pricing Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/PricingBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/PricingBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/PricingBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/PricingBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/PricingBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/PricingBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://voice.twilio.com';
} | Construct the Voice Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/VoiceBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/VoiceBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/VoiceBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/VoiceBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/VoiceBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/VoiceBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://assistants.twilio.com';
} | Construct the Assistants Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/AssistantsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/AssistantsBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/AssistantsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/AssistantsBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/AssistantsBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/AssistantsBase.php | MIT |
public function __construct(Client $client) {
parent::__construct($client);
$this->baseUrl = 'https://numbers.twilio.com';
} | Construct the Numbers Domain
@param Client $client Client to communicate with Twilio | __construct | php | twilio/twilio-php | src/Twilio/Rest/NumbersBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/NumbersBase.php | MIT |
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown version ' . $name);
} | Magic getter to lazy load version
@param string $name Version to return
@return \Twilio\Version The requested version
@throws TwilioException For unknown versions | __get | php | twilio/twilio-php | src/Twilio/Rest/NumbersBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/NumbersBase.php | MIT |
public function __call(string $name, array $arguments) {
$method = 'context' . \ucfirst($name);
if (\method_exists($this, $method)) {
return \call_user_func_array([$this, $method], $arguments);
}
throw new TwilioException('Unknown context ' . $name);
} | Magic caller to get resource contexts
@param string $name Resource to return
@param array $arguments Context parameters
@return \Twilio\InstanceContext The requested resource context
@throws TwilioException For unknown resource | __call | php | twilio/twilio-php | src/Twilio/Rest/NumbersBase.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/NumbersBase.php | MIT |
public function __construct(Domain $domain)
{
parent::__construct($domain);
$this->version = 'v1';
} | Construct the V1 version of FrontlineApi
@param Domain $domain Domain that contains the version | __construct | php | twilio/twilio-php | src/Twilio/Rest/FrontlineApi/V1.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/FrontlineApi/V1.php | MIT |
public function __get(string $name)
{
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown resource ' . $name);
} | Magic getter to lazy load root resources
@param string $name Resource to return
@return \Twilio\ListResource The requested resource
@throws TwilioException For unknown resource | __get | php | twilio/twilio-php | src/Twilio/Rest/FrontlineApi/V1.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/FrontlineApi/V1.php | MIT |
public function __construct(
string $friendlyName = Values::NONE,
string $avatar = Values::NONE,
string $state = Values::NONE,
bool $isAvailable = Values::BOOL_NONE
) {
$this->options['friendlyName'] = $friendlyName;
$this->options['avatar'] = $avatar;
$this->options['state'] = $state;
$this->options['isAvailable'] = $isAvailable;
} | @param string $friendlyName The string that you assigned to describe the User.
@param string $avatar The avatar URL which will be shown in Frontline application.
@param string $state
@param bool $isAvailable Whether the User is available for new conversations. Set to `false` to prevent User from receiving new inbound conversations if you are using [Pool Routing](https://www.twilio.com/docs/frontline/handle-incoming-conversations#3-pool-routing). | __construct | php | twilio/twilio-php | src/Twilio/Rest/FrontlineApi/V1/UserOptions.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/FrontlineApi/V1/UserOptions.php | MIT |
public function __construct(
Version $version
) {
parent::__construct($version);
// Path Solution
$this->solution = [
];
} | Construct the UserList
@param Version $version Version that contains the resource | __construct | php | twilio/twilio-php | src/Twilio/Rest/FrontlineApi/V1/UserList.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/FrontlineApi/V1/UserList.php | MIT |
public function __get(string $name)
{
if (\array_key_exists($name, $this->properties)) {
return $this->properties[$name];
}
if (\property_exists($this, '_' . $name)) {
$method = 'get' . \ucfirst($name);
return $this->$method();
}
throw new TwilioException('Unknown property: ' . $name);
} | Magic getter to access properties
@param string $name Property to access
@return mixed The requested property
@throws TwilioException For unknown properties | __get | php | twilio/twilio-php | src/Twilio/Rest/FrontlineApi/V1/UserInstance.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/FrontlineApi/V1/UserInstance.php | MIT |
public function __construct(Version $version, Response $response, array $solution)
{
parent::__construct($version, $response);
// Path Solution
$this->solution = $solution;
} | @param Version $version Version that contains the resource
@param Response $response Response from the API
@param array $solution The context solution | __construct | php | twilio/twilio-php | src/Twilio/Rest/FrontlineApi/V1/UserPage.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/FrontlineApi/V1/UserPage.php | MIT |
public function __construct(
Version $version,
$sid
) {
parent::__construct($version);
// Path Solution
$this->solution = [
'sid' =>
$sid,
];
$this->uri = '/Users/' . \rawurlencode($sid)
.'';
} | Initialize the UserContext
@param Version $version Version that contains the resource
@param string $sid The SID of the User resource to fetch. This value can be either the `sid` or the `identity` of the User resource to fetch. | __construct | php | twilio/twilio-php | src/Twilio/Rest/FrontlineApi/V1/UserContext.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/FrontlineApi/V1/UserContext.php | MIT |
public function __construct(Domain $domain)
{
parent::__construct($domain);
$this->version = 'v1';
} | Construct the V1 version of Microvisor
@param Domain $domain Domain that contains the version | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1.php | MIT |
public function __get(string $name)
{
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown resource ' . $name);
} | Magic getter to lazy load root resources
@param string $name Resource to return
@return \Twilio\ListResource The requested resource
@throws TwilioException For unknown resource | __get | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1.php | MIT |
public function __construct(
string $uniqueName = Values::NONE,
string $targetApp = Values::NONE,
bool $loggingEnabled = Values::BOOL_NONE,
bool $restartApp = Values::BOOL_NONE
) {
$this->options['uniqueName'] = $uniqueName;
$this->options['targetApp'] = $targetApp;
$this->options['loggingEnabled'] = $loggingEnabled;
$this->options['restartApp'] = $restartApp;
} | @param string $uniqueName A unique and addressable name to be assigned to this Device by the developer. It may be used in place of the Device SID.
@param string $targetApp The SID or unique name of the App to be targeted to the Device.
@param bool $loggingEnabled A Boolean flag specifying whether to enable application logging. Logs will be enabled or extended for 24 hours.
@param bool $restartApp Set to true to restart the App running on the Device. | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/DeviceOptions.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/DeviceOptions.php | MIT |
public function __construct(
Version $version,
$key
) {
parent::__construct($version);
// Path Solution
$this->solution = [
'key' =>
$key,
];
$this->uri = '/Configs/' . \rawurlencode($key)
.'';
} | Initialize the AccountConfigContext
@param Version $version Version that contains the resource
@param string $key The config key; up to 100 characters. | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AccountConfigContext.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AccountConfigContext.php | MIT |
public function __get(string $name)
{
if (\array_key_exists($name, $this->properties)) {
return $this->properties[$name];
}
if (\property_exists($this, '_' . $name)) {
$method = 'get' . \ucfirst($name);
return $this->$method();
}
throw new TwilioException('Unknown property: ' . $name);
} | Magic getter to access properties
@param string $name Property to access
@return mixed The requested property
@throws TwilioException For unknown properties | __get | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AccountConfigInstance.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AccountConfigInstance.php | MIT |
public function __construct(
Version $version
) {
parent::__construct($version);
// Path Solution
$this->solution = [
];
$this->uri = '/Apps';
} | Construct the AppList
@param Version $version Version that contains the resource | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AppList.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AppList.php | MIT |
public function __construct(
Version $version
) {
parent::__construct($version);
// Path Solution
$this->solution = [
];
$this->uri = '/Configs';
} | Construct the AccountConfigList
@param Version $version Version that contains the resource | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AccountConfigList.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AccountConfigList.php | MIT |
public function __construct(
Version $version,
$sid
) {
parent::__construct($version);
// Path Solution
$this->solution = [
'sid' =>
$sid,
];
$this->uri = '/Apps/' . \rawurlencode($sid)
.'';
} | Initialize the AppContext
@param Version $version Version that contains the resource
@param string $sid A 34-character string that uniquely identifies this App. | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AppContext.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AppContext.php | MIT |
public function __construct(
Version $version,
$key
) {
parent::__construct($version);
// Path Solution
$this->solution = [
'key' =>
$key,
];
$this->uri = '/Secrets/' . \rawurlencode($key)
.'';
} | Initialize the AccountSecretContext
@param Version $version Version that contains the resource
@param string $key The secret key; up to 100 characters. | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AccountSecretContext.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AccountSecretContext.php | MIT |
public function __get(string $name)
{
if (\array_key_exists($name, $this->properties)) {
return $this->properties[$name];
}
if (\property_exists($this, '_' . $name)) {
$method = 'get' . \ucfirst($name);
return $this->$method();
}
throw new TwilioException('Unknown property: ' . $name);
} | Magic getter to access properties
@param string $name Property to access
@return mixed The requested property
@throws TwilioException For unknown properties | __get | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AppInstance.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AppInstance.php | MIT |
public function __construct(Version $version, Response $response, array $solution)
{
parent::__construct($version, $response);
// Path Solution
$this->solution = $solution;
} | @param Version $version Version that contains the resource
@param Response $response Response from the API
@param array $solution The context solution | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AccountSecretPage.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AccountSecretPage.php | MIT |
public function __construct(Version $version, Response $response, array $solution)
{
parent::__construct($version, $response);
// Path Solution
$this->solution = $solution;
} | @param Version $version Version that contains the resource
@param Response $response Response from the API
@param array $solution The context solution | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AppPage.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AppPage.php | MIT |
public function __construct(Version $version, Response $response, array $solution)
{
parent::__construct($version, $response);
// Path Solution
$this->solution = $solution;
} | @param Version $version Version that contains the resource
@param Response $response Response from the API
@param array $solution The context solution | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/DevicePage.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/DevicePage.php | MIT |
public function __construct(
Version $version,
$sid
) {
parent::__construct($version);
// Path Solution
$this->solution = [
'sid' =>
$sid,
];
$this->uri = '/Devices/' . \rawurlencode($sid)
.'';
} | Initialize the DeviceContext
@param Version $version Version that contains the resource
@param string $sid A 34-character string that uniquely identifies this Device. | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/DeviceContext.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/DeviceContext.php | MIT |
public function __get(string $name)
{
if (\array_key_exists($name, $this->properties)) {
return $this->properties[$name];
}
if (\property_exists($this, '_' . $name)) {
$method = 'get' . \ucfirst($name);
return $this->$method();
}
throw new TwilioException('Unknown property: ' . $name);
} | Magic getter to access properties
@param string $name Property to access
@return mixed The requested property
@throws TwilioException For unknown properties | __get | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AccountSecretInstance.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AccountSecretInstance.php | MIT |
public function __construct(
Version $version
) {
parent::__construct($version);
// Path Solution
$this->solution = [
];
$this->uri = '/Secrets';
} | Construct the AccountSecretList
@param Version $version Version that contains the resource | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AccountSecretList.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AccountSecretList.php | MIT |
public function __construct(
Version $version
) {
parent::__construct($version);
// Path Solution
$this->solution = [
];
$this->uri = '/Devices';
} | Construct the DeviceList
@param Version $version Version that contains the resource | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/DeviceList.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/DeviceList.php | MIT |
public function __construct(Version $version, Response $response, array $solution)
{
parent::__construct($version, $response);
// Path Solution
$this->solution = $solution;
} | @param Version $version Version that contains the resource
@param Response $response Response from the API
@param array $solution The context solution | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/AccountConfigPage.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/AccountConfigPage.php | MIT |
public function __get(string $name)
{
if (\array_key_exists($name, $this->properties)) {
return $this->properties[$name];
}
if (\property_exists($this, '_' . $name)) {
$method = 'get' . \ucfirst($name);
return $this->$method();
}
throw new TwilioException('Unknown property: ' . $name);
} | Magic getter to access properties
@param string $name Property to access
@return mixed The requested property
@throws TwilioException For unknown properties | __get | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/DeviceInstance.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/DeviceInstance.php | MIT |
public function __construct(
Version $version,
$deviceSid,
$key
) {
parent::__construct($version);
// Path Solution
$this->solution = [
'deviceSid' =>
$deviceSid,
'key' =>
$key,
];
$this->uri = '/Devices/' . \rawurlencode($deviceSid)
.'/Secrets/' . \rawurlencode($key)
.'';
} | Initialize the DeviceSecretContext
@param Version $version Version that contains the resource
@param string $deviceSid A 34-character string that uniquely identifies the Device.
@param string $key The secret key; up to 100 characters. | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/Device/DeviceSecretContext.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/Device/DeviceSecretContext.php | MIT |
public function __construct(Version $version, Response $response, array $solution)
{
parent::__construct($version, $response);
// Path Solution
$this->solution = $solution;
} | @param Version $version Version that contains the resource
@param Response $response Response from the API
@param array $solution The context solution | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/Device/DeviceConfigPage.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/Device/DeviceConfigPage.php | MIT |
public function __construct(
Version $version,
string $deviceSid
) {
parent::__construct($version);
// Path Solution
$this->solution = [
'deviceSid' =>
$deviceSid,
];
$this->uri = '/Devices/' . \rawurlencode($deviceSid)
.'/Secrets';
} | Construct the DeviceSecretList
@param Version $version Version that contains the resource
@param string $deviceSid A 34-character string that uniquely identifies the Device. | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/Device/DeviceSecretList.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/Device/DeviceSecretList.php | MIT |
public function __get(string $name)
{
if (\array_key_exists($name, $this->properties)) {
return $this->properties[$name];
}
if (\property_exists($this, '_' . $name)) {
$method = 'get' . \ucfirst($name);
return $this->$method();
}
throw new TwilioException('Unknown property: ' . $name);
} | Magic getter to access properties
@param string $name Property to access
@return mixed The requested property
@throws TwilioException For unknown properties | __get | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/Device/DeviceConfigInstance.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/Device/DeviceConfigInstance.php | MIT |
public function __get(string $name)
{
if (\array_key_exists($name, $this->properties)) {
return $this->properties[$name];
}
if (\property_exists($this, '_' . $name)) {
$method = 'get' . \ucfirst($name);
return $this->$method();
}
throw new TwilioException('Unknown property: ' . $name);
} | Magic getter to access properties
@param string $name Property to access
@return mixed The requested property
@throws TwilioException For unknown properties | __get | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/Device/DeviceSecretInstance.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/Device/DeviceSecretInstance.php | MIT |
public function __construct(
Version $version,
$deviceSid,
$key
) {
parent::__construct($version);
// Path Solution
$this->solution = [
'deviceSid' =>
$deviceSid,
'key' =>
$key,
];
$this->uri = '/Devices/' . \rawurlencode($deviceSid)
.'/Configs/' . \rawurlencode($key)
.'';
} | Initialize the DeviceConfigContext
@param Version $version Version that contains the resource
@param string $deviceSid A 34-character string that uniquely identifies the Device.
@param string $key The config key; up to 100 characters. | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/Device/DeviceConfigContext.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/Device/DeviceConfigContext.php | MIT |
public function __construct(Version $version, Response $response, array $solution)
{
parent::__construct($version, $response);
// Path Solution
$this->solution = $solution;
} | @param Version $version Version that contains the resource
@param Response $response Response from the API
@param array $solution The context solution | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/Device/DeviceSecretPage.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/Device/DeviceSecretPage.php | MIT |
public function __construct(
Version $version,
string $deviceSid
) {
parent::__construct($version);
// Path Solution
$this->solution = [
'deviceSid' =>
$deviceSid,
];
$this->uri = '/Devices/' . \rawurlencode($deviceSid)
.'/Configs';
} | Construct the DeviceConfigList
@param Version $version Version that contains the resource
@param string $deviceSid A 34-character string that uniquely identifies the Device. | __construct | php | twilio/twilio-php | src/Twilio/Rest/Microvisor/V1/Device/DeviceConfigList.php | https://github.com/twilio/twilio-php/blob/master/src/Twilio/Rest/Microvisor/V1/Device/DeviceConfigList.php | MIT |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.