Class: Twilio::REST::Trusthub::V1::CustomerProfilesContext::CustomerProfilesEvaluationsInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, customer_profiles_evaluations_instance, headers, status_code) ⇒ CustomerProfilesEvaluationsInstanceMetadata

Initializes a new CustomerProfilesEvaluationsInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}CustomerProfilesEvaluationsInstance]

    customer_profiles_evaluations_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



300
301
302
303
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb', line 300

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

Instance Method Details

#customer_profiles_evaluationsObject



305
306
307
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb', line 305

def customer_profiles_evaluations
    @customer_profiles_evaluations_instance
end

#headersObject



309
310
311
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb', line 309

def headers
    @headers
end

#status_codeObject



313
314
315
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb', line 313

def status_code
    @status_code
end

#to_sObject



317
318
319
# File 'lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb', line 317

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