Class: Twilio::REST::Numbers::V2::RegulatoryComplianceList::BundleInstanceMetadata

Inherits:
InstanceResourceMetadata show all
Defined in:
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, bundle_instance, headers, status_code) ⇒ BundleInstanceMetadata

Initializes a new BundleInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}BundleInstance]

    bundle_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



597
598
599
600
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 597

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

Instance Method Details

#bundleObject



602
603
604
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 602

def bundle
    @bundle_instance
end

#headersObject



606
607
608
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 606

def headers
    @headers
end

#status_codeObject



610
611
612
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 610

def status_code
    @status_code
end

#to_sObject



614
615
616
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 614

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