class Twilio::REST::Api::V2010::AccountContext::SipList::DomainContext::AuthTypesList::AuthTypeCallsPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the AuthTypeCallsPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [AuthTypeCallsPage] AuthTypeCallsPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb 102 def initialize(version, response, solution) 103 super(version, response) 104 105 # Path Solution 106 @solution = solution 107 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of AuthTypeCallsInstance
@param [Hash] payload Payload response from the API @return [AuthTypeCallsInstance] AuthTypeCallsInstance
# File lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb 113 def get_instance(payload) 114 AuthTypeCallsInstance.new( 115 @version, 116 payload, 117 account_sid: @solution[:account_sid], 118 domain_sid: @solution[:domain_sid], 119 ) 120 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb 124 def to_s 125 '<Twilio.Api.V2010.AuthTypeCallsPage>' 126 end