DisplayFormat - Go SDK

DisplayFormat type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with $)

Example Usage

1import (
2 "github.com/OpenRouterTeam/go-sdk/models/operations"
3)
4
5value := operations.DisplayFormatNumber
6
7// Open enum: custom values can be created with a direct type cast
8custom := operations.DisplayFormat("custom_value")

Values

NameValue
DisplayFormatNumbernumber
DisplayFormatCurrencycurrency
DisplayFormatPercentpercent
DisplayFormatLatencylatency
DisplayFormatThroughputthroughput