Class: Twilio::REST::Sync::V1::ServiceContext::SyncMapInstanceMetadata

Inherits:
InstanceResourceMetadata show all
Defined in:
lib/twilio-ruby/rest/sync/v1/service/sync_map.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, sync_map_instance, headers, status_code) ⇒ SyncMapInstanceMetadata

Initializes a new SyncMapInstanceMetadata.

Parameters:

  • Version that contains the resource

  • sync_map_instance The instance associated with the metadata.

  • Header object with response headers.

  • The HTTP status code of the response.



450
451
452
453
# File 'lib/twilio-ruby/rest/sync/v1/service/sync_map.rb', line 450

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

Instance Method Details

#headersObject



459
460
461
# File 'lib/twilio-ruby/rest/sync/v1/service/sync_map.rb', line 459

def headers
    @headers
end

#status_codeObject



463
464
465
# File 'lib/twilio-ruby/rest/sync/v1/service/sync_map.rb', line 463

def status_code
    @status_code
end

#sync_mapObject



455
456
457
# File 'lib/twilio-ruby/rest/sync/v1/service/sync_map.rb', line 455

def sync_map
    @sync_map_instance
end

#to_sObject



467
468
469
# File 'lib/twilio-ruby/rest/sync/v1/service/sync_map.rb', line 467

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