PricingItem is one result row from the pricing API.
| 93 | |
| 94 | // PricingItem is one result row from the pricing API. |
| 95 | type PricingItem struct { |
| 96 | Product string `json:"product"` |
| 97 | Provider string `json:"provider"` |
| 98 | Region string `json:"region"` |
| 99 | Attributes map[string]*AttrValue `json:"attributes"` |
| 100 | Prices []Price `json:"prices"` |
| 101 | MinPrice *AttrValue `json:"minPrice,omitempty"` |
| 102 | MaxPrice *AttrValue `json:"maxPrice,omitempty"` |
| 103 | } |
| 104 | |
| 105 | // PricingAPIResponse is the top-level response from POST /pricing. |
| 106 | type PricingAPIResponse struct { |
nothing calls this directly
no outgoing calls
no test coverage detected