Class: Twilio::REST::Insights::V1::ConferenceContext::ConferenceParticipantListResponse

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ConferenceParticipantListResponse.

Parameters:



318
319
320
321
322
323
324
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 318

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

Instance Method Details

#conference_participantObject



407
408
409
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 407

def conference_participant
    @conference_participant
end

#conference_participant_instanceObject



326
327
328
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 326

def conference_participant_instance
    @instance
end

#headersObject



411
412
413
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 411

def headers
  @headers
end

#status_codeObject



415
416
417
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 415

def status_code
  @status_code
end