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.



621
622
623
624
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 621

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

Instance Method Details

#bundle ⇒ Object



626
627
628
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 626

def bundle
    @bundle_instance
end

#headers ⇒ Object



630
631
632
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 630

def headers
    @headers
end

#status_code ⇒ Object



634
635
636
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 634

def status_code
    @status_code
end

#to_s ⇒ Object



638
639
640
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 638

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