MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / Price

Struct Price

internal/api/models.go:84–92  ·  view source on GitHub ↗

Price is a single pricing model entry.

Source from the content-addressed store, hash-verified

82
83// Price is a single pricing model entry.
84type Price struct {
85 Rates []PriceRate `json:"rates,omitempty"`
86 PricingModel *string `json:"pricingModel,omitempty"`
87 UpfrontFee *AttrValue `json:"upfrontFee,omitempty"`
88 Year *AttrValue `json:"year,omitempty"`
89 Unit *string `json:"unit,omitempty"`
90 PurchaseOption *string `json:"purchaseOption,omitempty"`
91 InterruptionMaxPct *AttrValue `json:"interruptionMaxPct,omitempty"`
92}
93
94// PricingItem is one result row from the pricing API.
95type PricingItem struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected