openmeter / subscription /phase.go
Leon4gr45's picture
Upload folder using huggingface_hub (part 7)
16cdcb7 verified
Raw
History Blame Contribute Delete
632 Bytes
package subscription
import (
"time"
"github.com/openmeterio/openmeter/pkg/models"
)
type SubscriptionPhase struct {
models.NamespacedID `json:",inline"`
models.ManagedModel `json:",inline"`
models.MetadataModel `json:",inline"`
ActiveFrom time.Time `json:"activeFrom"`
// SubscriptionID is the ID of the subscription this phase belongs to.
SubscriptionID string `json:"subscriptionId"`
// Key is the unique key for Phase.
Key string `json:"key"`
// Name
Name string `json:"name"`
// Description
Description *string `json:"description,omitempty"`
// SortHint
SortHint *uint8 `json:"sortHint,omitempty"`
}