JSONPriceEntry is one pricing option for JSON output.
| 22 | |
| 23 | // JSONPriceEntry is one pricing option for JSON output. |
| 24 | type JSONPriceEntry struct { |
| 25 | Model string `json:"model"` |
| 26 | PurchaseOption string `json:"purchase_option,omitempty"` |
| 27 | Term string `json:"term,omitempty"` |
| 28 | UpfrontFee string `json:"upfront_fee,omitempty"` |
| 29 | RatePerHr string `json:"rate_per_hr"` |
| 30 | Unit string `json:"unit"` |
| 31 | IsCurrent bool `json:"is_current"` |
| 32 | Tiers []JSONTier `json:"tiers,omitempty"` |
| 33 | } |
| 34 | |
| 35 | // JSONResource is one resource entry for JSON output. |
| 36 | type JSONResource struct { |
nothing calls this directly
no outgoing calls
no test coverage detected