Class: Twilio::REST::Api::V2010::AccountContext::SipList::DomainContext::CredentialListMappingListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Api::V2010::AccountContext::SipList::DomainContext::CredentialListMappingListResponse
- Defined in:
- lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb,
lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb
Instance Method Summary collapse
- #credential_list_mapping ⇒ Object
- #credential_list_mapping_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ CredentialListMappingListResponse
constructor
A new instance of CredentialListMappingListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ CredentialListMappingListResponse
Returns a new instance of CredentialListMappingListResponse.
365 366 367 368 369 370 371 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb', line 365 def initialize(version, payload, key) @credential_list_mapping_instance = payload.body[key].map do |data| CredentialListMappingInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#credential_list_mapping ⇒ Object
454 455 456 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb', line 454 def credential_list_mapping @credential_list_mapping end |
#credential_list_mapping_instance ⇒ Object
373 374 375 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb', line 373 def credential_list_mapping_instance @instance end |
#headers ⇒ Object
458 459 460 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb', line 458 def headers @headers end |
#status_code ⇒ Object
462 463 464 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb', line 462 def status_code @status_code end |