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 (Version)

    Version that contains the resource

  • [}CredentialListInstance]

    credential_list_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



413
414
415
416
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 413

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



418
419
420
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 418

def credential_list
    @credential_list_instance
end

#headersObject



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

def headers
    @headers
end

#status_codeObject



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

def status_code
    @status_code
end

#to_sObject



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

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