Class: Twilio::REST::Numbers::V1::PortingWebhookConfigurationDeleteInstanceMetadata

Inherits:
InstanceResourceMetadata show all
Defined in:
lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, porting_webhook_configuration_delete_instance, headers, status_code) ⇒ PortingWebhookConfigurationDeleteInstanceMetadata

Initializes a new PortingWebhookConfigurationDeleteInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}PortingWebhookConfigurationDeleteInstance]

    porting_webhook_configuration_delete_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



116
117
118
119
# File 'lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb', line 116

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

Instance Method Details

#headersObject



125
126
127
# File 'lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb', line 125

def headers
    @headers
end

#porting_webhook_configuration_deleteObject



121
122
123
# File 'lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb', line 121

def porting_webhook_configuration_delete
    @porting_webhook_configuration_delete_instance
end

#status_codeObject



129
130
131
# File 'lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb', line 129

def status_code
    @status_code
end

#to_sObject



133
134
135
# File 'lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb', line 133

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