Viewing file: WebhookList.php (1.08 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */
namespace Twilio\Rest\Conversations\V1\Service\Configuration;
use Twilio\ListResource; use Twilio\Version;
class WebhookList extends ListResource { /** * Construct the WebhookList * * @param Version $version Version that contains the resource * @param string $chatServiceSid The unique string that identifies the resource */ public function __construct(Version $version, string $chatServiceSid) { parent::__construct($version);
// Path Solution $this->solution = ['chatServiceSid' => $chatServiceSid, ]; }
/** * Constructs a WebhookContext */ public function getContext(): WebhookContext { return new WebhookContext($this->version, $this->solution['chatServiceSid']); }
/** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString(): string { return '[Twilio.Conversations.V1.WebhookList]'; } }
|