Class: Twilio::REST::Supersim::V1::IpCommandInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, ip_command_instance, headers, status_code) ⇒ IpCommandInstanceMetadata

Initializes a new IpCommandInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}IpCommandInstance]

    ip_command_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



355
356
357
358
# File 'lib/twilio-ruby/rest/supersim/v1/ip_command.rb', line 355

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

Instance Method Details

#headersObject



364
365
366
# File 'lib/twilio-ruby/rest/supersim/v1/ip_command.rb', line 364

def headers
    @headers
end

#ip_commandObject



360
361
362
# File 'lib/twilio-ruby/rest/supersim/v1/ip_command.rb', line 360

def ip_command
    @ip_command_instance
end

#status_codeObject



368
369
370
# File 'lib/twilio-ruby/rest/supersim/v1/ip_command.rb', line 368

def status_code
    @status_code
end

#to_sObject



372
373
374
# File 'lib/twilio-ruby/rest/supersim/v1/ip_command.rb', line 372

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