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:



310
311
312
313
314
315
316
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 310

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



399
400
401
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 399

def conference_participant
    @conference_participant
end

#conference_participant_instanceObject



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

def conference_participant_instance
    @instance
end

#headersObject



403
404
405
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 403

def headers
  @headers
end

#status_codeObject



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

def status_code
  @status_code
end