Class: Twilio::REST::Trusthub::V1::CustomerProfilesContext::CustomerProfilesEntityAssignmentsListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Trusthub::V1::CustomerProfilesContext::CustomerProfilesEntityAssignmentsListResponse
- Defined in:
- lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb,
lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb
Instance Method Summary collapse
- #customer_profiles_entity_assignments ⇒ Object
- #customer_profiles_entity_assignments_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ CustomerProfilesEntityAssignmentsListResponse
constructor
A new instance of CustomerProfilesEntityAssignmentsListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ CustomerProfilesEntityAssignmentsListResponse
Returns a new instance of CustomerProfilesEntityAssignmentsListResponse.
366 367 368 369 370 371 372 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb', line 366 def initialize(version, payload, key) @customer_profiles_entity_assignments_instance = payload.body[key].map do |data| CustomerProfilesEntityAssignmentsInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#customer_profiles_entity_assignments ⇒ Object
455 456 457 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb', line 455 def customer_profiles_entity_assignments @customer_profiles_entity_assignments end |
#customer_profiles_entity_assignments_instance ⇒ Object
374 375 376 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb', line 374 def customer_profiles_entity_assignments_instance @instance end |
#headers ⇒ Object
459 460 461 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb', line 459 def headers @headers end |
#status_code ⇒ Object
463 464 465 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb', line 463 def status_code @status_code end |