class Twilio::REST::Monitor::V1::EventPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the EventPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [EventPage] EventPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/monitor/v1/event.rb 188 def initialize(version, response, solution) 189 super(version, response) 190 191 # Path Solution 192 @solution = solution 193 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of EventInstance
@param [Hash] payload Payload response from the API @return [EventInstance] EventInstance
# File lib/twilio-ruby/rest/monitor/v1/event.rb 199 def get_instance(payload) 200 EventInstance.new(@version, payload, ) 201 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/monitor/v1/event.rb 205 def to_s 206 '<Twilio.Monitor.V1.EventPage>' 207 end