class Twilio::REST::Supersim::V1::NetworkPage
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 NetworkPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [NetworkPage] NetworkPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/supersim/v1/network.rb 154 def initialize(version, response, solution) 155 super(version, response) 156 157 # Path Solution 158 @solution = solution 159 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of NetworkInstance
@param [Hash] payload Payload response from the API @return [NetworkInstance] NetworkInstance
# File lib/twilio-ruby/rest/supersim/v1/network.rb 165 def get_instance(payload) 166 NetworkInstance.new(@version, payload, ) 167 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/supersim/v1/network.rb 171 def to_s 172 '<Twilio.Supersim.V1.NetworkPage>' 173 end