add code for VmBeingModified endpoint
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
import (
|
||||
"encoding/json"
|
||||
"time"
|
||||
)
|
||||
|
||||
type CloudEventReceived struct {
|
||||
CloudEvent struct {
|
||||
@@ -55,10 +58,12 @@ type CloudEventReceived struct {
|
||||
Value string `json:"Value"`
|
||||
} `json:"Vm"`
|
||||
} `json:"Vm"`
|
||||
ConfigSpec any `json:"configSpec"`
|
||||
ConfigChanges struct {
|
||||
Modified string `json:"modified"`
|
||||
} `json:"configChanges"`
|
||||
ConfigSpec *json.RawMessage `json:"configSpec"`
|
||||
ConfigChanges ConfigChangesReceived `json:"configChanges"`
|
||||
} `json:"data"`
|
||||
} `json:"cloudEvent"`
|
||||
}
|
||||
|
||||
type ConfigChangesReceived struct {
|
||||
Modified string `json:"modified"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user