<?php

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\Rest\Insights\V1;

use Twilio\ListResource;
use Twilio\Version;

class AnnotationList extends ListResource {
    /**
     * Construct the AnnotationList
     *
     * @param Version $version Version that contains the resource
     */
    public function __construct(Version $version) {
        parent::__construct($version);

        // Path Solution
        $this->solution = [];
    }

    /**
     * Constructs a AnnotationContext
     *
     * @param string $callSid The call_sid
     */
    public function getContext(string $callSid): AnnotationContext {
        return new AnnotationContext($this->version, $callSid);
    }

    /**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    public function __toString(): string {
        return '[Twilio.Insights.V1.AnnotationList]';
    }
}