We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cbc8bc commit 64a09adCopy full SHA for 64a09ad
1 file changed
upcloud/storage.go
@@ -1,6 +1,9 @@
1
package upcloud
2
3
-import "encoding/xml"
+import (
4
+ "encoding/xml"
5
+ "time"
6
+)
7
8
// Constants
9
const (
@@ -54,6 +57,9 @@ type Storage struct {
54
57
Type string `xml:"type"`
55
58
UUID string `xml:"uuid"`
56
59
Zone string `xml:"zone"`
60
+ // Only for type "backup":
61
+ Origin string `xml:"origin"`
62
+ Created time.Time `xml:"created"`
63
}
64
65
// StorageDetails represents detailed information about a piece of storage
0 commit comments