Class: Twilio::REST::Trusthub::V1::CustomerProfilesContext::CustomerProfilesChannelEndpointAssignmentListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Trusthub::V1::CustomerProfilesContext::CustomerProfilesChannelEndpointAssignmentListResponse
- Defined in:
- lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb,
lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb
Instance Method Summary collapse
- #customer_profiles_channel_endpoint_assignment ⇒ Object
- #customer_profiles_channel_endpoint_assignment_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ CustomerProfilesChannelEndpointAssignmentListResponse
constructor
A new instance of CustomerProfilesChannelEndpointAssignmentListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ CustomerProfilesChannelEndpointAssignmentListResponse
Returns a new instance of CustomerProfilesChannelEndpointAssignmentListResponse.
380 381 382 383 384 385 386 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 380 def initialize(version, payload, key) @customer_profiles_channel_endpoint_assignment_instance = payload.body[key].map do |data| CustomerProfilesChannelEndpointAssignmentInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#customer_profiles_channel_endpoint_assignment ⇒ Object
469 470 471 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 469 def customer_profiles_channel_endpoint_assignment @customer_profiles_channel_endpoint_assignment end |
#customer_profiles_channel_endpoint_assignment_instance ⇒ Object
388 389 390 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 388 def customer_profiles_channel_endpoint_assignment_instance @instance end |
#headers ⇒ Object
473 474 475 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 473 def headers @headers end |
#status_code ⇒ Object
477 478 479 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 477 def status_code @status_code end |