Class: Twilio::REST::Trusthub::V1::SupportingDocumentTypeInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, supporting_document_type_instance, headers, status_code) ⇒ SupportingDocumentTypeInstanceMetadata

Initializes a new SupportingDocumentTypeInstanceMetadata.

Parameters:

  • Version that contains the resource

  • supporting_document_type_instance The instance associated with the metadata.

  • Header object with response headers.

  • The HTTP status code of the response.



245
246
247
248
# File 'lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb', line 245

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

Instance Method Details

#headers ⇒ Object



254
255
256
# File 'lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb', line 254

def headers
    @headers
end

#status_code ⇒ Object



258
259
260
# File 'lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb', line 258

def status_code
    @status_code
end

#supporting_document_type ⇒ Object



250
251
252
# File 'lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb', line 250

def supporting_document_type
    @supporting_document_type_instance
end

#to_s ⇒ Object



262
263
264
# File 'lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb', line 262

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