/home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Rest/Trusthub
Edit: /home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Rest/Trusthub/V1.php (4939B)
version = 'v1';
}
protected function getCustomerProfiles(): CustomerProfilesList {
if (!$this->_customerProfiles) {
$this->_customerProfiles = new CustomerProfilesList($this);
}
return $this->_customerProfiles;
}
protected function getEndUsers(): EndUserList {
if (!$this->_endUsers) {
$this->_endUsers = new EndUserList($this);
}
return $this->_endUsers;
}
protected function getEndUserTypes(): EndUserTypeList {
if (!$this->_endUserTypes) {
$this->_endUserTypes = new EndUserTypeList($this);
}
return $this->_endUserTypes;
}
protected function getPolicies(): PoliciesList {
if (!$this->_policies) {
$this->_policies = new PoliciesList($this);
}
return $this->_policies;
}
protected function getSupportingDocuments(): SupportingDocumentList {
if (!$this->_supportingDocuments) {
$this->_supportingDocuments = new SupportingDocumentList($this);
}
return $this->_supportingDocuments;
}
protected function getSupportingDocumentTypes(): SupportingDocumentTypeList {
if (!$this->_supportingDocumentTypes) {
$this->_supportingDocumentTypes = new SupportingDocumentTypeList($this);
}
return $this->_supportingDocumentTypes;
}
protected function getTrustProducts(): TrustProductsList {
if (!$this->_trustProducts) {
$this->_trustProducts = new TrustProductsList($this);
}
return $this->_trustProducts;
}
/**
* Magic getter to lazy load root resources
*
* @param string $name Resource to return
* @return \Twilio\ListResource The requested resource
* @throws TwilioException For unknown resource
*/
public function __get(string $name) {
$method = 'get' . \ucfirst($name);
if (\method_exists($this, $method)) {
return $this->$method();
}
throw new TwilioException('Unknown resource ' . $name);
}
/**
* Magic caller to get resource contexts
*
* @param string $name Resource to return
* @param array $arguments Context parameters
* @return InstanceContext The requested resource context
* @throws TwilioException For unknown resource
*/
public function __call(string $name, array $arguments): InstanceContext {
$property = $this->$name;
if (\method_exists($property, 'getContext')) {
return \call_user_func_array(array($property, 'getContext'), $arguments);
}
throw new TwilioException('Resource does not have a context');
}
/**
* Provide a friendly representation
*
* @return string Machine friendly representation
*/
public function __toString(): string {
return '[Twilio.Trusthub.V1]';
}
}