Class: Twilio::REST::Insights::V1::CallContext::AnnotationList

Inherits:
ListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/insights/v1/call/annotation.rb

Overview

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

Instance Method Summary collapse

Constructor Details

#initialize(version, call_sid: nil) ⇒ AnnotationList

Initialize the AnnotationList

Parameters:

  • version (Version)

    Version that contains the resource

  • call_sid (String) (defaults to: nil)

    The unique SID identifier of the Call.


22
23
24
25
26
27
# File 'lib/twilio-ruby/rest/insights/v1/call/annotation.rb', line 22

def initialize(version, call_sid: nil)
  super(version)

  # Path Solution
  @solution = {call_sid: call_sid}
end

Instance Method Details

#to_sObject

Provide a user friendly representation


31
32
33
# File 'lib/twilio-ruby/rest/insights/v1/call/annotation.rb', line 31

def to_s
  '#<Twilio.Insights.V1.AnnotationList>'
end