Class: Twilio::REST::Trusthub::V1::CustomerProfilesInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, customer_profiles_instance, headers, status_code) ⇒ CustomerProfilesInstanceMetadata

Initializes a new CustomerProfilesInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}CustomerProfilesInstance]

    customer_profiles_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



511
512
513
514
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb', line 511

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

Instance Method Details

#customer_profilesObject



516
517
518
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb', line 516

def customer_profiles
    @customer_profiles_instance
end

#headersObject



520
521
522
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb', line 520

def headers
    @headers
end

#status_codeObject



524
525
526
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb', line 524

def status_code
    @status_code
end

#to_sObject



528
529
530
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb', line 528

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