class Twilio::REST::Trusthub::V1::EndUserTypePage

Public Class Methods

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

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

Calls superclass method Twilio::REST::Page::new
    # File lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb
120 def initialize(version, response, solution)
121   super(version, response)
122 
123   # Path Solution
124   @solution = solution
125 end

Public Instance Methods

get_instance(payload) click to toggle source

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

    # File lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb
131 def get_instance(payload)
132   EndUserTypeInstance.new(@version, payload, )
133 end
to_s() click to toggle source

Provide a user friendly representation

    # File lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb
137 def to_s
138   '<Twilio.Trusthub.V1.EndUserTypePage>'
139 end