Class: Twilio::REST::Insights::V1::ConferenceContext::ConferenceParticipantInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, conference_participant_instance, headers, status_code) ⇒ ConferenceParticipantInstanceMetadata

Initializes a new ConferenceParticipantInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}ConferenceParticipantInstance]

    conference_participant_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



284
285
286
287
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 284

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

Instance Method Details

#conference_participantObject



289
290
291
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 289

def conference_participant
    @conference_participant_instance
end

#headersObject



293
294
295
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 293

def headers
    @headers
end

#status_codeObject



297
298
299
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 297

def status_code
    @status_code
end

#to_sObject



301
302
303
# File 'lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb', line 301

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