Class: Twilio::REST::Api::V2010::AccountContext::SipList::CredentialListInstanceMetadata

Inherits:
InstanceResourceMetadata show all
Defined in:
lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, credential_list_instance, headers, status_code) ⇒ CredentialListInstanceMetadata

Initializes a new CredentialListInstanceMetadata.

Parameters:

  • Version that contains the resource

  • credential_list_instance The instance associated with the metadata.

  • Header object with response headers.

  • The HTTP status code of the response.



421
422
423
424
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 421

def initialize(version, credential_list_instance, headers, status_code)
    super(version, headers, status_code)
    @credential_list_instance = credential_list_instance
end

Instance Method Details

#credential_listObject



426
427
428
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 426

def credential_list
    @credential_list_instance
end

#headersObject



430
431
432
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 430

def headers
    @headers
end

#status_codeObject



434
435
436
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 434

def status_code
    @status_code
end

#to_sObject



438
439
440
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 438

def to_s
  "<Twilio.Api.V2010.CredentialListInstanceMetadata status=#{@status_code}>"
end