class Twilio::REST::Monitor::V1::AlertPage

Public Class Methods

new(version, response, solution) click to toggle source

Initialize the AlertPage @param [Version] version Version that contains the resource @param [Response] response Response from the API @param [Hash] solution Path solution for the resource @return [AlertPage] AlertPage

Calls superclass method Twilio::REST::Page::new
    # File lib/twilio-ruby/rest/monitor/v1/alert.rb
158 def initialize(version, response, solution)
159   super(version, response)
160 
161   # Path Solution
162   @solution = solution
163 end

Public Instance Methods

get_instance(payload) click to toggle source

Build an instance of AlertInstance @param [Hash] payload Payload response from the API @return [AlertInstance] AlertInstance

    # File lib/twilio-ruby/rest/monitor/v1/alert.rb
169 def get_instance(payload)
170   AlertInstance.new(@version, payload, )
171 end
to_s() click to toggle source

Provide a user friendly representation

    # File lib/twilio-ruby/rest/monitor/v1/alert.rb
175 def to_s
176   '<Twilio.Monitor.V1.AlertPage>'
177 end