class Twilio::REST::Voice::V1::ByocTrunkPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the ByocTrunkPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [ByocTrunkPage] ByocTrunkPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb 169 def initialize(version, response, solution) 170 super(version, response) 171 172 # Path Solution 173 @solution = solution 174 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of ByocTrunkInstance
@param [Hash] payload Payload response from the API @return [ByocTrunkInstance] ByocTrunkInstance
# File lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb 180 def get_instance(payload) 181 ByocTrunkInstance.new(@version, payload, ) 182 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb 186 def to_s 187 '<Twilio.Voice.V1.ByocTrunkPage>' 188 end