class Twilio::REST::Api::V2010::AccountContext::SipList::DomainContext::AuthTypesList
Public Class Methods
new(version, account_sid: nil, domain_sid: nil)
click to toggle source
Initialize the AuthTypesList
@param [Version] version Version
that contains the resource @param [String] account_sid The SID of the
{Account}[https://www.twilio.com/docs/iam/api/account] that created the SipDomain resource.
@param [String] domain_sid The unique string that that we created to identify
the SipDomain resource.
@return [AuthTypesList] AuthTypesList
Calls superclass method
Twilio::REST::ListResource::new
# File lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb 26 def initialize(version, account_sid: nil, domain_sid: nil) 27 super(version) 28 29 # Path Solution 30 @solution = {account_sid: account_sid, domain_sid: domain_sid} 31 32 # Components 33 @calls = nil 34 @registrations = nil 35 end
Public Instance Methods
calls()
click to toggle source
Access the calls @return [AuthTypeCallsList] @return [AuthTypeCallsContext]
# File lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb 41 def calls 42 @calls ||= AuthTypeCallsList.new( 43 @version, 44 account_sid: @solution[:account_sid], 45 domain_sid: @solution[:domain_sid], 46 ) 47 end
registrations()
click to toggle source
Access the registrations @return [AuthTypeRegistrationsList] @return [AuthTypeRegistrationsContext]
# File lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb 53 def registrations 54 @registrations ||= AuthTypeRegistrationsList.new( 55 @version, 56 account_sid: @solution[:account_sid], 57 domain_sid: @solution[:domain_sid], 58 ) 59 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb 63 def to_s 64 '#<Twilio.Api.V2010.AuthTypesList>' 65 end