Class: Twilio::REST::Trusthub::V1::CustomerProfilesContext::CustomerProfilesChannelEndpointAssignmentInstanceMetadata

Inherits:
InstanceResourceMetadata
  • Object
show all
Defined in:
lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, customer_profiles_channel_endpoint_assignment_instance, headers, status_code) ⇒ CustomerProfilesChannelEndpointAssignmentInstanceMetadata

Initializes a new CustomerProfilesChannelEndpointAssignmentInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}CustomerProfilesChannelEndpointAssignmentInstance]

    customer_profiles_channel_endpoint_assignment_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



362
363
364
365
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 362

def initialize(version, customer_profiles_channel_endpoint_assignment_instance, headers, status_code)
    super(version, headers, status_code)
    @customer_profiles_channel_endpoint_assignment_instance = customer_profiles_channel_endpoint_assignment_instance
end

Instance Method Details

#customer_profiles_channel_endpoint_assignmentObject



367
368
369
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 367

def customer_profiles_channel_endpoint_assignment
    @customer_profiles_channel_endpoint_assignment_instance
end

#headersObject



371
372
373
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 371

def headers
    @headers
end

#status_codeObject



375
376
377
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 375

def status_code
    @status_code
end

#to_sObject



379
380
381
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 379

def to_s
  "<Twilio.Api.V2010.CustomerProfilesChannelEndpointAssignmentInstanceMetadata status=#{@status_code}>"
end