Class: Twilio::REST::Intelligence::V2::TranscriptContext::EncryptedOperatorResultsListResponse

Inherits:
Twilio::REST::InstanceListResource show all
Defined in:
lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb,
lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, payload, key, limit = :unset) ⇒ EncryptedOperatorResultsListResponse

Returns a new instance of EncryptedOperatorResultsListResponse.

Parameters:



168
169
170
171
172
173
174
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb', line 168

def initialize(version, payload, key)
   @encrypted_operator_results_instance = payload.body[key].map do |data|
    EncryptedOperatorResultsInstance.new(version, data)
   end
   @headers = payload.headers
   @status_code = payload.status_code
end

Instance Method Details

#encrypted_operator_resultsObject



257
258
259
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb', line 257

def encrypted_operator_results
    @encrypted_operator_results
end

#encrypted_operator_results_instanceObject



176
177
178
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb', line 176

def encrypted_operator_results_instance
    @instance
end

#headersObject



261
262
263
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb', line 261

def headers
  @headers
end

#status_codeObject



265
266
267
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb', line 265

def status_code
  @status_code
end