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

32 lines
No EOL
1 KiB
PHP
Executable file

<?php
namespace Twilio\Rest;
use Twilio\Rest\Autopilot\V1;
class Autopilot extends AutopilotBase {
/**
* @deprecated Use v1->assistants instead.
*/
protected function getAssistants(): \Twilio\Rest\Autopilot\V1\AssistantList {
echo "assistants is deprecated. Use v1->assistants instead.";
return $this->v1->assistants;
}
/**
* @deprecated Use v1->assistants(\$sid) instead.
* @param string $sid The unique string that identifies the resource
*/
protected function contextAssistants(string $sid): \Twilio\Rest\Autopilot\V1\AssistantContext {
echo "assistants(\$sid) is deprecated. Use v1->assistants(\$sid) instead.";
return $this->v1->assistants($sid);
}
/**
* @deprecated Use v1->restoreAssistant instead
*/
protected function getRestoreAssistant(): \Twilio\Rest\Autopilot\V1\RestoreAssistantList {
echo "restoreAssistant is deprecated. Use v1->restoreAssistant instead.";
return $this->v1->restoreAssistant;
}
}