@@ -18,6 +18,7 @@ package ah
1818
1919import (
2020 "context"
21+ "encoding/json"
2122 "fmt"
2223 "net/http"
2324)
@@ -33,19 +34,19 @@ type Volume struct {
3334 DatacenterIDs []string `json:"datacenter_ids,omitempty"`
3435 ReplicationLevel int `json:"replication_level,omitempty"`
3536 } `json:"volume_pool,omitempty"`
36- ID string `json:"id ,omitempty"`
37- Name string `json:"name ,omitempty"`
38- Meta map [ string ] interface {} `json:"meta ,omitempty"`
39- FileSystem string `json:"file_system,omitempty"`
40- State string `json:"state,omitempty"`
41- Number string `json:"number,omitempty"`
42- OriginalID string `json:"original_id,omitempty"`
43- CreatedAt string `json:"created_at,omitempty"`
44- AttachedAt string `json:"attached_at,omitempty"`
45- ProductID string `json:"product_id,omitempty"`
46- Size int `json:"size,omitempty"`
47- Port int `json:"port,omitempty"`
48- PlanID int `json:"plan_id,omitempty"`
37+ Meta json. RawMessage `json:"meta ,omitempty"`
38+ ID string `json:"id ,omitempty"`
39+ Name string `json:"name ,omitempty"`
40+ FileSystem string `json:"file_system,omitempty"`
41+ State string `json:"state,omitempty"`
42+ Number string `json:"number,omitempty"`
43+ OriginalID string `json:"original_id,omitempty"`
44+ CreatedAt string `json:"created_at,omitempty"`
45+ AttachedAt string `json:"attached_at,omitempty"`
46+ ProductID string `json:"product_id,omitempty"`
47+ Size int `json:"size,omitempty"`
48+ Port int `json:"port,omitempty"`
49+ PlanID int `json:"plan_id,omitempty"`
4950}
5051
5152// VolumeAction object
0 commit comments