v1.2.0
This commit is contained in:
@@ -11,11 +11,11 @@ import (
|
||||
type SnapshotRollbackRequest struct {
|
||||
// ID of the compute instance
|
||||
// Required: true
|
||||
ComputeID uint64 `url:"computeId"`
|
||||
ComputeID uint64 `url:"computeId" json:"computeId"`
|
||||
|
||||
// Text label of snapshot to rollback
|
||||
// Required: true
|
||||
Label string `url:"label"`
|
||||
Label string `url:"label" json:"label"`
|
||||
}
|
||||
|
||||
func (crq SnapshotRollbackRequest) validate() error {
|
||||
|
||||
Reference in New Issue
Block a user