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.



354
355
356
357
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 354

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



359
360
361
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb', line 359

def customer_profiles_channel_endpoint_assignment
    @customer_profiles_channel_endpoint_assignment_instance
end

#headersObject



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

def headers
    @headers
end

#status_codeObject



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

def status_code
    @status_code
end

#to_sObject



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

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