Class: Twilio::REST::Memory::V1::IdentityResolutionSettingListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Memory::V1::IdentityResolutionSettingListResponse
- Defined in:
- lib/twilio-ruby/rest/memory/v1/identity_resolution_setting.rb
Instance Method Summary collapse
- #headers ⇒ Object
- #identity_resolution_setting ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ IdentityResolutionSettingListResponse
constructor
A new instance of IdentityResolutionSettingListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ IdentityResolutionSettingListResponse
Returns a new instance of IdentityResolutionSettingListResponse.
224 225 226 227 228 229 230 231 232 233 234 |
# File 'lib/twilio-ruby/rest/memory/v1/identity_resolution_setting.rb', line 224 def initialize(version, payload, key, limit = :unset) data_list = payload.body[key] || [] if limit != :unset data_list = data_list[0, limit] end @identity_resolution_setting = data_list.map do |data| IdentityResolutionSettingInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
240 241 242 |
# File 'lib/twilio-ruby/rest/memory/v1/identity_resolution_setting.rb', line 240 def headers @headers end |
#identity_resolution_setting ⇒ Object
236 237 238 |
# File 'lib/twilio-ruby/rest/memory/v1/identity_resolution_setting.rb', line 236 def identity_resolution_setting @identity_resolution_setting end |
#status_code ⇒ Object
244 245 246 |
# File 'lib/twilio-ruby/rest/memory/v1/identity_resolution_setting.rb', line 244 def status_code @status_code end |