Class: Twilio::REST::Trusthub::V1::CustomerProfilesContext::CustomerProfilesEntityAssignmentsInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, customer_profiles_entity_assignments_instance, headers, status_code) ⇒ CustomerProfilesEntityAssignmentsInstanceMetadata

Initializes a new CustomerProfilesEntityAssignmentsInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}CustomerProfilesEntityAssignmentsInstance]

    customer_profiles_entity_assignments_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



340
341
342
343
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb', line 340

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

Instance Method Details

#customer_profiles_entity_assignmentsObject



345
346
347
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb', line 345

def customer_profiles_entity_assignments
    @customer_profiles_entity_assignments_instance
end

#headersObject



349
350
351
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb', line 349

def headers
    @headers
end

#status_codeObject



353
354
355
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb', line 353

def status_code
    @status_code
end

#to_sObject



357
358
359
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb', line 357

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