class Twilio::REST::Proxy::V1::ServiceContext::SessionContext::ParticipantContext::MessageInteractionPage
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the MessageInteractionPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [MessageInteractionPage] MessageInteractionPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb 152 def initialize(version, response, solution) 153 super(version, response) 154 155 # Path Solution 156 @solution = solution 157 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of MessageInteractionInstance
@param [Hash] payload Payload response from the API @return [MessageInteractionInstance] MessageInteractionInstance
# File lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb 163 def get_instance(payload) 164 MessageInteractionInstance.new( 165 @version, 166 payload, 167 service_sid: @solution[:service_sid], 168 session_sid: @solution[:session_sid], 169 participant_sid: @solution[:participant_sid], 170 ) 171 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb 175 def to_s 176 '<Twilio.Proxy.V1.MessageInteractionPage>' 177 end