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