mirror of
https://github.com/Telecominfraproject/ols-ucentral-client.git
synced 2026-01-27 10:21:46 +00:00
21 lines
524 B
Go
21 lines
524 B
Go
package main
|
|
|
|
type CMDScriptDeviceResponse struct {
|
|
Jsonrpc string `json:"jsonrpc"`
|
|
Id int `json:"id"`
|
|
Result CMDScriptResult `json:"result"`
|
|
}
|
|
|
|
type CMDScriptResult struct {
|
|
Serial string `json:"serial"`
|
|
Uuid int `json:"uuid"`
|
|
Status CMDScriptStatus `json:"status"`
|
|
}
|
|
|
|
type CMDScriptStatus struct {
|
|
Err uint `json:"error"`
|
|
Result64 string `json:"result_64,omitempty"`
|
|
ResultSZ uint `json:"result_sz,omitempty"`
|
|
Result string `json:"result,omitempty"`
|
|
}
|