Class: Twilio::REST::Bulkexports::V1::ExportInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, export_instance, headers, status_code) ⇒ ExportInstanceMetadata

Initializes a new ExportInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}ExportInstance]

    export_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



174
175
176
177
# File 'lib/twilio-ruby/rest/bulkexports/v1/export.rb', line 174

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

Instance Method Details

#exportObject



179
180
181
# File 'lib/twilio-ruby/rest/bulkexports/v1/export.rb', line 179

def export
    @export_instance
end

#headersObject



183
184
185
# File 'lib/twilio-ruby/rest/bulkexports/v1/export.rb', line 183

def headers
    @headers
end

#status_codeObject



187
188
189
# File 'lib/twilio-ruby/rest/bulkexports/v1/export.rb', line 187

def status_code
    @status_code
end

#to_sObject



191
192
193
# File 'lib/twilio-ruby/rest/bulkexports/v1/export.rb', line 191

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