class Twilio::REST::Events::V1::SchemaPage
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 SchemaPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [SchemaPage] SchemaPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/events/v1/schema.rb 43 def initialize(version, response, solution) 44 super(version, response) 45 46 # Path Solution 47 @solution = solution 48 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of SchemaInstance
@param [Hash] payload Payload response from the API @return [SchemaInstance] SchemaInstance
# File lib/twilio-ruby/rest/events/v1/schema.rb 54 def get_instance(payload) 55 SchemaInstance.new(@version, payload, ) 56 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/events/v1/schema.rb 60 def to_s 61 '<Twilio.Events.V1.SchemaPage>' 62 end