Class: SirvRestApi::BatchDeleteResult
- Inherits:
-
Object
- Object
- SirvRestApi::BatchDeleteResult
- Defined in:
- lib/sirv_rest_api/models.rb
Overview
Batch delete result
Instance Attribute Summary collapse
-
#job_id ⇒ Object
Returns the value of attribute job_id.
-
#results ⇒ Object
Returns the value of attribute results.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ BatchDeleteResult
constructor
A new instance of BatchDeleteResult.
Constructor Details
#initialize(data = {}) ⇒ BatchDeleteResult
Returns a new instance of BatchDeleteResult.
234 235 236 237 238 |
# File 'lib/sirv_rest_api/models.rb', line 234 def initialize(data = {}) @job_id = data["jobId"] @status = data["status"] @results = data["results"] end |
Instance Attribute Details
#job_id ⇒ Object
Returns the value of attribute job_id.
232 233 234 |
# File 'lib/sirv_rest_api/models.rb', line 232 def job_id @job_id end |
#results ⇒ Object
Returns the value of attribute results.
232 233 234 |
# File 'lib/sirv_rest_api/models.rb', line 232 def results @results end |
#status ⇒ Object
Returns the value of attribute status.
232 233 234 |
# File 'lib/sirv_rest_api/models.rb', line 232 def status @status end |