| @@ -158,24 +158,24 @@ type ResourceDetail struct { | |||||
| CostPerUnit float64 `json:"costPerUnit"` | CostPerUnit float64 `json:"costPerUnit"` | ||||
| CostType string `json:"costType"` | CostType string `json:"costType"` | ||||
| Tag string `json:"tag"` | Tag string `json:"tag"` | ||||
| UserID cdssdk.UserID `json:"userId"` | |||||
| UserID string `json:"userId"` | |||||
| CreateTime string `json:"createTime"` | CreateTime string `json:"createTime"` | ||||
| UpdateTime string `json:"updateTime"` | UpdateTime string `json:"updateTime"` | ||||
| BaseResourceSpecs []ResourceSpec `json:"baseResourceSpecs"` | BaseResourceSpecs []ResourceSpec `json:"baseResourceSpecs"` | ||||
| } | } | ||||
| type ResourceSpec struct { | type ResourceSpec struct { | ||||
| ID DataID `json:"id"` | |||||
| ResourceSpecId DataID `json:"resourceSpecId"` | |||||
| Type ResourceType `json:"type"` | |||||
| Name string `json:"name"` | |||||
| TotalValue float64 `json:"totalValue"` | |||||
| TotalUnit string `json:"totalUnit"` | |||||
| AvailableValue float64 `json:"availableValue"` | |||||
| AvailableUnit string `json:"availableUnit"` | |||||
| UserID cdssdk.UserID `json:"userId"` | |||||
| CreateTime string `json:"createTime"` | |||||
| UpdateTime string `json:"updateTime"` | |||||
| ID DataID `json:"id"` | |||||
| ResourceSpecId DataID `json:"resourceSpecId"` | |||||
| Type ResourceType `json:"type"` | |||||
| Name string `json:"name"` | |||||
| TotalValue float64 `json:"totalValue"` | |||||
| TotalUnit string `json:"totalUnit"` | |||||
| AvailableValue float64 `json:"availableValue"` | |||||
| AvailableUnit string `json:"availableUnit"` | |||||
| UserID string `json:"userId"` | |||||
| CreateTime string `json:"createTime"` | |||||
| UpdateTime string `json:"updateTime"` | |||||
| } | } | ||||
| type ResourceData interface { | type ResourceData interface { | ||||