Class: Twilio::REST::Memory::V1::StoreInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, store_instance, headers, status_code) ⇒ StoreInstanceMetadata

Initializes a new StoreInstanceMetadata.

Parameters:

  • version (Version) —

    Version that contains the resource

  • [}StoreInstance] —

    store_instance The instance associated with the metadata.

  • headers (Hash) —

    Header object with response headers.

  • status_code (Integer) —

    The HTTP status code of the response.



462
463
464
465
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 462

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

Instance Method Details

#headers ⇒ Object



471
472
473
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 471

def headers
    @headers
end

#status_code ⇒ Object



475
476
477
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 475

def status_code
    @status_code
end

#store ⇒ Object



467
468
469
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 467

def store
    @store_instance
end

#to_s ⇒ Object



479
480
481
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 479

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