modern-events-calendar-lite/app/api/Twilio/Rest/Voice.php

101 lines
3.9 KiB
PHP
Raw Normal View History

2024-10-15 12:04:03 +02:00
<?php
namespace Twilio\Rest;
use Twilio\Rest\Voice\V1;
class Voice extends VoiceBase {
/**
* @deprecated Use v1->archivedCalls instead.
*/
protected function getArchivedCalls(): \Twilio\Rest\Voice\V1\ArchivedCallList {
echo "archivedCalls is deprecated. Use v1->archivedCalls instead.";
return $this->v1->archivedCalls;
}
/**
* @deprecated Use v1->archivedCalls(\$date, \$sid) instead.
* @param \DateTime $date The date of the Call in UTC.
* @param string $sid The unique string that identifies this resource
*/
protected function contextArchivedCalls(\DateTime $date, string $sid): \Twilio\Rest\Voice\V1\ArchivedCallContext {
echo "archivedCalls(\$date, \$sid) is deprecated. Use v1->archivedCalls(\$date, \$sid) instead.";
return $this->v1->archivedCalls($date, $sid);
}
/**
* @deprecated Use v1->byocTrunks instead.
*/
protected function getByocTrunks(): \Twilio\Rest\Voice\V1\ByocTrunkList {
echo "byocTrunks is deprecated. Use v1->byocTrunks instead.";
return $this->v1->byocTrunks;
}
/**
* @deprecated Use v1->byocTrunks(\$sid) instead.
* @param string $sid The unique string that identifies the resource
*/
protected function contextByocTrunks(string $sid): \Twilio\Rest\Voice\V1\ByocTrunkContext {
echo "byocTrunks(\$sid) is deprecated. Use v1->byocTrunks(\$sid) instead.";
return $this->v1->byocTrunks($sid);
}
/**
* @deprecated Use v1->connectionPolicies instead.
*/
protected function getConnectionPolicies(): \Twilio\Rest\Voice\V1\ConnectionPolicyList {
echo "connectionPolicies is deprecated. Use v1->connectionPolicies instead.";
return $this->v1->connectionPolicies;
}
/**
* @deprecated Use v1->connectionPolicies(\$sid) instead.
* @param string $sid The unique string that identifies the resource
*/
protected function contextConnectionPolicies(string $sid): \Twilio\Rest\Voice\V1\ConnectionPolicyContext {
echo "connectionPolicies(\$sid) is deprecated. Use v1->connectionPolicies(\$sid) instead.";
return $this->v1->connectionPolicies($sid);
}
/**
* @deprecated Use v1->dialingPermissions instead.
*/
protected function getDialingPermissions(): \Twilio\Rest\Voice\V1\DialingPermissionsList {
echo "dialingPermissions is deprecated. Use v1->dialingPermissions instead.";
return $this->v1->dialingPermissions;
}
/**
* @deprecated Use v1->ipRecords instead.
*/
protected function getIpRecords(): \Twilio\Rest\Voice\V1\IpRecordList {
echo "ipRecords is deprecated. Use v1->ipRecords instead.";
return $this->v1->ipRecords;
}
/**
* @deprecated Use v1->ipRecords(\$sid) instead.
* @param string $sid The unique string that identifies the resource
*/
protected function contextIpRecords(string $sid): \Twilio\Rest\Voice\V1\IpRecordContext {
echo "ipRecords(\$sid) is deprecated. Use v1->ipRecords(\$sid) instead.";
return $this->v1->ipRecords($sid);
}
/**
* @deprecated Use v1->sourceIpMappings instead.
*/
protected function getSourceIpMappings(): \Twilio\Rest\Voice\V1\SourceIpMappingList {
echo "sourceIpMappings is deprecated. Use v1->sourceIpMappings instead.";
return $this->v1->sourceIpMappings;
}
/**
* @deprecated Use v1->sourceIpMappings(\$sid) instead.
* @param string $sid The unique string that identifies the resource
*/
protected function contextSourceIpMappings(string $sid): \Twilio\Rest\Voice\V1\SourceIpMappingContext {
echo "sourceIpMappings(\$sid) is deprecated. Use v1->sourceIpMappings(\$sid) instead.";
return $this->v1->sourceIpMappings($sid);
}
}