class Twilio::REST::FrontlineApi::V1::UserPage
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 UserPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [UserPage] UserPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/frontline_api/v1/user.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 UserInstance
@param [Hash] payload Payload response from the API @return [UserInstance] UserInstance
# File lib/twilio-ruby/rest/frontline_api/v1/user.rb 54 def get_instance(payload) 55 UserInstance.new(@version, payload, ) 56 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/frontline_api/v1/user.rb 60 def to_s 61 '<Twilio.FrontlineApi.V1.UserPage>' 62 end