Class: Twilio::REST::Sync::V1::ServiceContext::SyncMapContext::SyncMapItemListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Sync::V1::ServiceContext::SyncMapContext::SyncMapItemListResponse
- Defined in:
- lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb,
lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ SyncMapItemListResponse
constructor
A new instance of SyncMapItemListResponse.
- #status_code ⇒ Object
- #sync_map_item ⇒ Object
- #sync_map_item_instance ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ SyncMapItemListResponse
Returns a new instance of SyncMapItemListResponse.
502 503 504 505 506 507 508 |
# File 'lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb', line 502 def initialize(version, payload, key) @sync_map_item_instance = payload.body[key].map do |data| SyncMapItemInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
595 596 597 |
# File 'lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb', line 595 def headers @headers end |
#status_code ⇒ Object
599 600 601 |
# File 'lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb', line 599 def status_code @status_code end |
#sync_map_item ⇒ Object
591 592 593 |
# File 'lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb', line 591 def sync_map_item @sync_map_item end |
#sync_map_item_instance ⇒ Object
510 511 512 |
# File 'lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb', line 510 def sync_map_item_instance @instance end |