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.
388 389 390 391 392 393 394 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 388 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
477 478 479 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 477 def customer_profiles_channel_endpoint_assignment @customer_profiles_channel_endpoint_assignment end |
#customer_profiles_channel_endpoint_assignment_instance ⇒ Object
396 397 398 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 396 def customer_profiles_channel_endpoint_assignment_instance @instance end |
#headers ⇒ Object
481 482 483 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 481 def headers @headers end |
#status_code ⇒ Object
485 486 487 |
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 485 def status_code @status_code end |