This commit is contained in:
Alexander Baranov
2020-09-02 20:45:27 +03:00
parent 4fb04abbfe
commit c8e11921ef
3 changed files with 9 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ import (
"net/http"
)
// Engine struct represents engine from OpenAPI API
type Engine struct {
ID string `json:"id"`
Object string `json:"object"`
@@ -13,6 +14,7 @@ type Engine struct {
Ready bool `json:"ready"`
}
// EnginesList is a list of engines
type EnginesList struct {
Engines []Engine `json:"data"`
}