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
1063 1064 1065 1066 |
# File 'lib/vers_sdk/models.rb', line 1063 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
1068 1069 1070 1071 1072 |
# File 'lib/vers_sdk/models.rb', line 1068 def to_h { "repositories" => @list_repositories_response, } end |
#to_json(*args) ⇒ Object
1074 1075 1076 |
# File 'lib/vers_sdk/models.rb', line 1074 def to_json(*args) to_h.to_json(*args) end |