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.



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

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

Instance Method Details

#conferenceObject



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

def conference
    @conference_instance
end

#headersObject



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

def headers
    @headers
end

#status_codeObject



358
359
360
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 358

def status_code
    @status_code
end

#to_sObject



362
363
364
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 362

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