Class: Twilio::REST::Intelligence::V2::TranscriptContext::OperatorResultListResponse
- Inherits:
-
Twilio::REST::InstanceListResource
- Object
- Twilio::REST::InstanceListResource
- Twilio::REST::Intelligence::V2::TranscriptContext::OperatorResultListResponse
- Defined in:
- lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb,
lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ OperatorResultListResponse
constructor
A new instance of OperatorResultListResponse.
- #operator_result ⇒ Object
- #operator_result_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ OperatorResultListResponse
288 289 290 291 292 293 294 |
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb', line 288 def initialize(version, payload, key) @operator_result_instance = payload.body[key].map do |data| OperatorResultInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
381 382 383 |
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb', line 381 def headers @headers end |
#operator_result ⇒ Object
377 378 379 |
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb', line 377 def operator_result @operator_result end |
#operator_result_instance ⇒ Object
296 297 298 |
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb', line 296 def operator_result_instance @instance end |
#status_code ⇒ Object
385 386 387 |
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb', line 385 def status_code @status_code end |