Class: Twilio::REST::Insights::V1::ConferenceInstanceMetadata

Inherits:
Twilio::REST::InstanceResourceMetadata show all
Defined in:
lib/twilio-ruby/rest/insights/v1/conference.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, conference_instance, headers, status_code) ⇒ ConferenceInstanceMetadata

Initializes a new ConferenceInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}ConferenceInstance]

    conference_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



337
338
339
340
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 337

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

Instance Method Details

#conferenceObject



342
343
344
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 342

def conference
    @conference_instance
end

#headersObject



346
347
348
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 346

def headers
    @headers
end

#status_codeObject



350
351
352
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 350

def status_code
    @status_code
end

#to_sObject



354
355
356
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 354

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