Class: Twilio::REST::Intelligence::V2::TranscriptContext::EncryptedOperatorResultsInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, encrypted_operator_results_instance, headers, status_code) ⇒ EncryptedOperatorResultsInstanceMetadata

Initializes a new EncryptedOperatorResultsInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}EncryptedOperatorResultsInstance]

    encrypted_operator_results_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



142
143
144
145
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb', line 142

def initialize(version, encrypted_operator_results_instance, headers, status_code)
    super(version, headers, status_code)
    @encrypted_operator_results_instance = encrypted_operator_results_instance
end

Instance Method Details

#encrypted_operator_resultsObject



147
148
149
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb', line 147

def encrypted_operator_results
    @encrypted_operator_results_instance
end

#headersObject



151
152
153
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb', line 151

def headers
    @headers
end

#status_codeObject



155
156
157
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb', line 155

def status_code
    @status_code
end

#to_sObject



159
160
161
# File 'lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb', line 159

def to_s
  "<Twilio.Api.V2010.EncryptedOperatorResultsInstanceMetadata status=#{@status_code}>"
end