@@ -10,7 +10,7 @@ import (
1010
1111// InstanceBackupsResponse response struct for backup snapshot
1212type InstanceBackupsResponse struct {
13- Automatic []* InstanceSnapshot `json:"automatic"`
13+ Automatic []InstanceSnapshot `json:"automatic"`
1414 Snapshot * InstanceBackupSnapshotResponse `json:"snapshot"`
1515}
1616
@@ -32,16 +32,16 @@ type RestoreInstanceOptions struct {
3232
3333// InstanceSnapshot represents a linode backup snapshot
3434type InstanceSnapshot struct {
35- ID int `json:"id"`
36- Label string `json:"label"`
37- Status InstanceSnapshotStatus `json:"status"`
38- Type string `json:"type"`
39- Created * time.Time `json:"-"`
40- Updated * time.Time `json:"-"`
41- Finished * time.Time `json:"-"`
42- Configs []string `json:"configs"`
43- Disks []* InstanceSnapshotDisk `json:"disks"`
44- Available bool `json:"available"`
35+ ID int `json:"id"`
36+ Label string `json:"label"`
37+ Status InstanceSnapshotStatus `json:"status"`
38+ Type string `json:"type"`
39+ Created * time.Time `json:"-"`
40+ Updated * time.Time `json:"-"`
41+ Finished * time.Time `json:"-"`
42+ Configs []string `json:"configs"`
43+ Disks []InstanceSnapshotDisk `json:"disks"`
44+ Available bool `json:"available"`
4545}
4646
4747// InstanceSnapshotDisk fields represent the source disk of a Snapshot
0 commit comments