Class: SirvRestApi::BatchZipResult

Inherits:
Object
  • Object
show all
Defined in:
lib/sirv_rest_api/models.rb

Overview

Batch ZIP result

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ BatchZipResult

Returns a new instance of BatchZipResult.



245
246
247
248
249
# File 'lib/sirv_rest_api/models.rb', line 245

def initialize(data = {})
  @job_id = data["jobId"]
  @status = data["status"]
  @filename = data["filename"]
end

Instance Attribute Details

#filenameObject

Returns the value of attribute filename.



243
244
245
# File 'lib/sirv_rest_api/models.rb', line 243

def filename
  @filename
end

#job_idObject

Returns the value of attribute job_id.



243
244
245
# File 'lib/sirv_rest_api/models.rb', line 243

def job_id
  @job_id
end

#statusObject

Returns the value of attribute status.



243
244
245
# File 'lib/sirv_rest_api/models.rb', line 243

def status
  @status
end