Class: VersSdk::ListRepositoriesResponse
- Inherits:
-
Object
- Object
- VersSdk::ListRepositoriesResponse
- Defined in:
- lib/vers_sdk/models.rb
Overview
Response body for GET /api/v1/repositories
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_json(json_str) ⇒ Object
657 658 659 660 |
# File 'lib/vers_sdk/models.rb', line 657 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
662 663 664 665 666 |
# File 'lib/vers_sdk/models.rb', line 662 def to_h { "repositories" => @list_repositories_response, } end |
#to_json(*args) ⇒ Object
668 669 670 |
# File 'lib/vers_sdk/models.rb', line 668 def to_json(*args) to_h.to_json(*args) end |