class Twilio::REST::Insights::V1::RoomPage
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 RoomPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [RoomPage] RoomPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/insights/v1/room.rb 171 def initialize(version, response, solution) 172 super(version, response) 173 174 # Path Solution 175 @solution = solution 176 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of RoomInstance
@param [Hash] payload Payload response from the API @return [RoomInstance] RoomInstance
# File lib/twilio-ruby/rest/insights/v1/room.rb 182 def get_instance(payload) 183 RoomInstance.new(@version, payload, ) 184 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/insights/v1/room.rb 188 def to_s 189 '<Twilio.Insights.V1.RoomPage>' 190 end