File "Autopilot.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/twilio/sdk/src/Twilio/Rest/Autopilot.php
File size: 1.01 KB
MIME-type: text/x-php
Charset: utf-8

<?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;
    }
}