Class: VersSdk::CreateBaseImageResponse
- Inherits:
-
Object
- Object
- VersSdk::CreateBaseImageResponse
- Defined in:
- lib/vers_sdk/models.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_json(json_str) ⇒ Object
435 436 437 438 |
# File 'lib/vers_sdk/models.rb', line 435 def self.from_json(json_str) obj = json_str.is_a?(String) ? JSON.parse(json_str) : json_str new(obj) end |
Instance Method Details
#to_h ⇒ Object
440 441 442 443 444 445 446 |
# File 'lib/vers_sdk/models.rb', line 440 def to_h { "image_name" => @create_base_image_response, "job_id" => @create_base_image_response, "status" => @create_base_image_response, } end |
#to_json(*args) ⇒ Object
448 449 450 |
# File 'lib/vers_sdk/models.rb', line 448 def to_json(*args) to_h.to_json(*args) end |